NorMIT-nav  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

◆ MetricManager()

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

Definition at line 53 of file cxMetricManager.cpp.

Member Function Documentation

◆ activeMetricChanged

void cx::MetricManager::activeMetricChanged ( )
signal

◆ addAngleButtonClickedSlot

void cx::MetricManager::addAngleButtonClickedSlot ( )
slot

Definition at line 276 of file cxMetricManager.cpp.

◆ addCustomButtonClickedSlot

void cx::MetricManager::addCustomButtonClickedSlot ( )
slot

Definition at line 331 of file cxMetricManager.cpp.

◆ addDistance()

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

Definition at line 146 of file cxMetricManager.cpp.

◆ addDistanceButtonClickedSlot

void cx::MetricManager::addDistanceButtonClickedSlot ( )
slot

Definition at line 271 of file cxMetricManager.cpp.

◆ addDonutButtonClickedSlot

void cx::MetricManager::addDonutButtonClickedSlot ( )
slot

Definition at line 320 of file cxMetricManager.cpp.

◆ addFrameButtonClickedSlot

void cx::MetricManager::addFrameButtonClickedSlot ( )
slot

Definition at line 192 of file cxMetricManager.cpp.

◆ addPlaneButtonClickedSlot

void cx::MetricManager::addPlaneButtonClickedSlot ( )
slot

Definition at line 222 of file cxMetricManager.cpp.

◆ addPoint()

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.

◆ addPointButtonClickedSlot

void cx::MetricManager::addPointButtonClickedSlot ( )
slot

Definition at line 160 of file cxMetricManager.cpp.

◆ addROIButtonClickedSlot

void cx::MetricManager::addROIButtonClickedSlot ( )
slot

Definition at line 264 of file cxMetricManager.cpp.

◆ addSphereButtonClickedSlot

void cx::MetricManager::addSphereButtonClickedSlot ( )
slot

Definition at line 310 of file cxMetricManager.cpp.

◆ addToolButtonClickedSlot

void cx::MetricManager::addToolButtonClickedSlot ( )
slot

Definition at line 206 of file cxMetricManager.cpp.

◆ exportMetricsToXMLFile()

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

Definition at line 382 of file cxMetricManager.cpp.

◆ getActiveUid()

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

Definition at line 47 of file cxMetricManager.h.

◆ getMetric()

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

Definition at line 69 of file cxMetricManager.cpp.

◆ getNumberOfMetrics()

int cx::MetricManager::getNumberOfMetrics ( ) const

Definition at line 76 of file cxMetricManager.cpp.

◆ importMetricsFromXMLFile()

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

Definition at line 453 of file cxMetricManager.cpp.

◆ loadReferencePointsSlot

void cx::MetricManager::loadReferencePointsSlot ( )
slot

Definition at line 355 of file cxMetricManager.cpp.

◆ metricsChanged

void cx::MetricManager::metricsChanged ( )
signal

◆ moveToMetric()

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

Definition at line 105 of file cxMetricManager.cpp.

◆ setActiveUid()

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

Definition at line 99 of file cxMetricManager.cpp.

◆ setSelection()

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

Definition at line 94 of file cxMetricManager.cpp.

Member Data Documentation

◆ mUserSettings

ImportMNIuserSettings cx::MetricManager::mUserSettings
protected

Definition at line 75 of file cxMetricManager.h.


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