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

#include <cxToolMetricWrapper.h>

Inheritance diagram for cx::ToolMetricWrapper:
cx::MetricBase

Public Member Functions

 ToolMetricWrapper (ViewServicePtr viewService, PatientModelServicePtr patientModelService, cx::ToolMetricPtr data)
 
virtual ~ToolMetricWrapper ()
 
virtual QWidget * createWidget ()
 
virtual QString getValue () const
 
virtual DataMetricPtr getData () const
 
virtual QString getArguments () const
 
virtual QString getType () const
 
virtual void update ()
 
- Public Member Functions inherited from cx::MetricBase
 MetricBase (ViewServicePtr viewService, PatientModelServicePtr patientModelService)
 
virtual ~MetricBase ()
 

Additional Inherited Members

- Protected Member Functions inherited from cx::MetricBase
void addColorWidget (QVBoxLayout *layout)
 
- Protected Attributes inherited from cx::MetricBase
ColorPropertyPtr mColorSelector
 
ViewServicePtr mViewService
 
PatientModelServicePtr mPatientModelService
 

Detailed Description

Date
Aug 30, 2013
Author
Ole Vegard Solberg, SINTEF
Christian Askeland, SINTEF

Definition at line 49 of file cxToolMetricWrapper.h.

Constructor & Destructor Documentation

cx::ToolMetricWrapper::ToolMetricWrapper ( ViewServicePtr  viewService,
PatientModelServicePtr  patientModelService,
cx::ToolMetricPtr  data 
)
explicit

Definition at line 46 of file cxToolMetricWrapper.cpp.

cx::ToolMetricWrapper::~ToolMetricWrapper ( )
virtual

Definition at line 56 of file cxToolMetricWrapper.cpp.

Member Function Documentation

QWidget * cx::ToolMetricWrapper::createWidget ( )
virtual

Implements cx::MetricBase.

Definition at line 61 of file cxToolMetricWrapper.cpp.

QString cx::ToolMetricWrapper::getArguments ( ) const
virtual

Implements cx::MetricBase.

Definition at line 139 of file cxToolMetricWrapper.cpp.

DataMetricPtr cx::ToolMetricWrapper::getData ( ) const
virtual

Implements cx::MetricBase.

Definition at line 129 of file cxToolMetricWrapper.cpp.

QString cx::ToolMetricWrapper::getType ( ) const
virtual

Implements cx::MetricBase.

Definition at line 134 of file cxToolMetricWrapper.cpp.

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

Reimplemented from cx::MetricBase.

Definition at line 124 of file cxToolMetricWrapper.cpp.

void cx::ToolMetricWrapper::update ( )
virtual

Implements cx::MetricBase.

Definition at line 182 of file cxToolMetricWrapper.cpp.


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