CustusX  16.5.0-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::VolumetricBaseRep Class Referenceabstract

Display a volume in 3D. More...

#include <cxVolumetricRep.h>

Inheritance diagram for cx::VolumetricBaseRep:
cx::RepImpl cx::Rep cx::VolumetricRep cx::StreamRep3D

Public Member Functions

virtual ~VolumetricBaseRep ()
 
virtual void setImage (ImagePtr image)=0
 set the reps image More...
 
virtual ImagePtr getImage ()=0
 get the reps image More...
 
virtual bool hasImage (ImagePtr image) const =0
 check if the reps has the image More...
 
virtual vtkVolumePtr getVtkVolume ()=0
 get the images vtkVolume More...
 
virtual void setMaxVolumeSize (long maxVoxels)=0
 set max volume size for rendering. Must be set before setImage() More...
 
- Public Member Functions inherited from cx::RepImpl
 RepImpl (const QString &uid="", const QString &name="")
 
virtual ~RepImpl ()
 
virtual QString getType () const =0
 
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 ()
 

Protected Member Functions

 VolumetricBaseRep ()
 
- Protected Member Functions inherited from cx::RepImpl
ViewPtr getView () const
 
vtkRendererPtr getRenderer ()
 
RepPtr getSelf ()
 
virtual void onModifiedStartRender ()
 
virtual void addRepActorsToViewRenderer (ViewPtr view)=0
 
virtual void removeRepActorsFromViewRenderer (ViewPtr view)=0
 

Additional Inherited Members

- Static Public Member Functions inherited from cx::RepImpl
template<class REP >
static boost::shared_ptr< REP > wrap_new (REP *object, QString uid)
 
- Protected Slots inherited from cx::RepImpl
void setModified ()
 

Detailed Description

Display a volume in 3D.

This abstract interface is implemented by VolumetricRep Previously: ProgressiveLODVolumetricRep, which is removed.

Definition at line 63 of file cxVolumetricRep.h.

Constructor & Destructor Documentation

virtual cx::VolumetricBaseRep::~VolumetricBaseRep ( )
inlinevirtual

Definition at line 67 of file cxVolumetricRep.h.

cx::VolumetricBaseRep::VolumetricBaseRep ( )
inlineprotected

Definition at line 76 of file cxVolumetricRep.h.

Member Function Documentation

virtual ImagePtr cx::VolumetricBaseRep::getImage ( )
pure virtual

get the reps image

Implemented in cx::VolumetricRep.

virtual vtkVolumePtr cx::VolumetricBaseRep::getVtkVolume ( )
pure virtual

get the images vtkVolume

Implemented in cx::VolumetricRep.

virtual bool cx::VolumetricBaseRep::hasImage ( ImagePtr  image) const
pure virtual

check if the reps has the image

Implemented in cx::VolumetricRep.

virtual void cx::VolumetricBaseRep::setImage ( ImagePtr  image)
pure virtual

set the reps image

Implemented in cx::VolumetricRep.

virtual void cx::VolumetricBaseRep::setMaxVolumeSize ( long  maxVoxels)
pure virtual

set max volume size for rendering. Must be set before setImage()

Implemented in cx::VolumetricRep.


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