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

#include <cxPointMetricRep2D.h>

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

Public Member Functions

virtual ~PointMetricRep2D ()
 constructor More...
 
virtual QString getType () const
 
void setSliceProxy (SliceProxyPtr slicer)
 
void setDynamicSize (bool on)
 
- 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 PointMetricRep2DPtr 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 PointMetric in 2D views.

Date
Jun 14, 2012
Author
Sigmund Augdal, SonoWand AS

Definition at line 37 of file cxPointMetricRep2D.h.

Constructor & Destructor Documentation

◆ ~PointMetricRep2D()

virtual cx::PointMetricRep2D::~PointMetricRep2D ( )
inlinevirtual

constructor

Definition at line 42 of file cxPointMetricRep2D.h.

Member Function Documentation

◆ addRepActorsToViewRenderer()

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

Reimplemented from cx::DataMetricRep.

Definition at line 53 of file cxPointMetricRep2D.cpp.

◆ clear()

void cx::PointMetricRep2D::clear ( )
protectedvirtual

Reimplemented from cx::DataMetricRep.

Definition at line 69 of file cxPointMetricRep2D.cpp.

◆ getType()

virtual QString cx::PointMetricRep2D::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 44 of file cxPointMetricRep2D.h.

◆ New()

PointMetricRep2DPtr cx::PointMetricRep2D::New ( const QString &  uid = "")
static

Definition at line 31 of file cxPointMetricRep2D.cpp.

◆ onModifiedStartRender()

void cx::PointMetricRep2D::onModifiedStartRender ( )
protectedvirtual

Reimplemented from cx::RepImpl.

Definition at line 74 of file cxPointMetricRep2D.cpp.

◆ removeRepActorsFromViewRenderer()

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

Reimplemented from cx::DataMetricRep.

Definition at line 60 of file cxPointMetricRep2D.cpp.

◆ setDynamicSize()

void cx::PointMetricRep2D::setDynamicSize ( bool  on)

Definition at line 40 of file cxPointMetricRep2D.cpp.

◆ setSliceProxy()

void cx::PointMetricRep2D::setSliceProxy ( SliceProxyPtr  slicer)

Definition at line 122 of file cxPointMetricRep2D.cpp.


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