CustusX  22.04-rc2
An IGT application
cx::Image2DRep3D Class Reference

Display a 2D Volume in 3D. More...

#include <cxImage2DRep3D.h>

Inheritance diagram for cx::Image2DRep3D:
cx::RepImpl cx::Rep

Public Member Functions

virtual ~Image2DRep3D ()
 
virtual QString getType () const
 
void setImage (ImagePtr image)
 
- 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 Image2DRep3DPtr New (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

 Image2DRep3D ()
 
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 2D Volume in 3D.

The standard VolumetricRep does not handle 2D volumes, because the vtkVolume does not handle it. This rep handles it though the use of a vtkImageActor.

Date
March 12, 2013
Author
christiana

Definition at line 89 of file cxImage2DRep3D.h.

Constructor & Destructor Documentation

cx::Image2DRep3D::~Image2DRep3D ( )
virtual

Definition at line 134 of file cxImage2DRep3D.cpp.

cx::Image2DRep3D::Image2DRep3D ( )
protected

Definition at line 128 of file cxImage2DRep3D.cpp.

Member Function Documentation

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

Implements cx::RepImpl.

Definition at line 143 of file cxImage2DRep3D.cpp.

virtual QString cx::Image2DRep3D::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 95 of file cxImage2DRep3D.h.

static Image2DRep3DPtr cx::Image2DRep3D::New ( QString  uid = "")
inlinestatic

Definition at line 93 of file cxImage2DRep3D.h.

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

Implements cx::RepImpl.

Definition at line 148 of file cxImage2DRep3D.cpp.

void cx::Image2DRep3D::setImage ( ImagePtr  image)

Definition at line 138 of file cxImage2DRep3D.cpp.


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