118 #ifndef vtkOpenGLHAVSVolumeMapper_h
119 #define vtkOpenGLHAVSVolumeMapper_h
121 #include "vtkRenderingVolumeOpenGLModule.h"
170 void InitializeGPUDataStructures();
171 void InitializeShaders();
172 void DeleteShaders();
173 void InitializeFramebufferObject();
176 void SetupFBOZBuffer(
int screenWidth,
int screenHeight,
float depthNear,
float depthFar,
179 void DrawFBOInit(
int screenWidth,
int screenHeight,
float depthNear,
float depthFar);
180 void DrawFBOGeometry();
181 void DrawFBOFlush(
int screenWidth,
int screenHeight,
float depthNear,
float depthFar);
182 void DrawBlend(
int screenWidth,
int screenHeight,
float depthNear,
float depthFar);
184 void CheckOpenGLError(
const char *str);
196 unsigned int FramebufferTextures[4];
unsigned int FragmentProgram
represents a volume (data & properties) in a rendered scene
unsigned int FragmentProgramEnd
void InitializeLookupTables(vtkVolume *vol)
virtual void Render(vtkRenderer *ren, vtkVolume *vol)=0
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
unsigned int VBOVertexName
virtual int FillInputPortInformation(int, vtkInformation *)
Fill the input port information objects for this algorithm.
vtkWeakPointer< vtkRenderWindow > RenderWindow
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
unsigned int DepthTexture
unsigned int FragmentProgramBegin
virtual bool SupportedByHardware(vtkRenderer *vtkNotUsed(r))
Check hardware support for the HAVS algorithm.
abstract specification for renderers
unsigned int VertexProgram
static vtkHAVSVolumeMapper * New()
virtual void Initialize(vtkRenderer *ren, vtkVolume *vol)=0
unsigned int TransferFunctionTexture
unsigned int PsiTableTexture
virtual void SetGPUDataStructures(bool)=0
Set/get whether or not the data structures should be stored on the GPU for better peformance...
window superclass for vtkRenderWindow
unsigned int VBOTexCoordName
a simple class to control print indentation
unsigned int FramebufferObject
create a window for renderers to draw into
Hardware-Assisted Visibility Sorting unstructured grid mapper, OpenGL implementation.
virtual void ReleaseGraphicsResources(vtkWindow *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
Hardware-Assisted Visibility Sorting unstructured grid mapper.
int FramebufferObjectSize
unsigned int VBOVertexIndexName