CustusX  2023.01.05-dev+develop.0da12
An IGT application
cx::SlicePlanes3DRep Class Reference

Display a set of planes in 3D. More...

#include <cxSlicePlanes3DRep.h>

Inheritance diagram for cx::SlicePlanes3DRep:
cx::RepImpl cx::Rep

Public Member Functions

virtual ~SlicePlanes3DRep ()
 
virtual QString getType () const
 
void setProxy (SlicePlanesProxyPtr proxy)
 
SlicePlanesProxyPtr getProxy ()
 
void setDynamicLabelSize (bool on)
 
- 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 SlicePlanes3DRepPtr 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)
 
- Protected Member Functions inherited from cx::RepImpl
ViewPtr getView () const
 
vtkRendererPtr getRenderer ()
 
RepPtr getSelf ()
 
virtual void onModifiedStartRender ()
 
virtual void onEveryRender ()
 

Additional Inherited Members

- Protected Slots inherited from cx::RepImpl
void setModified ()
 

Detailed Description

Display a set of planes in 3D.

Draw all the planes defined in a SlicesPlanesProxy using the settings from SlicePlanesProxy. Only graphical plane representations are drawn, no image data.

See also
SlicePlanesProxy SlicePlanes3DMarkerIn2DRep

Definition at line 111 of file cxSlicePlanes3DRep.h.

Constructor & Destructor Documentation

cx::SlicePlanes3DRep::~SlicePlanes3DRep ( )
virtual

Definition at line 159 of file cxSlicePlanes3DRep.cpp.

Member Function Documentation

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

Implements cx::RepImpl.

Definition at line 182 of file cxSlicePlanes3DRep.cpp.

SlicePlanesProxyPtr cx::SlicePlanes3DRep::getProxy ( )
inline

Definition at line 119 of file cxSlicePlanes3DRep.h.

virtual QString cx::SlicePlanes3DRep::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 117 of file cxSlicePlanes3DRep.h.

SlicePlanes3DRepPtr cx::SlicePlanes3DRep::New ( const QString &  uid = "")
static

-----------------------------------------------------—

-----------------------------------------------------—

Definition at line 149 of file cxSlicePlanes3DRep.cpp.

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

Implements cx::RepImpl.

Definition at line 189 of file cxSlicePlanes3DRep.cpp.

void cx::SlicePlanes3DRep::setDynamicLabelSize ( bool  on)

Set this to get a label size that keeps a maximum size relative to the viewport.

Definition at line 169 of file cxSlicePlanes3DRep.cpp.

void cx::SlicePlanes3DRep::setProxy ( SlicePlanesProxyPtr  proxy)

Definition at line 298 of file cxSlicePlanes3DRep.cpp.


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