CustusX  16.5
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::SlicePlanes3DMarkerIn2DRep Class Reference

Display annotations for the SlicePlanesProxy planes in 2D. More...

#include <cxSlicePlanes3DRep.h>

Inheritance diagram for cx::SlicePlanes3DMarkerIn2DRep:
cx::RepImpl cx::Rep

Public Member Functions

virtual ~SlicePlanes3DMarkerIn2DRep ()
 
virtual QString getType () const
 
void setProxy (PLANE_TYPE type, SlicePlanesProxyPtr proxy)
 
SlicePlanesProxyPtr getProxy ()
 
- 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
SlicePlanes3DMarkerIn2DRepPtr 
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 ()
 

Additional Inherited Members

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

Detailed Description

Display annotations for the SlicePlanesProxy planes in 2D.

When several 2D View are drawn in a 3D View using a SlicePlanes3DRep, the SlicePlanes3DMarkerIn2DRep can be used to annotate the 2D View with the same annotation as is shown in the 3D View.

See Also
SlicePlanesProxy SlicePlanes3DRep

Definition at line 182 of file cxSlicePlanes3DRep.h.

Constructor & Destructor Documentation

cx::SlicePlanes3DMarkerIn2DRep::~SlicePlanes3DMarkerIn2DRep ( )
virtual

Definition at line 332 of file cxSlicePlanes3DRep.cpp.

Member Function Documentation

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

Implements cx::RepImpl.

Definition at line 336 of file cxSlicePlanes3DRep.cpp.

SlicePlanesProxyPtr cx::SlicePlanes3DMarkerIn2DRep::getProxy ( )
inline

Definition at line 190 of file cxSlicePlanes3DRep.h.

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

SlicePlanes3DMarkerIn2DRepPtr cx::SlicePlanes3DMarkerIn2DRep::New ( const QString &  uid = "")
static

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


Definition at line 322 of file cxSlicePlanes3DRep.cpp.

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

Implements cx::RepImpl.

Definition at line 350 of file cxSlicePlanes3DRep.cpp.

void cx::SlicePlanes3DMarkerIn2DRep::setProxy ( PLANE_TYPE  type,
SlicePlanesProxyPtr  proxy 
)

Definition at line 366 of file cxSlicePlanes3DRep.cpp.


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