CustusX  16.5.0-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::MetricBase Class Referenceabstract

#include <cxDataMetricWrappers.h>

Inheritance diagram for cx::MetricBase:
cx::AngleMetricWrapper cx::DistanceMetricWrapper cx::DonutMetricWrapper cx::FrameMetricWrapper cx::PlaneMetricWrapper cx::PointMetricWrapper cx::SphereMetricWrapper cx::ToolMetricWrapper

Public Member Functions

 MetricBase (ViewServicePtr viewService, PatientModelServicePtr patientModelService)
 
virtual ~MetricBase ()
 
virtual QWidget * createWidget ()=0
 
virtual QString getValue () const
 
virtual DataMetricPtr getData () const =0
 
virtual QString getArguments () const =0
 
virtual QString getType () const =0
 
virtual void update ()=0
 

Protected Member Functions

void addColorWidget (QVBoxLayout *layout)
 

Protected Attributes

ColorPropertyPtr mColorSelector
 
ViewServicePtr mViewService
 
PatientModelServicePtr mPatientModelService
 

Detailed Description

Definition at line 69 of file cxDataMetricWrappers.h.

Constructor & Destructor Documentation

cx::MetricBase::MetricBase ( ViewServicePtr  viewService,
PatientModelServicePtr  patientModelService 
)

Definition at line 63 of file cxDataMetricWrappers.cpp.

virtual cx::MetricBase::~MetricBase ( )
inlinevirtual

Definition at line 74 of file cxDataMetricWrappers.h.

Member Function Documentation

void cx::MetricBase::addColorWidget ( QVBoxLayout *  layout)
protected

Definition at line 82 of file cxDataMetricWrappers.cpp.

QString cx::MetricBase::getValue ( ) const
virtual

Reimplemented in cx::FrameMetricWrapper, and cx::ToolMetricWrapper.

Definition at line 74 of file cxDataMetricWrappers.cpp.

Member Data Documentation

ColorPropertyPtr cx::MetricBase::mColorSelector
protected

Definition at line 85 of file cxDataMetricWrappers.h.

PatientModelServicePtr cx::MetricBase::mPatientModelService
protected

Definition at line 88 of file cxDataMetricWrappers.h.

ViewServicePtr cx::MetricBase::mViewService
protected

Definition at line 87 of file cxDataMetricWrappers.h.


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