CustusX
16.5.0-rc9
An IGT application
|
Display a volume in 3D. More...
#include <cxVolumetricRep.h>
Public Member Functions | |
virtual | ~VolumetricRep () |
virtual QString | getType () const |
virtual void | setImage (ImagePtr image) |
set the reps image More... | |
virtual ImagePtr | getImage () |
get the reps image More... | |
virtual bool | hasImage (ImagePtr image) const |
check if the reps has the image More... | |
virtual vtkVolumePtr | getVtkVolume () |
get the images vtkVolume More... | |
void | setMaxVolumeSize (long maxVoxels) |
set max volume size for rendering. Must be set before setImage() More... | |
void | setUseGPUVolumeRayCastMapper () |
void | setUseVolumeTextureMapper () |
Public Member Functions inherited from cx::VolumetricBaseRep | |
virtual | ~VolumetricBaseRep () |
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 VolumetricRepPtr | 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 Slots | |
void | transformChangedSlot () |
void | vtkImageDataChangedSlot () |
void | updateVtkImageDataSlot () |
Protected Slots inherited from cx::RepImpl | |
void | setModified () |
Protected Member Functions | |
VolumetricRep () | |
virtual void | addRepActorsToViewRenderer (ViewPtr view) |
virtual void | removeRepActorsFromViewRenderer (ViewPtr view) |
Protected Member Functions inherited from cx::VolumetricBaseRep | |
VolumetricBaseRep () | |
Protected Member Functions inherited from cx::RepImpl | |
ViewPtr | getView () const |
vtkRendererPtr | getRenderer () |
RepPtr | getSelf () |
virtual void | onModifiedStartRender () |
Protected Attributes | |
cx::VolumePropertyPtr | mVolumeProperty |
vtkVolumeMapperPtr | mMapper |
vtkVolumePtr | mVolume |
long | mMaxVoxels |
always resample volume below this size. More... | |
ImagePtr | mImage |
cx::ImageMapperMonitorPtr | mMonitor |
helper object for visualizing clipping/cropping More... | |
Display a volume in 3D.
Use this to render volumetric image data in a 3D scene. Both texture rendering and GPU raycasting are available.
Used by Sonowand. Used by CustusX.
Definition at line 90 of file cxVolumetricRep.h.
|
virtual |
Definition at line 80 of file cxVolumetricRep.cpp.
|
protected |
Definition at line 70 of file cxVolumetricRep.cpp.
|
protectedvirtual |
Implements cx::RepImpl.
Definition at line 108 of file cxVolumetricRep.cpp.
|
virtual |
get the reps image
Implements cx::VolumetricBaseRep.
Definition at line 118 of file cxVolumetricRep.cpp.
|
inlinevirtual |
Implements cx::RepImpl.
Reimplemented in cx::StreamRep3D.
Definition at line 97 of file cxVolumetricRep.h.
|
inlinevirtual |
get the images vtkVolume
Implements cx::VolumetricBaseRep.
Definition at line 101 of file cxVolumetricRep.h.
|
virtual |
check if the reps has the image
Implements cx::VolumetricBaseRep.
Definition at line 151 of file cxVolumetricRep.cpp.
|
inlinestatic |
Definition at line 96 of file cxVolumetricRep.h.
|
protectedvirtual |
Implements cx::RepImpl.
Definition at line 113 of file cxVolumetricRep.cpp.
|
virtual |
set the reps image
Implements cx::VolumetricBaseRep.
Definition at line 123 of file cxVolumetricRep.cpp.
|
virtual |
set max volume size for rendering. Must be set before setImage()
Implements cx::VolumetricBaseRep.
Definition at line 185 of file cxVolumetricRep.cpp.
void cx::VolumetricRep::setUseGPUVolumeRayCastMapper | ( | ) |
Definition at line 83 of file cxVolumetricRep.cpp.
void cx::VolumetricRep::setUseVolumeTextureMapper | ( | ) |
Definition at line 94 of file cxVolumetricRep.cpp.
|
protectedslot |
called when transform is changed reset it in the prop.
Definition at line 167 of file cxVolumetricRep.cpp.
|
protectedslot |
Definition at line 176 of file cxVolumetricRep.cpp.
|
protectedslot |
called when the image is changed internally. re-read the lut and vtkimagedata.
Definition at line 159 of file cxVolumetricRep.cpp.
|
protected |
Definition at line 116 of file cxVolumetricRep.h.
|
protected |
Definition at line 112 of file cxVolumetricRep.h.
|
protected |
always resample volume below this size.
Definition at line 114 of file cxVolumetricRep.h.
|
protected |
helper object for visualizing clipping/cropping
Definition at line 117 of file cxVolumetricRep.h.
|
protected |
Definition at line 113 of file cxVolumetricRep.h.
|
protected |
Definition at line 111 of file cxVolumetricRep.h.