![]() |
CustusX
15.4.0-beta
An IGT application
|
Helper class for GPU rendering of slices. More...
#include <cxTextureSlicePainter.h>
Public Member Functions | |
vtkTypeRevisionMacro (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 92 of file cxTextureSlicePainter.h.
|
protected |
Definition at line 171 of file cxTextureSlicePainter.cpp.
|
protectedvirtual |
Definition at line 198 of file cxTextureSlicePainter.cpp.
|
protected |
Definition at line 325 of file cxTextureSlicePainter.cpp.
|
protected |
Definition at line 400 of file cxTextureSlicePainter.cpp.
|
staticprotected |
Definition at line 330 of file cxTextureSlicePainter.cpp.
|
static |
Definition at line 338 of file cxTextureSlicePainter.cpp.
|
static |
|
protectedvirtual |
Definition at line 219 of file cxTextureSlicePainter.cpp.
void cx::TextureSlicePainter::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
Definition at line 364 of file cxTextureSlicePainter.cpp.
|
virtual |
Definition at line 206 of file cxTextureSlicePainter.cpp.
void cx::TextureSlicePainter::releaseGraphicsResources | ( | int | index | ) |
Definition at line 360 of file cxTextureSlicePainter.cpp.
|
protected |
Definition at line 292 of file cxTextureSlicePainter.cpp.
void cx::TextureSlicePainter::SetColorAttribute | ( | int | index, |
float | window, | ||
float | level, | ||
float | llr, | ||
float | alpha | ||
) |
Definition at line 355 of file cxTextureSlicePainter.cpp.
void cx::TextureSlicePainter::SetLutBuffer | ( | int | index, |
GPUImageLutBufferPtr | buffer | ||
) |
Definition at line 350 of file cxTextureSlicePainter.cpp.
void cx::TextureSlicePainter::setShaderPath | ( | QString | path | ) |
Definition at line 176 of file cxTextureSlicePainter.cpp.
void cx::TextureSlicePainter::SetVolumeBuffer | ( | int | index, |
GPUImageDataBufferPtr | buffer | ||
) |
Definition at line 345 of file cxTextureSlicePainter.cpp.
cx::TextureSlicePainter::vtkTypeRevisionMacro | ( | TextureSlicePainter | , |
vtkOpenGLRepresentationPainter | |||
) |