Fraxinus
22.09
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 () |
virtual void | onEveryRender () |
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 39 of file cxDataMetricRep.h.
|
inlinevirtual |
Definition at line 43 of file cxDataMetricRep.h.
|
protected |
Definition at line 25 of file cxDataMetricRep.cpp.
|
protectedvirtual |
Implements cx::RepImpl.
Reimplemented in cx::ToolMetricRep, cx::PointMetricRep2D, cx::PointMetricRep, cx::DistanceMetricRep2D, cx::SphereMetricRep2D, and cx::PlaneMetricRep.
Definition at line 89 of file cxDataMetricRep.cpp.
|
protectedvirtual |
Reimplemented in cx::AngleMetricRep, cx::GuideRep2D, cx::SphereMetricRep, cx::PointMetricRep2D, cx::PointMetricRep, cx::DistanceMetricRep2D, cx::CustomMetricRep, cx::DistanceMetricRep, cx::SphereMetricRep2D, cx::ToolMetricRep, cx::FrameMetricRep, cx::PlaneMetricRep, cx::DonutMetricRep, and cx::RegionOfInterestMetricRep.
Definition at line 84 of file cxDataMetricRep.cpp.
|
protected |
Definition at line 109 of file cxDataMetricRep.cpp.
|
protected |
Definition at line 144 of file cxDataMetricRep.cpp.
DataMetricPtr cx::DataMetricRep::getDataMetric | ( | ) |
Definition at line 55 of file cxDataMetricRep.cpp.
|
protectedvirtual |
Definition at line 132 of file cxDataMetricRep.cpp.
|
protectedvirtual |
Implements cx::RepImpl.
Reimplemented in cx::ToolMetricRep, cx::PointMetricRep2D, cx::PointMetricRep, cx::DistanceMetricRep2D, cx::SphereMetricRep2D, and cx::PlaneMetricRep.
Definition at line 100 of file cxDataMetricRep.cpp.
void cx::DataMetricRep::setDataMetric | ( | DataMetricPtr | value | ) |
Definition at line 35 of file cxDataMetricRep.cpp.
void cx::DataMetricRep::setGraphicsSize | ( | double | size | ) |
Definition at line 66 of file cxDataMetricRep.cpp.
void cx::DataMetricRep::setLabelSize | ( | double | size | ) |
Definition at line 72 of file cxDataMetricRep.cpp.
void cx::DataMetricRep::setShowAnnotation | ( | bool | on | ) |
Definition at line 78 of file cxDataMetricRep.cpp.
void cx::DataMetricRep::setShowLabel | ( | bool | on | ) |
Definition at line 60 of file cxDataMetricRep.cpp.
|
protected |
Definition at line 62 of file cxDataMetricRep.h.
|
protected |
Definition at line 64 of file cxDataMetricRep.h.
|
protected |
Definition at line 68 of file cxDataMetricRep.h.
|
protected |
Definition at line 65 of file cxDataMetricRep.h.
|
protected |
Definition at line 63 of file cxDataMetricRep.h.