CustusX  16.5.0-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 setShaderPath (QString shaderFile)
 
void setViewportData (const Transform3D &vpMs, const DoubleBoundingBox3D &vp)
 
void setImages (std::vector< ImagePtr > images)
 
void setSliceProxy (SliceProxyPtr slicer)
 
SliceProxyPtr getSliceProxy ()
 
void update ()
 
void setTargetSpaceToR ()
 use to draw the slice in 3D r space instead of in 2D s space. More...
 
vtkActorPtr getActor ()
 
std::vector< ImagePtrgetImages ()
 
- Public Member Functions inherited from cx::Texture3DSlicerProxy
virtual ~Texture3DSlicerProxy ()
 

Static Public Member Functions

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

Protected Slots

void transformChangedSlot ()
 
void updateColorAttributeSlot ()
 
void imageChanged ()
 

Protected Member Functions

 Texture3DSlicerProxyImpl ()
 
void createGeometryPlane (Vector3D point1_s, Vector3D point2_s, Vector3D origin_s)
 

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.

Used by Sonowand and Sintef.

Created on: Oct 13, 2011 Author: christiana

Definition at line 107 of file cxTexture3DSlicerProxy.h.

Constructor & Destructor Documentation

cx::Texture3DSlicerProxyImpl::~Texture3DSlicerProxyImpl ( )
virtual

Definition at line 134 of file cxTexture3DSlicerProxy.cpp.

cx::Texture3DSlicerProxyImpl::Texture3DSlicerProxyImpl ( )
protected

Definition at line 107 of file cxTexture3DSlicerProxy.cpp.

Member Function Documentation

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

Definition at line 215 of file cxTexture3DSlicerProxy.cpp.

vtkActorPtr cx::Texture3DSlicerProxyImpl::getActor ( )
virtual

Reimplemented from cx::Texture3DSlicerProxy.

Definition at line 144 of file cxTexture3DSlicerProxy.cpp.

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

Reimplemented from cx::Texture3DSlicerProxy.

Definition at line 121 of file cxTexture3DSlicerProxy.h.

SliceProxyPtr cx::Texture3DSlicerProxyImpl::getSliceProxy ( )
inlinevirtual

Reimplemented from cx::Texture3DSlicerProxy.

Definition at line 117 of file cxTexture3DSlicerProxy.h.

void cx::Texture3DSlicerProxyImpl::imageChanged ( )
protectedslot

Definition at line 405 of file cxTexture3DSlicerProxy.cpp.

Texture3DSlicerProxyPtr cx::Texture3DSlicerProxyImpl::New ( )
static

Definition at line 139 of file cxTexture3DSlicerProxy.cpp.

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

Reimplemented from cx::Texture3DSlicerProxy.

Definition at line 232 of file cxTexture3DSlicerProxy.cpp.

void cx::Texture3DSlicerProxyImpl::setShaderPath ( QString  shaderFile)
virtual

Reimplemented from cx::Texture3DSlicerProxy.

Definition at line 149 of file cxTexture3DSlicerProxy.cpp.

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

Reimplemented from cx::Texture3DSlicerProxy.

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

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

Reimplemented from cx::Texture3DSlicerProxy.

Definition at line 163 of file cxTexture3DSlicerProxy.cpp.

void cx::Texture3DSlicerProxyImpl::transformChangedSlot ( )
protectedslot

Definition at line 398 of file cxTexture3DSlicerProxy.cpp.

void cx::Texture3DSlicerProxyImpl::update ( )
virtual

Reimplemented from cx::Texture3DSlicerProxy.

Definition at line 420 of file cxTexture3DSlicerProxy.cpp.

void cx::Texture3DSlicerProxyImpl::updateColorAttributeSlot ( )
protectedslot

Definition at line 368 of file cxTexture3DSlicerProxy.cpp.


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