Fraxinus  2023.01.05-dev+develop.0da12
An IGT application
cx::OrientationAnnotation3DRep Class Reference

Class for display of an orientation annotation cube in 3D. More...

#include <cxOrientationAnnotation3DRep.h>

Inheritance diagram for cx::OrientationAnnotation3DRep:
cx::RepImpl cx::Rep

Public Member Functions

virtual ~OrientationAnnotation3DRep ()
 
virtual QString getType () const
 
bool getVisible () const
 
void setVisible (bool on)
 
void setMarkerFilename (const QString filename)
 empty and default means a cube More...
 
void setSize (double size)
 fraction of viewport to use More...
 
- 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 OrientationAnnotation3DRepPtr 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

 OrientationAnnotation3DRep ()
 
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

Class for display of an orientation annotation cube in 3D.

Definition at line 35 of file cxOrientationAnnotation3DRep.h.

Constructor & Destructor Documentation

cx::OrientationAnnotation3DRep::~OrientationAnnotation3DRep ( )
virtual

Definition at line 74 of file cxOrientationAnnotation3DRep.cpp.

cx::OrientationAnnotation3DRep::OrientationAnnotation3DRep ( )
protected

Definition at line 63 of file cxOrientationAnnotation3DRep.cpp.

Member Function Documentation

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

Implements cx::RepImpl.

Definition at line 79 of file cxOrientationAnnotation3DRep.cpp.

virtual QString cx::OrientationAnnotation3DRep::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 41 of file cxOrientationAnnotation3DRep.h.

bool cx::OrientationAnnotation3DRep::getVisible ( ) const

Definition at line 89 of file cxOrientationAnnotation3DRep.cpp.

OrientationAnnotation3DRepPtr cx::OrientationAnnotation3DRep::New ( const QString &  uid = "")
static

Definition at line 69 of file cxOrientationAnnotation3DRep.cpp.

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

Implements cx::RepImpl.

Definition at line 84 of file cxOrientationAnnotation3DRep.cpp.

void cx::OrientationAnnotation3DRep::setMarkerFilename ( const QString  filename)

empty and default means a cube

Definition at line 131 of file cxOrientationAnnotation3DRep.cpp.

void cx::OrientationAnnotation3DRep::setSize ( double  size)

fraction of viewport to use

Definition at line 101 of file cxOrientationAnnotation3DRep.cpp.

void cx::OrientationAnnotation3DRep::setVisible ( bool  on)

Definition at line 94 of file cxOrientationAnnotation3DRep.cpp.


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