cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
mtsMicronTrackerToolQtComponent.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /* ex: set filetype=cpp softtabstop=4 shiftwidth=4 tabstop=4 cindent expandtab: */
3 
4 /*
5 
6  Author(s): Ali Uneri
7  Created on: 2009-10-27
8 
9  (C) Copyright 2009-2012 Johns Hopkins University (JHU), All Rights Reserved.
10 
11 --- begin cisst license - do not edit ---
12 
13 This software is provided "as is" under an open source license, with
14 no warranty. The complete license can be found in license.txt and
15 http://www.cisst.org/cisst/license.txt.
16 
17 --- end cisst license ---
18 */
19 
20 #ifndef _mtsMicronTrackerToolQtComponent_h
21 #define _mtsMicronTrackerToolQtComponent_h
22 
23 #include <QObject>
24 #include <QWidget>
25 
30 #include <sawClaronMicronTracker/sawClaronMicronTrackerExportQt.h> // always include last
31 
32 namespace Ui {
33  class mtsMicronTrackerToolQtWidget;
34 }
35 
37 {
38  Q_OBJECT;
40 
41  public:
42  mtsMicronTrackerToolQtComponent(const std::string & taskName);
44 
45  void Configure(const std::string & CMN_UNUSED(filename) = "") {};
46 
47  QWidget * GetWidget(void) {
48  return &CentralWidget;
49  }
50  QPoint * GetMarkerProjectionLeft(void) {
51  return &MarkerProjectionLeft;
52  }
53  QPoint * GetMarkerProjectionRight(void) {
54  return &MarkerProjectionRight;
55  }
56 
57  protected:
58  Ui::mtsMicronTrackerToolQtWidget * ToolWidget;
59  QWidget CentralWidget;
60 
61  struct {
66 
71 
72  } MTC;
73 
76 
77 
78  public slots:
79  void UpdatePositionCartesian();
80  void RecordQSlot(void);
81 };
82 
84 
85 #endif // _mtsMicronTrackerToolQtComponent_h
Defines the command interfaces.
#define CISST_EXPORT
Definition: cmnExportMacros.h:50
CMN_DECLARE_SERVICES_INSTANTIATION(mtsMicronTrackerToolQtComponent)
mtsFunctionRead GetMarkerProjectionLeft
Definition: mtsMicronTrackerToolQtComponent.h:63
Definition: mtsFunctionRead.h:37
void Configure(const std::string &CMN_UNUSED(filename)="")
Definition: mtsMicronTrackerToolQtComponent.h:45
#define CMN_UNUSED(argument)
Definition: cmnPortability.h:479
mtsFunctionRead GetMarkerTemplateTrackingPositions
Definition: mtsMicronTrackerToolQtComponent.h:65
mtsFunctionRead GetMarkerProjectionRight
Definition: mtsMicronTrackerToolQtComponent.h:64
QWidget * GetWidget(void)
Definition: mtsMicronTrackerToolQtComponent.h:47
Definition: mtsMicronTrackerToolQtComponent.h:36
QWidget CentralWidget
Definition: mtsMicronTrackerToolQtComponent.h:59
Declaration of mtsComponent.
mtsFunctionRead GetPositionCartesian
Definition: mtsMicronTrackerToolQtComponent.h:62
QPoint * GetMarkerProjectionLeft(void)
Definition: mtsMicronTrackerToolQtComponent.h:50
QPoint MarkerProjectionLeft
Definition: mtsMicronTrackerToolQtComponent.h:74
QPoint * GetMarkerProjectionRight(void)
Definition: mtsMicronTrackerToolQtComponent.h:53
Ui::mtsMicronTrackerToolQtWidget * ToolWidget
Definition: mtsMicronTrackerToolQtComponent.h:58
mtsDoubleVec MarkerProjectionLeft
Definition: mtsMicronTrackerToolQtComponent.h:68
Definition: mtsComponent.h:150
~mtsMicronTrackerToolQtComponent(void)
Definition: mtsMicronTrackerToolQtComponent.h:43
QPoint MarkerProjectionRight
Definition: mtsMicronTrackerToolQtComponent.h:75
#define CMN_DECLARE_SERVICES(hasDynamicCreation, lod)
Definition: cmnClassRegisterMacros.h:116
std::vector< vct3 > MarkerTemplateTrackingPositions
Definition: mtsMicronTrackerToolQtComponent.h:70
mtsDoubleVec MarkerProjectionRight
Definition: mtsMicronTrackerToolQtComponent.h:69
const int CMN_NO_DYNAMIC_CREATION
Definition: cmnClassRegisterMacros.h:328
prmPositionCartesianGet PositionCartesian
Definition: mtsMicronTrackerToolQtComponent.h:67
#define CMN_LOG_ALLOW_DEFAULT
Definition: cmnLogLoD.h:76
Definition: prmPositionCartesianGet.h:37