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);
50 void importMetricsFromMNITagFile(QString& filename,
bool testmode=
false);
55 void activeMetricChanged();
56 void metricsChanged();
59 void loadReferencePointsSlot();
60 void addPointButtonClickedSlot();
61 void addFrameButtonClickedSlot();
62 void addToolButtonClickedSlot();
63 void addPlaneButtonClickedSlot();
64 void addAngleButtonClickedSlot();
65 void addDistanceButtonClickedSlot();
66 void addSphereButtonClickedSlot();
67 void addDonutButtonClickedSlot();
68 void addCustomButtonClickedSlot();
69 void addROIButtonClickedSlot();
79 void setManualToolPosition(
Vector3D p_r);
80 std::vector<DataPtr> refinePointArguments(std::vector<DataPtr> args,
unsigned argNo);
81 std::vector<DataPtr> getSpecifiedNumberOfValidArguments(MetricReferenceArgumentListPtr arguments,
int numberOfRequiredArguments=-1);
84 std::vector<DataMetricPtr> getAllMetrics()
const;
85 DataPtr loadDataFromXMLNode(QDomElement node);
86 DataPtr createData(QString type, QString uid, QString name);
88 QString mActiveLandmark;
89 std::set<QString> mSelection;
94 QColor getRandomColor();
95 ImportMNIuserSettings dialogForSelectingVolumesForImportedMNITagFile(
int number_of_volumes, QString description);
96 void resolveUnknownParentSpacesForPointMetrics(QDomNode dataNode, std::map<QString, QString> mapping_of_unknown_to_known_spaces,
DataPtr data);
102 #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
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