117 #ifndef vtkOpenGLHAVSVolumeMapper_h
118 #define vtkOpenGLHAVSVolumeMapper_h
164 void InitializeGPUDataStructures();
165 void InitializeShaders();
166 void DeleteShaders();
167 void InitializeFramebufferObject();
170 void SetupFBOZBuffer(
int screenWidth,
int screenHeight,
float depthNear,
float depthFar,
173 void DrawFBOInit(
int screenWidth,
int screenHeight,
float depthNear,
float depthFar);
174 void DrawFBOGeometry();
175 void DrawFBOFlush(
int screenWidth,
int screenHeight,
float depthNear,
float depthFar);
176 void DrawBlend(
int screenWidth,
int screenHeight,
float depthNear,
float depthFar);
178 void CheckOpenGLError(
const char *str);
190 unsigned int FramebufferTextures[4];
unsigned int FragmentProgram
virtual void PrintSelf(ostream &os, vtkIndent indent)
represents a volume (data & properties) in a rendered scene
unsigned int FragmentProgramEnd
#define VTKRENDERINGVOLUMEOPENGL_EXPORT
void InitializeLookupTables(vtkVolume *vol)
virtual void Render(vtkRenderer *ren, vtkVolume *vol)=0
unsigned int VBOVertexName
virtual int FillInputPortInformation(int, vtkInformation *)
vtkWeakPointer< vtkRenderWindow > RenderWindow
unsigned int DepthTexture
unsigned int FragmentProgramBegin
virtual bool SupportedByHardware(vtkRenderer *vtkNotUsed(r))
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
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 *)
Hardware-Assisted Visibility Sorting unstructured grid mapper.
int FramebufferObjectSize
unsigned int VBOVertexIndexName