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

Base class for all Data Metric reps. More...

#include <cxDataMetricRep.h>

Inheritance diagram for cx::DataMetricRep:
cx::RepImpl cx::Rep cx::AngleMetricRep cx::DistanceMetricRep cx::DonutMetricRep cx::FrameMetricRep cx::GuideRep2D cx::PlaneMetricRep cx::PointMetricRep cx::PointMetricRep2D cx::SphereMetricRep cx::SphereMetricRep2D cx::ToolMetricRep

Public Member Functions

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 QString getType () const =0
 
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 ()
 

Protected Member Functions

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

Protected Attributes

double mGraphicsSize
 
bool mShowLabel
 
double mLabelSize
 
bool mShowAnnotation
 
DataMetricPtr mMetric
 

Additional Inherited Members

- Static Public Member Functions inherited from cx::RepImpl
template<class REP >
static boost::shared_ptr< REP > wrap_new (REP *object, QString uid)
 
- Protected Slots inherited from cx::RepImpl
void setModified ()
 

Detailed Description

Base class for all Data Metric reps.

Handles common functionality: labels, size.

Date
Jul 31, 2011
Author
Christian Askeland, SINTEF

Definition at line 60 of file cxDataMetricRep.h.

Constructor & Destructor Documentation

virtual cx::DataMetricRep::~DataMetricRep ( )
inlinevirtual

Definition at line 64 of file cxDataMetricRep.h.

cx::DataMetricRep::DataMetricRep ( )
protected

Definition at line 46 of file cxDataMetricRep.cpp.

Member Function Documentation

void cx::DataMetricRep::addRepActorsToViewRenderer ( ViewPtr  view)
protectedvirtual
void cx::DataMetricRep::drawText ( )
protected

Definition at line 130 of file cxDataMetricRep.cpp.

Vector3D cx::DataMetricRep::getColorAsVector3D ( ) const
protected

Definition at line 165 of file cxDataMetricRep.cpp.

DataMetricPtr cx::DataMetricRep::getDataMetric ( )

Definition at line 76 of file cxDataMetricRep.cpp.

QString cx::DataMetricRep::getText ( )
protectedvirtual

Definition at line 153 of file cxDataMetricRep.cpp.

void cx::DataMetricRep::removeRepActorsFromViewRenderer ( ViewPtr  view)
protectedvirtual
void cx::DataMetricRep::setDataMetric ( DataMetricPtr  value)

Definition at line 56 of file cxDataMetricRep.cpp.

void cx::DataMetricRep::setGraphicsSize ( double  size)

Definition at line 87 of file cxDataMetricRep.cpp.

void cx::DataMetricRep::setLabelSize ( double  size)

Definition at line 93 of file cxDataMetricRep.cpp.

void cx::DataMetricRep::setShowAnnotation ( bool  on)

Definition at line 99 of file cxDataMetricRep.cpp.

void cx::DataMetricRep::setShowLabel ( bool  on)

Definition at line 81 of file cxDataMetricRep.cpp.

Member Data Documentation

double cx::DataMetricRep::mGraphicsSize
protected

Definition at line 83 of file cxDataMetricRep.h.

double cx::DataMetricRep::mLabelSize
protected

Definition at line 85 of file cxDataMetricRep.h.

DataMetricPtr cx::DataMetricRep::mMetric
protected

Definition at line 89 of file cxDataMetricRep.h.

bool cx::DataMetricRep::mShowAnnotation
protected

Definition at line 86 of file cxDataMetricRep.h.

bool cx::DataMetricRep::mShowLabel
protected

Definition at line 84 of file cxDataMetricRep.h.


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