CustusX  2023.01.05-dev+develop.0da12
An IGT application
cx::Texture3DSlicerProxy Class Reference

Helper class for GPU-based slicing. More...

#include <cxTexture3DSlicerProxy.h>

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

Public Member Functions

virtual ~Texture3DSlicerProxy ()
 
virtual void setShaderPath (QString shaderFile)
 
virtual void setViewportData (const Transform3D &vpMs, const DoubleBoundingBox3D &vp)
 
virtual void setImages (std::vector< ImagePtr > images)
 
virtual std::vector< ImagePtrgetImages ()
 
virtual void setSliceProxy (SliceProxyPtr slicer)
 
virtual SliceProxyPtr getSliceProxy ()
 
virtual void setTargetSpaceToR ()
 
virtual vtkActorPtr getActor ()
 
virtual void setRenderWindow (vtkRenderWindowPtr window)
 

Static Public Member Functions

static Texture3DSlicerProxyPtr New (SharedOpenGLContextPtr context)
 
static bool isSupported (vtkRenderWindowPtr window)
 

Protected Member Functions

 Texture3DSlicerProxy ()
 

Detailed Description

Helper class for GPU-based slicing.

This class is a dummy that only provide interface. For OS that don't implement the GPU slicer, use this dummy. See Texture3DSlicerProxyImpl for the real implementation.

See also
Texture3DSlicerProxyImpl for the real implementation.

Definition at line 49 of file cxTexture3DSlicerProxy.h.

Constructor & Destructor Documentation

virtual cx::Texture3DSlicerProxy::~Texture3DSlicerProxy ( )
inlinevirtual

Definition at line 55 of file cxTexture3DSlicerProxy.h.

cx::Texture3DSlicerProxy::Texture3DSlicerProxy ( )
inlineprotected

Definition at line 81 of file cxTexture3DSlicerProxy.h.

Member Function Documentation

virtual vtkActorPtr cx::Texture3DSlicerProxy::getActor ( )
inlinevirtual

Reimplemented in cx::Texture3DSlicerProxyImpl.

Definition at line 69 of file cxTexture3DSlicerProxy.h.

virtual std::vector<ImagePtr> cx::Texture3DSlicerProxy::getImages ( )
inlinevirtual

Reimplemented in cx::Texture3DSlicerProxyImpl.

Definition at line 59 of file cxTexture3DSlicerProxy.h.

virtual SliceProxyPtr cx::Texture3DSlicerProxy::getSliceProxy ( )
inlinevirtual

Reimplemented in cx::Texture3DSlicerProxyImpl.

Definition at line 64 of file cxTexture3DSlicerProxy.h.

static bool cx::Texture3DSlicerProxy::isSupported ( vtkRenderWindowPtr  window)
inlinestatic

Definition at line 75 of file cxTexture3DSlicerProxy.h.

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

Definition at line 46 of file cxTexture3DSlicerProxy.cpp.

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

Reimplemented in cx::Texture3DSlicerProxyImpl.

Definition at line 58 of file cxTexture3DSlicerProxy.h.

virtual void cx::Texture3DSlicerProxy::setRenderWindow ( vtkRenderWindowPtr  window)
inlinevirtual

Reimplemented in cx::Texture3DSlicerProxyImpl.

Definition at line 73 of file cxTexture3DSlicerProxy.h.

virtual void cx::Texture3DSlicerProxy::setShaderPath ( QString  shaderFile)
inlinevirtual

Definition at line 56 of file cxTexture3DSlicerProxy.h.

virtual void cx::Texture3DSlicerProxy::setSliceProxy ( SliceProxyPtr  slicer)
inlinevirtual

Reimplemented in cx::Texture3DSlicerProxyImpl.

Definition at line 63 of file cxTexture3DSlicerProxy.h.

virtual void cx::Texture3DSlicerProxy::setTargetSpaceToR ( )
inlinevirtual

Reimplemented in cx::Texture3DSlicerProxyImpl.

Definition at line 68 of file cxTexture3DSlicerProxy.h.

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

Reimplemented in cx::Texture3DSlicerProxyImpl.

Definition at line 57 of file cxTexture3DSlicerProxy.h.


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