CustusX  2023.01.05-dev+develop.0da12
An IGT application
cx::RegionOfInterestMetricRep Class Reference

Rep for visualizing a RegionOfInterestMetric. More...

#include <cxRegionOfInterestMetricRep.h>

Inheritance diagram for cx::RegionOfInterestMetricRep:
cx::DataMetricRep cx::RepImpl cx::Rep

Public Member Functions

virtual ~RegionOfInterestMetricRep ()
 constructor More...
 
virtual QString getType () const
 
- Public Member Functions inherited from cx::DataMetricRep
virtual ~DataMetricRep ()
 
void setGraphicsSize (double size)
 
void setLabelSize (double size)
 
void setShowLabel (bool on)
 
void setShowAnnotation (bool on)
 
void setDataMetric (DataMetricPtr value)
 
DataMetricPtr getDataMetric ()
 
- Public Member Functions inherited from cx::RepImpl
 RepImpl (const QString &uid="", const QString &name="")
 
virtual ~RepImpl ()
 
virtual void connectToView (ViewPtr theView)
 
virtual void disconnectFromView (ViewPtr theView)
 
virtual bool isConnectedToView (ViewPtr theView) const
 
void setName (QString name)
 
QString getName () const
 
QString getUid () const
 
virtual void printSelf (std::ostream &os, Indent indent)
 
- Public Member Functions inherited from cx::Rep
virtual ~Rep ()
 

Static Public Member Functions

static RegionOfInterestMetricRepPtr New (const QString &uid="")
 
- Static Public Member Functions inherited from cx::RepImpl
template<class REP >
static boost::shared_ptr< REP > wrap_new (REP *object, QString uid)
 

Protected Member Functions

virtual void clear ()
 
virtual void onModifiedStartRender ()
 
- Protected Member Functions inherited from cx::DataMetricRep
 DataMetricRep ()
 
void addRepActorsToViewRenderer (ViewPtr view)
 
void removeRepActorsFromViewRenderer (ViewPtr view)
 
void drawText ()
 
virtual QString getText ()
 
Vector3D getColorAsVector3D () const
 
- Protected Member Functions inherited from cx::RepImpl
ViewPtr getView () const
 
vtkRendererPtr getRenderer ()
 
RepPtr getSelf ()
 
virtual void onEveryRender ()
 

Additional Inherited Members

- Protected Slots inherited from cx::RepImpl
void setModified ()
 
- Protected Attributes inherited from cx::DataMetricRep
double mGraphicsSize
 
bool mShowLabel
 
double mLabelSize
 
bool mShowAnnotation
 
DataMetricPtr mMetric
 

Detailed Description

Rep for visualizing a RegionOfInterestMetric.

Definition at line 37 of file cxRegionOfInterestMetricRep.h.

Constructor & Destructor Documentation

virtual cx::RegionOfInterestMetricRep::~RegionOfInterestMetricRep ( )
inlinevirtual

constructor

Definition at line 42 of file cxRegionOfInterestMetricRep.h.

Member Function Documentation

void cx::RegionOfInterestMetricRep::clear ( )
protectedvirtual

Reimplemented from cx::DataMetricRep.

Definition at line 38 of file cxRegionOfInterestMetricRep.cpp.

virtual QString cx::RegionOfInterestMetricRep::getType ( ) const
inlinevirtual
Returns
a string identifying the Rep type. Each suclass implement this with its own class name. Subclasses from other namespaces (such as cx and snw) should add that namespace as a prefix.

Implements cx::RepImpl.

Definition at line 44 of file cxRegionOfInterestMetricRep.h.

RegionOfInterestMetricRepPtr cx::RegionOfInterestMetricRep::New ( const QString &  uid = "")
static

Definition at line 29 of file cxRegionOfInterestMetricRep.cpp.

void cx::RegionOfInterestMetricRep::onModifiedStartRender ( )
protectedvirtual

Reimplemented from cx::RepImpl.

Definition at line 49 of file cxRegionOfInterestMetricRep.cpp.


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