32 #ifndef CXDATAMETRICWRAPPERS_H_
33 #define CXDATAMETRICWRAPPERS_H_
35 #include "cxGuiExport.h"
75 virtual QWidget* createWidget() = 0;
76 virtual QString getValue()
const;
78 virtual QString getArguments()
const = 0;
79 virtual QString getType()
const = 0;
80 virtual void update() = 0;
86 void addColorWidget(QVBoxLayout* layout);
100 void addWidgets(QBoxLayout* layout);
101 QString getAsString()
const;
106 void pointSelected();
107 void dataChangedSlot();
110 std::vector<StringPropertyPtr> mPSelector;
111 bool mInternalUpdate;
113 void getAvailableArgumentMetrics(QStringList* uid, std::map<QString,QString>* namemap);
122 virtual QWidget* createWidget();
124 virtual QString getArguments()
const;
125 virtual QString getType()
const;
126 virtual void update();
129 void moveToToolPosition();
130 void spaceSelected();
131 void coordinateChanged();
134 QWidget* createSampleButton(QWidget* parent)
const;
140 bool mInternalUpdate;
149 virtual QWidget* createWidget();
151 virtual QString getArguments()
const;
152 virtual QString getType()
const;
153 virtual void update();
156 void dataChangedSlot();
160 bool mInternalUpdate;
169 virtual QWidget* createWidget();
171 virtual QString getArguments()
const;
172 virtual QString getType()
const;
173 virtual void update();
176 void dataChangedSlot();
180 bool mInternalUpdate;
190 virtual QWidget* createWidget();
192 virtual QString getArguments()
const;
193 virtual QString getType()
const;
194 virtual void update();
197 void dataChangedSlot();
204 bool mInternalUpdate;
215 virtual QWidget* createWidget();
218 virtual QString getArguments()
const;
219 virtual QString getType()
const;
220 virtual void update();
223 void dataChangedSlot();
237 bool mInternalUpdate;
248 virtual QWidget* createWidget();
251 virtual QString getArguments()
const;
252 virtual QString getType()
const;
253 virtual void update();
256 void dataChangedSlot();
264 bool mInternalUpdate;
boost::shared_ptr< class ColorProperty > ColorPropertyPtr
boost::shared_ptr< class DonutMetric > DonutMetricPtr
boost::shared_ptr< DataMetric > DataMetricPtr
virtual ~DonutMetricWrapper()
boost::shared_ptr< class SpaceProperty > SpacePropertyPtr
boost::shared_ptr< class SphereMetric > SphereMetricPtr
virtual ~DistanceMetricWrapper()
boost::shared_ptr< class AngleMetric > AngleMetricPtr
virtual ~SphereMetricWrapper()
ViewServicePtr mViewService
ColorPropertyPtr mColorSelector
boost::shared_ptr< class PlaneMetric > PlaneMetricPtr
PatientModelServicePtr mPatientModelService
boost::shared_ptr< class MetricBase > MetricBasePtr
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
boost::shared_ptr< class MetricReferenceArgumentList > MetricReferenceArgumentListPtr
boost::shared_ptr< class DistanceMetric > DistanceMetricPtr
boost::shared_ptr< class DoubleProperty > DoublePropertyPtr
cxLogicManager_EXPORT ViewServicePtr viewService()
boost::shared_ptr< class Vector3DProperty > Vector3DPropertyPtr
boost::shared_ptr< class BoolProperty > BoolPropertyPtr
boost::shared_ptr< class PointMetric > PointMetricPtr