CustusX  2023.01.05-dev+develop.0da12
An IGT application
cx::MetricManager Class Reference

#include <cxMetricManager.h>

Inheritance diagram for cx::MetricManager:

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
 

Detailed Description

Date
2014-02-17
Author
christiana

Definition at line 36 of file cxMetricManager.h.

Constructor & Destructor Documentation

cx::MetricManager::MetricManager ( ViewServicePtr  viewService,
PatientModelServicePtr  patientModelService,
TrackingServicePtr  trackingService,
SpaceProviderPtr  spaceProvider,
FileManagerServicePtr  filemanager 
)

Definition at line 53 of file cxMetricManager.cpp.

Member Function Documentation

void cx::MetricManager::activeMetricChanged ( )
signal
void cx::MetricManager::addAngleButtonClickedSlot ( )
slot

Definition at line 276 of file cxMetricManager.cpp.

void cx::MetricManager::addCustomButtonClickedSlot ( )
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.

void cx::MetricManager::addDistanceButtonClickedSlot ( )
slot

Definition at line 271 of file cxMetricManager.cpp.

void cx::MetricManager::addDonutButtonClickedSlot ( )
slot

Definition at line 320 of file cxMetricManager.cpp.

void cx::MetricManager::addFrameButtonClickedSlot ( )
slot

Definition at line 192 of file cxMetricManager.cpp.

void cx::MetricManager::addPlaneButtonClickedSlot ( )
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.

void cx::MetricManager::addPointButtonClickedSlot ( )
slot

Definition at line 160 of file cxMetricManager.cpp.

void cx::MetricManager::addROIButtonClickedSlot ( )
slot

Definition at line 264 of file cxMetricManager.cpp.

void cx::MetricManager::addSphereButtonClickedSlot ( )
slot

Definition at line 310 of file cxMetricManager.cpp.

void cx::MetricManager::addToolButtonClickedSlot ( )
slot

Definition at line 206 of file cxMetricManager.cpp.

void cx::MetricManager::exportMetricsToXMLFile ( QString &  filename)

Definition at line 382 of file cxMetricManager.cpp.

QString cx::MetricManager::getActiveUid ( ) const
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.

void cx::MetricManager::loadReferencePointsSlot ( )
slot

Definition at line 355 of file cxMetricManager.cpp.

void cx::MetricManager::metricsChanged ( )
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.

Member Data Documentation

ImportMNIuserSettings cx::MetricManager::mUserSettings
protected

Definition at line 75 of file cxMetricManager.h.


The documentation for this class was generated from the following files: