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);
80 std::vector<DataPtr> getSpecifiedNumberOfValidArguments(MetricReferenceArgumentListPtr arguments,
int numberOfRequiredArguments=-1);
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 boost::shared_ptr< class SpaceProvider > SpaceProviderPtr
boost::shared_ptr< class FileManagerService > FileManagerServicePtr
boost::shared_ptr< class DistanceMetric > DistanceMetricPtr
boost::shared_ptr< DataMetric > DataMetricPtr
boost::shared_ptr< class TrackingService > TrackingServicePtr
std::vector< QString > imageRefs
csREF
the data reference space (r) using LPS (left-posterior-superior) coordinates.
PATIENT_COORDINATE_SYSTEM coordSys
boost::shared_ptr< class Data > DataPtr
boost::shared_ptr< class MetricManager > MetricManagerPtr
ImportMNIuserSettings mUserSettings
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