Fraxinus  17.12-rc4
An IGT application
cx::Texture3DSlicerProxyImpl Class Reference

Slice volumes using a SliceProxy. More...

#include <cxTexture3DSlicerProxy.h>

Inheritance diagram for cx::Texture3DSlicerProxyImpl:
cx::Texture3DSlicerProxy

Public Member Functions

virtual ~Texture3DSlicerProxyImpl ()
 
void setViewportData (const Transform3D &vpMs, const DoubleBoundingBox3D &vp)
 
void setImages (std::vector< ImagePtr > images)
 
void setSliceProxy (SliceProxyPtr slicer)
 
SliceProxyPtr getSliceProxy ()
 
void setTargetSpaceToR ()
 use to draw the slice in 3D r space instead of in 2D s space. More...
 
vtkActorPtr getActor ()
 
std::vector< ImagePtrgetImages ()
 
virtual void setRenderWindow (vtkRenderWindowPtr window)
 
- Public Member Functions inherited from cx::Texture3DSlicerProxy
virtual ~Texture3DSlicerProxy ()
 
virtual void setShaderPath (QString shaderFile)
 

Static Public Member Functions

static Texture3DSlicerProxyPtr New (SharedOpenGLContextPtr context)
 
- Static Public Member Functions inherited from cx::Texture3DSlicerProxy
static Texture3DSlicerProxyPtr New (SharedOpenGLContextPtr context)
 
static bool isSupported (vtkRenderWindowPtr window)
 

Protected Slots

void transformChangedSlot ()
 
void transferFunctionChangedSlot ()
 
void imageChanged ()
 

Protected Member Functions

 Texture3DSlicerProxyImpl (SharedOpenGLContextPtr context)
 
void createGeometryPlane (Vector3D point1_s, Vector3D point2_s, Vector3D origin_s)
 
- Protected Member Functions inherited from cx::Texture3DSlicerProxy
 Texture3DSlicerProxy ()
 

Detailed Description

Slice volumes using a SliceProxy.

The functionality is equal to SlicedImageProxy, but the actual slicing is performed by loading the image into the GPU as a 3D texture and slicing it there, using the GPU.

Definition at line 119 of file cxTexture3DSlicerProxy.h.

Constructor & Destructor Documentation

cx::Texture3DSlicerProxyImpl::~Texture3DSlicerProxyImpl ( )
virtual

Definition at line 147 of file cxTexture3DSlicerProxy.cpp.

cx::Texture3DSlicerProxyImpl::Texture3DSlicerProxyImpl ( SharedOpenGLContextPtr  context)
protected

Definition at line 112 of file cxTexture3DSlicerProxy.cpp.

Member Function Documentation

void cx::Texture3DSlicerProxyImpl::createGeometryPlane ( Vector3D  point1_s,
Vector3D  point2_s,
Vector3D  origin_s 
)
protected

Definition at line 225 of file cxTexture3DSlicerProxy.cpp.

vtkActorPtr cx::Texture3DSlicerProxyImpl::getActor ( )
virtual

Reimplemented from cx::Texture3DSlicerProxy.

Definition at line 157 of file cxTexture3DSlicerProxy.cpp.

std::vector< ImagePtr > cx::Texture3DSlicerProxyImpl::getImages ( )
virtual

Reimplemented from cx::Texture3DSlicerProxy.

Definition at line 162 of file cxTexture3DSlicerProxy.cpp.

SliceProxyPtr cx::Texture3DSlicerProxyImpl::getSliceProxy ( )
virtual

Reimplemented from cx::Texture3DSlicerProxy.

Definition at line 450 of file cxTexture3DSlicerProxy.cpp.

void cx::Texture3DSlicerProxyImpl::imageChanged ( )
protectedslot

Definition at line 659 of file cxTexture3DSlicerProxy.cpp.

Texture3DSlicerProxyPtr cx::Texture3DSlicerProxyImpl::New ( SharedOpenGLContextPtr  context)
static

Definition at line 152 of file cxTexture3DSlicerProxy.cpp.

void cx::Texture3DSlicerProxyImpl::setImages ( std::vector< ImagePtr images)
virtual

Reimplemented from cx::Texture3DSlicerProxy.

Definition at line 400 of file cxTexture3DSlicerProxy.cpp.

void cx::Texture3DSlicerProxyImpl::setRenderWindow ( vtkRenderWindowPtr  window)
virtual

Reimplemented from cx::Texture3DSlicerProxy.

Definition at line 167 of file cxTexture3DSlicerProxy.cpp.

void cx::Texture3DSlicerProxyImpl::setSliceProxy ( SliceProxyPtr  slicer)
virtual

Reimplemented from cx::Texture3DSlicerProxy.

Definition at line 433 of file cxTexture3DSlicerProxy.cpp.

void cx::Texture3DSlicerProxyImpl::setTargetSpaceToR ( )
virtual

use to draw the slice in 3D r space instead of in 2D s space.

Reimplemented from cx::Texture3DSlicerProxy.

Definition at line 74 of file cxTexture3DSlicerProxy.cpp.

void cx::Texture3DSlicerProxyImpl::setViewportData ( const Transform3D vpMs,
const DoubleBoundingBox3D vp 
)
virtual

Reimplemented from cx::Texture3DSlicerProxy.

Definition at line 172 of file cxTexture3DSlicerProxy.cpp.

void cx::Texture3DSlicerProxyImpl::transferFunctionChangedSlot ( )
protectedslot

Definition at line 654 of file cxTexture3DSlicerProxy.cpp.

void cx::Texture3DSlicerProxyImpl::transformChangedSlot ( )
protectedslot

Definition at line 644 of file cxTexture3DSlicerProxy.cpp.


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