![]() |
CustusX
22.09
An IGT application
|
Display several slices through volumes in 3D. More...
#include <cxSlices3DRep.h>
Public Member Functions | |
virtual | ~Slices3DRep () |
virtual QString | getType () const |
void | setShaderPath (QString path) |
void | setImages (std::vector< ImagePtr > images) |
void | addPlane (PLANE_TYPE plane, PatientModelServicePtr dataManager) |
void | setTool (ToolPtr tool) |
![]() | |
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) |
![]() | |
virtual | ~Rep () |
Static Public Member Functions | |
static Slices3DRepPtr | New (SharedOpenGLContextPtr context, const QString &uid) |
![]() | |
template<class REP > | |
static boost::shared_ptr< REP > | wrap_new (REP *object, QString uid) |
Protected Member Functions | |
Slices3DRep (SharedOpenGLContextPtr context) | |
virtual void | addRepActorsToViewRenderer (ViewPtr view) |
virtual void | removeRepActorsFromViewRenderer (ViewPtr view) |
![]() | |
ViewPtr | getView () const |
vtkRendererPtr | getRenderer () |
RepPtr | getSelf () |
virtual void | onModifiedStartRender () |
virtual void | onEveryRender () |
Additional Inherited Members | |
![]() | |
void | setModified () |
Display several slices through volumes in 3D.
Use this as an alternative to full volume rendering. Define a set of planes and an ordered set of images. The images are sliced in a way similar to that in Texture3DSlicerRep, but they are displayed in the 3D View instead of in 2D.
Used by CustusX.
Definition at line 47 of file cxSlices3DRep.h.
|
virtual |
Definition at line 43 of file cxSlices3DRep.cpp.
|
protected |
Definition at line 37 of file cxSlices3DRep.cpp.
void cx::Slices3DRep::addPlane | ( | PLANE_TYPE | plane, |
PatientModelServicePtr | dataManager | ||
) |
Definition at line 72 of file cxSlices3DRep.cpp.
|
protectedvirtual |
Implements cx::RepImpl.
Definition at line 91 of file cxSlices3DRep.cpp.
|
inlinevirtual |
Implements cx::RepImpl.
Definition at line 53 of file cxSlices3DRep.h.
|
static |
Definition at line 47 of file cxSlices3DRep.cpp.
|
protectedvirtual |
Implements cx::RepImpl.
Definition at line 97 of file cxSlices3DRep.cpp.
void cx::Slices3DRep::setImages | ( | std::vector< ImagePtr > | images | ) |
Definition at line 58 of file cxSlices3DRep.cpp.
void cx::Slices3DRep::setShaderPath | ( | QString | path | ) |
Definition at line 52 of file cxSlices3DRep.cpp.
void cx::Slices3DRep::setTool | ( | ToolPtr | tool | ) |
Definition at line 85 of file cxSlices3DRep.cpp.