Fraxinus  17.12-rc1
An IGT application
cx::MetricBase Class Referenceabstract

#include <cxDataMetricWrappers.h>

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

Public Member Functions

 MetricBase (VisServicesPtr services)
 
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)
 
QWidget * newWidget (QString objectName)
 

Protected Attributes

ColorPropertyPtr mColorSelector
 
VisServicesPtr mServices
 

Detailed Description

Definition at line 74 of file cxDataMetricWrappers.h.

Constructor & Destructor Documentation

cx::MetricBase::MetricBase ( VisServicesPtr  services)

Definition at line 63 of file cxDataMetricWrappers.cpp.

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

Definition at line 79 of file cxDataMetricWrappers.h.

Member Function Documentation

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

Definition at line 81 of file cxDataMetricWrappers.cpp.

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

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

Definition at line 73 of file cxDataMetricWrappers.cpp.

QWidget * cx::MetricBase::newWidget ( QString  objectName)
protected

Definition at line 94 of file cxDataMetricWrappers.cpp.

Member Data Documentation

ColorPropertyPtr cx::MetricBase::mColorSelector
protected

Definition at line 90 of file cxDataMetricWrappers.h.

VisServicesPtr cx::MetricBase::mServices
protected

Definition at line 93 of file cxDataMetricWrappers.h.


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