NorMIT-nav
16.5
An IGT application
|
Base class for all Data Metric reps. More...
#include <cxDataMetricRep.h>
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 () |
Base class for all Data Metric reps.
Handles common functionality: labels, size.
Definition at line 60 of file cxDataMetricRep.h.
|
inlinevirtual |
Definition at line 64 of file cxDataMetricRep.h.
|
protected |
Definition at line 46 of file cxDataMetricRep.cpp.
|
protectedvirtual |
Implements cx::RepImpl.
Reimplemented in cx::ToolMetricRep, cx::PointMetricRep2D, cx::PointMetricRep, cx::SphereMetricRep2D, and cx::PlaneMetricRep.
Definition at line 110 of file cxDataMetricRep.cpp.
|
protectedvirtual |
Reimplemented in cx::AngleMetricRep, cx::GuideRep2D, cx::SphereMetricRep, cx::PointMetricRep2D, cx::PointMetricRep, cx::DistanceMetricRep, cx::SphereMetricRep2D, cx::DonutMetricRep, cx::ToolMetricRep, cx::FrameMetricRep, and cx::PlaneMetricRep.
Definition at line 105 of file cxDataMetricRep.cpp.
|
protected |
Definition at line 130 of file cxDataMetricRep.cpp.
|
protected |
Definition at line 165 of file cxDataMetricRep.cpp.
DataMetricPtr cx::DataMetricRep::getDataMetric | ( | ) |
Definition at line 76 of file cxDataMetricRep.cpp.
|
protectedvirtual |
Definition at line 153 of file cxDataMetricRep.cpp.
|
protectedvirtual |
Implements cx::RepImpl.
Reimplemented in cx::ToolMetricRep, cx::PointMetricRep2D, cx::PointMetricRep, cx::SphereMetricRep2D, and cx::PlaneMetricRep.
Definition at line 121 of file cxDataMetricRep.cpp.
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.
|
protected |
Definition at line 83 of file cxDataMetricRep.h.
|
protected |
Definition at line 85 of file cxDataMetricRep.h.
|
protected |
Definition at line 89 of file cxDataMetricRep.h.
|
protected |
Definition at line 86 of file cxDataMetricRep.h.
|
protected |
Definition at line 84 of file cxDataMetricRep.h.