Fraxinus  18.10
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)
 
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")
 

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 
)

Definition at line 59 of file cxMetricManager.cpp.

Member Function Documentation

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

Definition at line 281 of file cxMetricManager.cpp.

void cx::MetricManager::addCustomButtonClickedSlot ( )
slot

Definition at line 336 of file cxMetricManager.cpp.

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

Definition at line 151 of file cxMetricManager.cpp.

void cx::MetricManager::addDistanceButtonClickedSlot ( )
slot

Definition at line 276 of file cxMetricManager.cpp.

void cx::MetricManager::addDonutButtonClickedSlot ( )
slot

Definition at line 325 of file cxMetricManager.cpp.

void cx::MetricManager::addFrameButtonClickedSlot ( )
slot

Definition at line 197 of file cxMetricManager.cpp.

void cx::MetricManager::addPlaneButtonClickedSlot ( )
slot

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

void cx::MetricManager::addPointButtonClickedSlot ( )
slot

Definition at line 165 of file cxMetricManager.cpp.

void cx::MetricManager::addROIButtonClickedSlot ( )
slot

Definition at line 269 of file cxMetricManager.cpp.

void cx::MetricManager::addSphereButtonClickedSlot ( )
slot

Definition at line 315 of file cxMetricManager.cpp.

void cx::MetricManager::addToolButtonClickedSlot ( )
slot

Definition at line 211 of file cxMetricManager.cpp.

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

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

int cx::MetricManager::getNumberOfMetrics ( ) const

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

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

Definition at line 458 of file cxMetricManager.cpp.

void cx::MetricManager::loadReferencePointsSlot ( )
slot

Definition at line 360 of file cxMetricManager.cpp.

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

Definition at line 110 of file cxMetricManager.cpp.

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

Definition at line 104 of file cxMetricManager.cpp.

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

Definition at line 99 of file cxMetricManager.cpp.

Member Data Documentation

ImportMNIuserSettings cx::MetricManager::mUserSettings
protected

Definition at line 76 of file cxMetricManager.h.


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