![]() |
CustusX
16.5.0-rc9
An IGT application
|
Helper class for GPU rendering of slices. More...
#include <cxTextureSlicePainter.h>
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 TextureSlicePainter * | New () |
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) |
Helper class for GPU rendering of slices.
Definition at line 99 of file cxTextureSlicePainter.h.
|
protected |
Definition at line 173 of file cxTextureSlicePainter.cpp.
|
protectedvirtual |
Definition at line 200 of file cxTextureSlicePainter.cpp.
|
protected |
Definition at line 327 of file cxTextureSlicePainter.cpp.
|
protected |
Definition at line 402 of file cxTextureSlicePainter.cpp.
|
staticprotected |
Definition at line 332 of file cxTextureSlicePainter.cpp.
|
static |
Definition at line 340 of file cxTextureSlicePainter.cpp.
|
static |
|
protectedvirtual |
Definition at line 221 of file cxTextureSlicePainter.cpp.
void cx::TextureSlicePainter::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
Definition at line 366 of file cxTextureSlicePainter.cpp.
|
virtual |
Definition at line 208 of file cxTextureSlicePainter.cpp.
void cx::TextureSlicePainter::releaseGraphicsResources | ( | int | index | ) |
Definition at line 362 of file cxTextureSlicePainter.cpp.
|
protected |
Definition at line 294 of file cxTextureSlicePainter.cpp.
void cx::TextureSlicePainter::SetColorAttribute | ( | int | index, |
float | window, | ||
float | level, | ||
float | llr, | ||
float | alpha | ||
) |
Definition at line 357 of file cxTextureSlicePainter.cpp.
void cx::TextureSlicePainter::SetLutBuffer | ( | int | index, |
GPUImageLutBufferPtr | buffer | ||
) |
Definition at line 352 of file cxTextureSlicePainter.cpp.
void cx::TextureSlicePainter::setShaderPath | ( | QString | path | ) |
Definition at line 178 of file cxTextureSlicePainter.cpp.
void cx::TextureSlicePainter::SetVolumeBuffer | ( | int | index, |
GPUImageDataBufferPtr | buffer | ||
) |
Definition at line 347 of file cxTextureSlicePainter.cpp.
cx::TextureSlicePainter::vtkTypeMacro | ( | TextureSlicePainter | , |
vtkOpenGLRepresentationPainter | |||
) |