20 #ifndef _mtsMicronTrackerControllerQtComponent_h
21 #define _mtsMicronTrackerControllerQtComponent_h
37 class mtsMicronTrackerControllerQtWidget;
51 void AddTool(QObject * toolQtComponent, QWidget * toolQtWidget, QPoint * markerLeft, QPoint * markerRight);
54 return &CentralWidget;
58 static const unsigned int FrameWidth = 1024;
59 static const unsigned int FrameHeight = 768;
60 static const unsigned int FrameSize = FrameWidth * FrameHeight;
103 void PaintImage(QImage & frameIndexed8, QList<QPoint *> & markers);
104 void PaintImageWithXpoints(QImage & frameIndexed8, QList<QPoint *> & markers,
105 std::vector<vct3> & xpoints);
106 void MTCCalibratePivotQSlot(
void);
107 void MTCComputeCameraModelQSlot(
void);
108 void MTCTrackQSlot(
bool toggled);
109 void RecordQSlot(
bool toggled);
110 void ScreenshotQSlot(
void);
115 #endif // _mtsMicronTrackerControllerQDevice_h
Defines the command interfaces.
Defines a function object to use a void command (mtsCommandVoid)
#define CISST_EXPORT
Definition: cmnExportMacros.h:50
CMN_DECLARE_SERVICES_INSTANTIATION(mtsMicronTrackerControllerQtComponent)
Defines the command interfaces.
Definition: mtsFunctionRead.h:37
#define CMN_UNUSED(argument)
Definition: cmnPortability.h:479
QImage FrameIndexed8
Definition: mtsMicronTrackerControllerQtComponent.h:93
mtsUCharVec FrameLeft
Definition: mtsMicronTrackerControllerQtComponent.h:79
Ui::mtsMicronTrackerControllerQtWidget * ControllerWidget
Definition: mtsMicronTrackerControllerQtComponent.h:62
QWidget CentralWidget
Definition: mtsMicronTrackerControllerQtComponent.h:63
mtsFunctionRead GetFrameRight
Definition: mtsMicronTrackerControllerQtComponent.h:71
mtsFunctionVoid Start
Definition: mtsMicronTrackerControllerQtComponent.h:89
Definition: mtsFunctionVoid.h:36
mtsFunctionRead GetXPointsProjectionRight
Definition: mtsMicronTrackerControllerQtComponent.h:76
~mtsMicronTrackerControllerQtComponent(void)
Definition: mtsMicronTrackerControllerQtComponent.h:47
void Configure(const std::string &CMN_UNUSED(filename)="")
Definition: mtsMicronTrackerControllerQtComponent.h:49
Declaration of mtsComponent.
mtsFunctionWrite Track
Definition: mtsMicronTrackerControllerQtComponent.h:69
std::vector< vct3 > XPointsProjectionRight
Definition: mtsMicronTrackerControllerQtComponent.h:85
std::vector< vct3 > XPoints
Definition: mtsMicronTrackerControllerQtComponent.h:83
mtsFunctionRead GetXPointsMaxNum
Definition: mtsMicronTrackerControllerQtComponent.h:73
QList< QPoint * > MarkersLeft
Definition: mtsMicronTrackerControllerQtComponent.h:98
QPoint MarkerPosition
Definition: mtsMicronTrackerControllerQtComponent.h:96
Definition: mtsComponent.h:150
mtsFunctionWrite Capture
Definition: mtsMicronTrackerControllerQtComponent.h:68
mtsFunctionWrite ComputeCameraModel
Definition: mtsMicronTrackerControllerQtComponent.h:77
#define CMN_DECLARE_SERVICES(hasDynamicCreation, lod)
Definition: cmnClassRegisterMacros.h:116
QImage FrameRGB
Definition: mtsMicronTrackerControllerQtComponent.h:94
QList< QString > MarkerNames
Definition: mtsMicronTrackerControllerQtComponent.h:97
QList< QPoint * > MarkersRight
Definition: mtsMicronTrackerControllerQtComponent.h:99
QPainter MarkerPainter
Definition: mtsMicronTrackerControllerQtComponent.h:95
mtsFunctionVoid Stop
Definition: mtsMicronTrackerControllerQtComponent.h:90
mtsFunctionRead GetFrameLeft
Definition: mtsMicronTrackerControllerQtComponent.h:70
QTimer * Timer
Definition: mtsMicronTrackerControllerQtComponent.h:64
mtsFunctionWrite CalibratePivot
Definition: mtsMicronTrackerControllerQtComponent.h:67
int XPointsMaxNum
Definition: mtsMicronTrackerControllerQtComponent.h:82
std::vector< vct3 > XPointsProjectionLeft
Definition: mtsMicronTrackerControllerQtComponent.h:84
Definition: mtsFunctionWrite.h:37
mtsFunctionRead GetXPoints
Definition: mtsMicronTrackerControllerQtComponent.h:74
const int CMN_NO_DYNAMIC_CREATION
Definition: cmnClassRegisterMacros.h:328
mtsUCharVec FrameRight
Definition: mtsMicronTrackerControllerQtComponent.h:80
QWidget * GetWidget(void)
Definition: mtsMicronTrackerControllerQtComponent.h:53
Definition: mtsMicronTrackerControllerQtComponent.h:40
#define CMN_LOG_ALLOW_DEFAULT
Definition: cmnLogLoD.h:76
mtsFunctionRead GetXPointsProjectionLeft
Definition: mtsMicronTrackerControllerQtComponent.h:75