12 #ifndef CXMETRICMANAGER_H
13 #define CXMETRICMANAGER_H
15 #include "cxGuiExport.h"
43 int getNumberOfMetrics()
const;
44 void moveToMetric(QString uid);
45 void setSelection(std::set<QString> selection);
46 void setActiveUid(QString uid);
48 void exportMetricsToXMLFile(QString& filename);
49 void importMetricsFromXMLFile(QString& filename);
54 void activeMetricChanged();
55 void metricsChanged();
58 void loadReferencePointsSlot();
59 void addPointButtonClickedSlot();
60 void addFrameButtonClickedSlot();
61 void addToolButtonClickedSlot();
62 void addPlaneButtonClickedSlot();
63 void addAngleButtonClickedSlot();
64 void addDistanceButtonClickedSlot();
65 void addSphereButtonClickedSlot();
66 void addDonutButtonClickedSlot();
67 void addCustomButtonClickedSlot();
68 void addROIButtonClickedSlot();
78 void setManualToolPosition(
Vector3D p_r);
79 std::vector<DataPtr> refinePointArguments(std::vector<DataPtr> args,
unsigned argNo);
83 std::vector<DataMetricPtr> getAllMetrics()
const;
84 DataPtr loadDataFromXMLNode(QDomElement node);
85 DataPtr createData(QString type, QString uid, QString name);
87 QString mActiveLandmark;
88 std::set<QString> mSelection;
96 QColor getRandomColor();
97 ImportMNIuserSettings dialogForSelectingVolumesForImportedMNITagFile(
int number_of_volumes, QString description);
98 void resolveUnknownParentSpacesForPointMetrics(QDomNode dataNode, std::map<QString, QString> mapping_of_unknown_to_known_spaces,
DataPtr data);
104 #endif // CXMETRICMANAGER_H