CustusX  22.04-rc5
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 uploadChangedImage (QString uid)
 

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 98 of file cxTexture3DSlicerProxy.h.

Constructor & Destructor Documentation

cx::Texture3DSlicerProxyImpl::~Texture3DSlicerProxyImpl ( )
virtual

Definition at line 125 of file cxTexture3DSlicerProxy.cpp.

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

Definition at line 90 of file cxTexture3DSlicerProxy.cpp.

Member Function Documentation

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

Definition at line 203 of file cxTexture3DSlicerProxy.cpp.

vtkActorPtr cx::Texture3DSlicerProxyImpl::getActor ( )
virtual

Reimplemented from cx::Texture3DSlicerProxy.

Definition at line 135 of file cxTexture3DSlicerProxy.cpp.

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

Reimplemented from cx::Texture3DSlicerProxy.

Definition at line 140 of file cxTexture3DSlicerProxy.cpp.

SliceProxyPtr cx::Texture3DSlicerProxyImpl::getSliceProxy ( )
virtual

Reimplemented from cx::Texture3DSlicerProxy.

Definition at line 428 of file cxTexture3DSlicerProxy.cpp.

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

Definition at line 130 of file cxTexture3DSlicerProxy.cpp.

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

Reimplemented from cx::Texture3DSlicerProxy.

Definition at line 378 of file cxTexture3DSlicerProxy.cpp.

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

Reimplemented from cx::Texture3DSlicerProxy.

Definition at line 145 of file cxTexture3DSlicerProxy.cpp.

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

Reimplemented from cx::Texture3DSlicerProxy.

Definition at line 411 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 53 of file cxTexture3DSlicerProxy.cpp.

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

Reimplemented from cx::Texture3DSlicerProxy.

Definition at line 150 of file cxTexture3DSlicerProxy.cpp.

void cx::Texture3DSlicerProxyImpl::transferFunctionChangedSlot ( )
protectedslot

Definition at line 632 of file cxTexture3DSlicerProxy.cpp.

void cx::Texture3DSlicerProxyImpl::transformChangedSlot ( )
protectedslot

Definition at line 622 of file cxTexture3DSlicerProxy.cpp.

void cx::Texture3DSlicerProxyImpl::uploadChangedImage ( QString  uid)
protectedslot

Definition at line 637 of file cxTexture3DSlicerProxy.cpp.


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