Fraxinus  16.5.0-fx-rc8
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::Slices3DRep Class Reference

Display several slices through volumes in 3D. More...

#include <cxSlices3DRep.h>

Inheritance diagram for cx::Slices3DRep:
cx::RepImpl cx::Rep

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)
 
- 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 Slices3DRepPtr New (const 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

 Slices3DRep ()
 
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 ()
 

Additional Inherited Members

- Protected Slots inherited from cx::RepImpl
void setModified ()
 

Detailed Description

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.

See Also
Texture3DSlicerProxy

Definition at line 76 of file cxSlices3DRep.h.

Constructor & Destructor Documentation

cx::Slices3DRep::~Slices3DRep ( )
virtual

Definition at line 76 of file cxSlices3DRep.cpp.

cx::Slices3DRep::Slices3DRep ( )
protected

Definition at line 71 of file cxSlices3DRep.cpp.

Member Function Documentation

void cx::Slices3DRep::addPlane ( PLANE_TYPE  plane,
PatientModelServicePtr  dataManager 
)

Definition at line 105 of file cxSlices3DRep.cpp.

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

Implements cx::RepImpl.

Definition at line 124 of file cxSlices3DRep.cpp.

virtual QString cx::Slices3DRep::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 82 of file cxSlices3DRep.h.

Slices3DRepPtr cx::Slices3DRep::New ( const QString &  uid)
static

Definition at line 80 of file cxSlices3DRep.cpp.

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

Implements cx::RepImpl.

Definition at line 130 of file cxSlices3DRep.cpp.

void cx::Slices3DRep::setImages ( std::vector< ImagePtr images)

Definition at line 91 of file cxSlices3DRep.cpp.

void cx::Slices3DRep::setShaderPath ( QString  path)

Definition at line 85 of file cxSlices3DRep.cpp.

void cx::Slices3DRep::setTool ( ToolPtr  tool)

Definition at line 118 of file cxSlices3DRep.cpp.


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