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

Helper class for GPU rendering of slices. More...

#include <cxTextureSlicePainter.h>

Inheritance diagram for cx::TextureSlicePainter:

Public Member Functions

 vtkTypeMacro (TextureSlicePainter, vtkOpenGLRepresentationPainter)
 
virtual void ReleaseGraphicsResources (vtkWindow *)
 
void PrintSelf (ostream &os, vtkIndent indent)
 
void setShaderPath (QString path)
 
void SetColorAttribute (int index, float window, float level, float llr, float alpha)
 
void SetVolumeBuffer (int index, GPUImageDataBufferPtr buffer)
 
void SetLutBuffer (int index, GPUImageLutBufferPtr buffer)
 
void releaseGraphicsResources (int index)
 

Static Public Member Functions

static TextureSlicePainterNew ()
 
static bool LoadRequiredExtensions (vtkOpenGLExtensionManager *mgr)
 

Protected Member Functions

 TextureSlicePainter ()
 
virtual ~TextureSlicePainter ()
 
virtual void PrepareForRendering (vtkRenderer *, vtkActor *)
 
void RenderInternal (vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags, bool forceCompileOnly)
 
bool CanRender (vtkRenderer *, vtkActor *)
 
void ClearGraphicsResources ()
 

Static Protected Member Functions

static bool LoadRequiredExtension (vtkOpenGLExtensionManager *mgr, QString id)
 

Detailed Description

Helper class for GPU rendering of slices.

See Also
Texture3DSlicerProxyImpl

Definition at line 99 of file cxTextureSlicePainter.h.

Constructor & Destructor Documentation

cx::TextureSlicePainter::TextureSlicePainter ( )
protected

Definition at line 172 of file cxTextureSlicePainter.cpp.

cx::TextureSlicePainter::~TextureSlicePainter ( )
protectedvirtual

Definition at line 199 of file cxTextureSlicePainter.cpp.

Member Function Documentation

bool cx::TextureSlicePainter::CanRender ( vtkRenderer *  ,
vtkActor *   
)
protected

Definition at line 326 of file cxTextureSlicePainter.cpp.

void cx::TextureSlicePainter::ClearGraphicsResources ( )
protected

Definition at line 401 of file cxTextureSlicePainter.cpp.

bool cx::TextureSlicePainter::LoadRequiredExtension ( vtkOpenGLExtensionManager *  mgr,
QString  id 
)
staticprotected

Definition at line 331 of file cxTextureSlicePainter.cpp.

bool cx::TextureSlicePainter::LoadRequiredExtensions ( vtkOpenGLExtensionManager *  mgr)
static

Definition at line 339 of file cxTextureSlicePainter.cpp.

static TextureSlicePainter* cx::TextureSlicePainter::New ( )
static
void cx::TextureSlicePainter::PrepareForRendering ( vtkRenderer *  renderer,
vtkActor *  actor 
)
protectedvirtual

Definition at line 220 of file cxTextureSlicePainter.cpp.

void cx::TextureSlicePainter::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

Definition at line 365 of file cxTextureSlicePainter.cpp.

void cx::TextureSlicePainter::ReleaseGraphicsResources ( vtkWindow *  win)
virtual

Definition at line 207 of file cxTextureSlicePainter.cpp.

void cx::TextureSlicePainter::releaseGraphicsResources ( int  index)

Definition at line 361 of file cxTextureSlicePainter.cpp.

void cx::TextureSlicePainter::RenderInternal ( vtkRenderer *  renderer,
vtkActor *  actor,
unsigned long  typeflags,
bool  forceCompileOnly 
)
protected

Definition at line 293 of file cxTextureSlicePainter.cpp.

void cx::TextureSlicePainter::SetColorAttribute ( int  index,
float  window,
float  level,
float  llr,
float  alpha 
)

Definition at line 356 of file cxTextureSlicePainter.cpp.

void cx::TextureSlicePainter::SetLutBuffer ( int  index,
GPUImageLutBufferPtr  buffer 
)

Definition at line 351 of file cxTextureSlicePainter.cpp.

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

Definition at line 177 of file cxTextureSlicePainter.cpp.

void cx::TextureSlicePainter::SetVolumeBuffer ( int  index,
GPUImageDataBufferPtr  buffer 
)

Definition at line 346 of file cxTextureSlicePainter.cpp.

cx::TextureSlicePainter::vtkTypeMacro ( TextureSlicePainter  ,
vtkOpenGLRepresentationPainter   
)

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