Go to the documentation of this file.
35 #ifndef vtkOpenGLProjectedTetrahedraMapper_h
36 #define vtkOpenGLProjectedTetrahedraMapper_h
38 #include "vtkRenderingVolumeOpenGL2Module.h"
81 int CurrentFBOWidth, CurrentFBOHeight;
83 bool CanDoFloatingPointFrameBuffer;
84 bool FloatingPointFrameBufferResourcesAllocated;
85 bool UseFloatingPointFrameBuffer;
86 bool HasHardwareSupport;
113 const float inverse_projection_mat[16],
114 int use_linear_depth_correction,
115 float linear_depth_correction);
122 vtkInternals *Internals;
float GetCorrectedDepth(float x, float y, float z1, float z2, const float inverse_projection_mat[16], int use_linear_depth_correction, float linear_depth_correction)
void Initialize(vtkRenderer *ren)
represents a volume (data & properties) in a rendered scene
dynamic, self-adjusting array of float
record modification and/or execution time
dynamic, self-adjusting array of unsigned char
virtual bool IsSupported(vtkRenderWindow *context)
#define vtkTypeMacro(thisClass, superclass)
GLint GLint GLint GLint GLint x
virtual void ReleaseGraphicsResources(vtkWindow *window)
window superclass for vtkRenderWindow
~vtkOpenGLProjectedTetrahedraMapper()
virtual void Render(vtkRenderer *renderer, vtkVolume *volume)
static vtkOpenGLProjectedTetrahedraMapper * New()
a simple class to control print indentation
#define vtkGetMacro(name, type)
virtual void PrintSelf(ostream &os, vtkIndent indent)
OpenGL implementation of PT.
bool AllocateFBOResources(vtkRenderer *ren)
Abstract class that can sort cell data along a viewpoint.
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkSetMacro(IgnoreDriverBugs, bool)
GLint GLint GLint GLint GLint GLint y
virtual void ProjectTetrahedra(vtkRenderer *renderer, vtkVolume *volume)
abstract specification for renderers
vtkOpenGLProjectedTetrahedraMapper()
Unstructured grid volume renderer.
create a window for renderers to draw into
vtkOpenGLVertexBufferObject * VBO
represents the common properties for rendering a volume.