![]() |
CustusX
22.04
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 () |
| virtual void | onEveryRender () |
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 69 of file cxVolumetricRep.h.
|
virtual |
Definition at line 55 of file cxVolumetricRep.cpp.
|
protected |
Definition at line 45 of file cxVolumetricRep.cpp.
|
protectedvirtual |
Implements cx::RepImpl.
Definition at line 83 of file cxVolumetricRep.cpp.
|
virtual |
get the reps image
Implements cx::VolumetricBaseRep.
Definition at line 93 of file cxVolumetricRep.cpp.
|
inlinevirtual |
Implements cx::RepImpl.
Reimplemented in cx::StreamRep3D.
Definition at line 76 of file cxVolumetricRep.h.
|
inlinevirtual |
get the images vtkVolume
Implements cx::VolumetricBaseRep.
Definition at line 80 of file cxVolumetricRep.h.
|
virtual |
check if the reps has the image
Implements cx::VolumetricBaseRep.
Definition at line 126 of file cxVolumetricRep.cpp.
|
inlinestatic |
Definition at line 75 of file cxVolumetricRep.h.
|
protectedvirtual |
Implements cx::RepImpl.
Definition at line 88 of file cxVolumetricRep.cpp.
|
virtual |
set the reps image
Implements cx::VolumetricBaseRep.
Definition at line 98 of file cxVolumetricRep.cpp.
|
virtual |
set max volume size for rendering. Must be set before setImage()
Implements cx::VolumetricBaseRep.
Definition at line 160 of file cxVolumetricRep.cpp.
| void cx::VolumetricRep::setUseGPUVolumeRayCastMapper | ( | ) |
Definition at line 58 of file cxVolumetricRep.cpp.
| void cx::VolumetricRep::setUseVolumeTextureMapper | ( | ) |
Definition at line 69 of file cxVolumetricRep.cpp.
|
protectedslot |
called when transform is changed reset it in the prop.
Definition at line 142 of file cxVolumetricRep.cpp.
|
protectedslot |
Definition at line 151 of file cxVolumetricRep.cpp.
|
protectedslot |
called when the image is changed internally. re-read the lut and vtkimagedata.
Definition at line 134 of file cxVolumetricRep.cpp.
|
protected |
Definition at line 95 of file cxVolumetricRep.h.
|
protected |
Definition at line 91 of file cxVolumetricRep.h.
|
protected |
always resample volume below this size.
Definition at line 93 of file cxVolumetricRep.h.
|
protected |
helper object for visualizing clipping/cropping
Definition at line 96 of file cxVolumetricRep.h.
|
protected |
Definition at line 92 of file cxVolumetricRep.h.
|
protected |
Definition at line 90 of file cxVolumetricRep.h.