33 #ifndef CXMETRICMANAGER_H 34 #define CXMETRICMANAGER_H 36 #include "cxGuiExport.h" 64 int getNumberOfMetrics()
const;
65 void moveToMetric(QString uid);
66 void setSelection(std::set<QString> selection);
67 void setActiveUid(QString uid);
69 void exportMetricsToXMLFile(QString& filename);
70 void importMetricsFromXMLFile(QString& filename);
71 void importMetricsFromMNITagFile(QString& filename,
bool testmode=
false);
76 void activeMetricChanged();
77 void metricsChanged();
80 void loadReferencePointsSlot();
81 void addPointButtonClickedSlot();
82 void addFrameButtonClickedSlot();
83 void addToolButtonClickedSlot();
84 void addPlaneButtonClickedSlot();
85 void addAngleButtonClickedSlot();
86 void addDistanceButtonClickedSlot();
87 void addSphereButtonClickedSlot();
88 void addDonutButtonClickedSlot();
89 void addCustomButtonClickedSlot();
90 void addROIButtonClickedSlot();
93 void setManualToolPosition(
Vector3D p_r);
94 std::vector<DataPtr> refinePointArguments(std::vector<DataPtr> args,
unsigned argNo);
95 std::vector<DataPtr> getSpecifiedNumberOfValidArguments(MetricReferenceArgumentListPtr arguments,
int numberOfRequiredArguments=-1);
98 std::vector<DataMetricPtr> getAllMetrics()
const;
99 DataPtr loadDataFromXMLNode(QDomElement node);
100 DataPtr createData(QString type, QString uid, QString name);
102 QString mActiveLandmark;
103 std::set<QString> mSelection;
108 QColor getRandomColor();
109 std::vector<QString> dialogForSelectingVolumesForImportedMNITagFile(
int number_of_volumes, QString description);
110 void resolveUnknownParentSpacesForPointMetrics(QDomNode dataNode, std::map<QString, QString> mapping_of_unknown_to_known_spaces,
DataPtr data);
116 #endif // CXMETRICMANAGER_H boost::shared_ptr< class SpaceProvider > SpaceProviderPtr
boost::shared_ptr< class DistanceMetric > DistanceMetricPtr
boost::shared_ptr< DataMetric > DataMetricPtr
boost::shared_ptr< class TrackingService > TrackingServicePtr
csREF
the data reference space (r) using LPS (left-posterior-superior) coordinates.
boost::shared_ptr< class Data > DataPtr
boost::shared_ptr< class MetricManager > MetricManagerPtr
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
boost::shared_ptr< class MetricReferenceArgumentList > MetricReferenceArgumentListPtr
Identification of a Coordinate system.
QString getActiveUid() const
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
Namespace for all CustusX production code.
boost::shared_ptr< class PointMetric > PointMetricPtr