Fraxinus
16.5.0-fx-rc9
An IGT application
|
#include <cxPointMetricRep.h>
Public Member Functions | |
virtual | ~PointMetricRep () |
constructor More... | |
void | setPointMetric (PointMetricPtr point) |
PointMetricPtr | getPointMetric () |
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 PointMetricRepPtr | 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 | rescale () |
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 () |
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 |
Rep for visualizing a PointMetric.
Definition at line 57 of file cxPointMetricRep.h.
|
inlinevirtual |
constructor
Definition at line 62 of file cxPointMetricRep.h.
|
protectedvirtual |
Reimplemented from cx::DataMetricRep.
Definition at line 60 of file cxPointMetricRep.cpp.
|
protectedvirtual |
Reimplemented from cx::DataMetricRep.
Definition at line 54 of file cxPointMetricRep.cpp.
PointMetricPtr cx::PointMetricRep::getPointMetric | ( | ) |
|
inlinevirtual |
Implements cx::RepImpl.
Definition at line 66 of file cxPointMetricRep.h.
|
static |
Definition at line 43 of file cxPointMetricRep.cpp.
|
protectedvirtual |
Reimplemented from cx::RepImpl.
Definition at line 72 of file cxPointMetricRep.cpp.
|
protectedvirtual |
Reimplemented from cx::DataMetricRep.
Definition at line 66 of file cxPointMetricRep.cpp.
|
protectedvirtual |
Note: Internal method!
Scale the text to be a constant fraction of the viewport height Called from a vtk camera observer
Definition at line 100 of file cxPointMetricRep.cpp.
void cx::PointMetricRep::setPointMetric | ( | PointMetricPtr | point | ) |