CustusX
22.04-rc5
An IGT application
|
#include <cxMetricManager.h>
Classes | |
struct | ImportMNIuserSettings |
Public Slots | |
void | loadReferencePointsSlot () |
void | addPointButtonClickedSlot () |
void | addFrameButtonClickedSlot () |
void | addToolButtonClickedSlot () |
void | addPlaneButtonClickedSlot () |
void | addAngleButtonClickedSlot () |
void | addDistanceButtonClickedSlot () |
void | addSphereButtonClickedSlot () |
void | addDonutButtonClickedSlot () |
void | addCustomButtonClickedSlot () |
void | addROIButtonClickedSlot () |
Signals | |
void | activeMetricChanged () |
void | metricsChanged () |
Public Member Functions | |
MetricManager (ViewServicePtr viewService, PatientModelServicePtr patientModelService, TrackingServicePtr trackingService, SpaceProviderPtr spaceProvider, FileManagerServicePtr filemanager) | |
DataMetricPtr | getMetric (QString uid) |
int | getNumberOfMetrics () const |
void | moveToMetric (QString uid) |
void | setSelection (std::set< QString > selection) |
void | setActiveUid (QString uid) |
QString | getActiveUid () const |
void | exportMetricsToXMLFile (QString &filename) |
void | importMetricsFromXMLFile (QString &filename) |
PointMetricPtr | addPoint (Vector3D point, CoordinateSystem space=CoordinateSystem(csREF), QString uid="point%1", QColor color=QColor(240, 170, 255, 255)) |
DistanceMetricPtr | addDistance (QString uid="distance%1") |
Protected Attributes | |
ImportMNIuserSettings | mUserSettings |
Definition at line 36 of file cxMetricManager.h.
cx::MetricManager::MetricManager | ( | ViewServicePtr | viewService, |
PatientModelServicePtr | patientModelService, | ||
TrackingServicePtr | trackingService, | ||
SpaceProviderPtr | spaceProvider, | ||
FileManagerServicePtr | filemanager | ||
) |
Definition at line 53 of file cxMetricManager.cpp.
|
signal |
|
slot |
Definition at line 276 of file cxMetricManager.cpp.
|
slot |
Definition at line 331 of file cxMetricManager.cpp.
DistanceMetricPtr cx::MetricManager::addDistance | ( | QString | uid = "distance%1" | ) |
Definition at line 146 of file cxMetricManager.cpp.
|
slot |
Definition at line 271 of file cxMetricManager.cpp.
|
slot |
Definition at line 320 of file cxMetricManager.cpp.
|
slot |
Definition at line 192 of file cxMetricManager.cpp.
|
slot |
Definition at line 222 of file cxMetricManager.cpp.
PointMetricPtr cx::MetricManager::addPoint | ( | Vector3D | point, |
CoordinateSystem | space = CoordinateSystem(csREF) , |
||
QString | uid = "point%1" , |
||
QColor | color = QColor(240, 170, 255, 255) |
||
) |
Definition at line 131 of file cxMetricManager.cpp.
|
slot |
Definition at line 160 of file cxMetricManager.cpp.
|
slot |
Definition at line 264 of file cxMetricManager.cpp.
|
slot |
Definition at line 310 of file cxMetricManager.cpp.
|
slot |
Definition at line 206 of file cxMetricManager.cpp.
void cx::MetricManager::exportMetricsToXMLFile | ( | QString & | filename | ) |
Definition at line 382 of file cxMetricManager.cpp.
|
inline |
Definition at line 47 of file cxMetricManager.h.
DataMetricPtr cx::MetricManager::getMetric | ( | QString | uid | ) |
Definition at line 69 of file cxMetricManager.cpp.
int cx::MetricManager::getNumberOfMetrics | ( | ) | const |
Definition at line 76 of file cxMetricManager.cpp.
void cx::MetricManager::importMetricsFromXMLFile | ( | QString & | filename | ) |
Definition at line 453 of file cxMetricManager.cpp.
|
slot |
Definition at line 355 of file cxMetricManager.cpp.
|
signal |
void cx::MetricManager::moveToMetric | ( | QString | uid | ) |
Definition at line 105 of file cxMetricManager.cpp.
void cx::MetricManager::setActiveUid | ( | QString | uid | ) |
Definition at line 99 of file cxMetricManager.cpp.
void cx::MetricManager::setSelection | ( | std::set< QString > | selection | ) |
Definition at line 94 of file cxMetricManager.cpp.
|
protected |
Definition at line 75 of file cxMetricManager.h.