NorMIT-nav  22.09
An IGT application
cx::PlaneMetricRep Class Reference

Rep for visualizing a PlaneMetric. More...

#include <cxPlaneMetricRep.h>

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

Public Member Functions

virtual ~PlaneMetricRep ()
 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 PlaneMetricRepPtr 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 addRepActorsToViewRenderer (ViewPtr view)
 
virtual void removeRepActorsFromViewRenderer (ViewPtr view)
 
virtual void clear ()
 
virtual void onModifiedStartRender ()
 
- Protected Member Functions inherited from cx::DataMetricRep
 DataMetricRep ()
 
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 PlaneMetric.

Date
Jul 27, 2011
Author
Christian Askeland, SINTEF

Definition at line 36 of file cxPlaneMetricRep.h.

Constructor & Destructor Documentation

◆ ~PlaneMetricRep()

virtual cx::PlaneMetricRep::~PlaneMetricRep ( )
inlinevirtual

constructor

Definition at line 41 of file cxPlaneMetricRep.h.

Member Function Documentation

◆ addRepActorsToViewRenderer()

void cx::PlaneMetricRep::addRepActorsToViewRenderer ( ViewPtr  view)
protectedvirtual

Reimplemented from cx::DataMetricRep.

Definition at line 41 of file cxPlaneMetricRep.cpp.

◆ clear()

void cx::PlaneMetricRep::clear ( )
protectedvirtual

Reimplemented from cx::DataMetricRep.

Definition at line 35 of file cxPlaneMetricRep.cpp.

◆ getType()

virtual QString cx::PlaneMetricRep::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 43 of file cxPlaneMetricRep.h.

◆ New()

PlaneMetricRepPtr cx::PlaneMetricRep::New ( const QString &  uid = "")
static

Definition at line 24 of file cxPlaneMetricRep.cpp.

◆ onModifiedStartRender()

void cx::PlaneMetricRep::onModifiedStartRender ( )
protectedvirtual

Reimplemented from cx::RepImpl.

Definition at line 58 of file cxPlaneMetricRep.cpp.

◆ removeRepActorsFromViewRenderer()

void cx::PlaneMetricRep::removeRepActorsFromViewRenderer ( ViewPtr  view)
protectedvirtual

Reimplemented from cx::DataMetricRep.

Definition at line 47 of file cxPlaneMetricRep.cpp.


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