Fraxinus  17.12-rc4
An IGT application
cx::MetricManager Class Reference

#include <cxMetricManager.h>

Inheritance diagram for cx::MetricManager:

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)
 
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)
 
void importMetricsFromMNITagFile (QString &filename, bool testmode=false)
 Note: testmode is available to skip dialog popup for running automatic tests. More...
 
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")
 

Detailed Description

Date
2014-02-17
Author
christiana

Definition at line 57 of file cxMetricManager.h.

Constructor & Destructor Documentation

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

Definition at line 76 of file cxMetricManager.cpp.

Member Function Documentation

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

Definition at line 294 of file cxMetricManager.cpp.

void cx::MetricManager::addCustomButtonClickedSlot ( )
slot

Definition at line 349 of file cxMetricManager.cpp.

DistanceMetricPtr cx::MetricManager::addDistance ( QString  uid = "distance%1")

Definition at line 164 of file cxMetricManager.cpp.

void cx::MetricManager::addDistanceButtonClickedSlot ( )
slot

Definition at line 289 of file cxMetricManager.cpp.

void cx::MetricManager::addDonutButtonClickedSlot ( )
slot

Definition at line 338 of file cxMetricManager.cpp.

void cx::MetricManager::addFrameButtonClickedSlot ( )
slot

Definition at line 210 of file cxMetricManager.cpp.

void cx::MetricManager::addPlaneButtonClickedSlot ( )
slot

Definition at line 240 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 149 of file cxMetricManager.cpp.

void cx::MetricManager::addPointButtonClickedSlot ( )
slot

Definition at line 178 of file cxMetricManager.cpp.

void cx::MetricManager::addROIButtonClickedSlot ( )
slot

Definition at line 282 of file cxMetricManager.cpp.

void cx::MetricManager::addSphereButtonClickedSlot ( )
slot

Definition at line 328 of file cxMetricManager.cpp.

void cx::MetricManager::addToolButtonClickedSlot ( )
slot

Definition at line 224 of file cxMetricManager.cpp.

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

Definition at line 400 of file cxMetricManager.cpp.

QString cx::MetricManager::getActiveUid ( ) const
inline

Definition at line 68 of file cxMetricManager.h.

DataMetricPtr cx::MetricManager::getMetric ( QString  uid)

Definition at line 87 of file cxMetricManager.cpp.

int cx::MetricManager::getNumberOfMetrics ( ) const

Definition at line 94 of file cxMetricManager.cpp.

void cx::MetricManager::importMetricsFromMNITagFile ( QString &  filename,
bool  testmode = false 
)

Note: testmode is available to skip dialog popup for running automatic tests.

Definition at line 567 of file cxMetricManager.cpp.

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

Definition at line 471 of file cxMetricManager.cpp.

void cx::MetricManager::loadReferencePointsSlot ( )
slot

Definition at line 373 of file cxMetricManager.cpp.

void cx::MetricManager::metricsChanged ( )
signal
void cx::MetricManager::moveToMetric ( QString  uid)

Definition at line 123 of file cxMetricManager.cpp.

void cx::MetricManager::setActiveUid ( QString  uid)

Definition at line 117 of file cxMetricManager.cpp.

void cx::MetricManager::setSelection ( std::set< QString >  selection)

Definition at line 112 of file cxMetricManager.cpp.


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