VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkOpenGLProjectedTetrahedraMapper Class Reference

OpenGL implementation of PT. More...

#include <vtkOpenGLProjectedTetrahedraMapper.h>

Inheritance diagram for vtkOpenGLProjectedTetrahedraMapper:
Inheritance graph
[legend]
Collaboration diagram for vtkOpenGLProjectedTetrahedraMapper:
Collaboration graph
[legend]

List of all members.

Public Types

typedef
vtkProjectedTetrahedraMapper 
Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkOpenGLProjectedTetrahedraMapperNewInstance () const
virtual void PrintSelf (ostream &os, vtkIndent indent)
virtual void ReleaseGraphicsResources (vtkWindow *window)
virtual void Render (vtkRenderer *renderer, vtkVolume *volume)
virtual void SetUseFloatingPointFrameBuffer (bool)
virtual bool GetUseFloatingPointFrameBuffer ()
virtual void UseFloatingPointFrameBufferOn ()
virtual void UseFloatingPointFrameBufferOff ()

Static Public Member Functions

static int IsTypeOf (const char *type)
static
vtkOpenGLProjectedTetrahedraMapper
SafeDownCast (vtkObjectBase *o)
static
vtkOpenGLProjectedTetrahedraMapper
New ()

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkOpenGLProjectedTetrahedraMapper ()
 ~vtkOpenGLProjectedTetrahedraMapper ()
void Initialize (vtkRenderer *ren)
bool CheckFBOResources (vtkRenderer *ren)
virtual void ProjectTetrahedra (vtkRenderer *renderer, vtkVolume *volume)
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)

Protected Attributes

bool Initialized
int CurrentFBOWidth
int CurrentFBOHeight
bool CanDoFloatingPointFrameBuffer
bool FloatingPointFrameBufferResourcesAllocated
bool UseFloatingPointFrameBuffer
vtkUnsignedCharArrayColors
int UsingCellColors
vtkFloatArrayTransformedPoints
float MaxCellSize
vtkTimeStamp InputAnalyzedTime
vtkTimeStamp OpacityTextureTime
vtkTimeStamp ColorsMappedTime
int GaveError
vtkVolumePropertyLastProperty
floatSqrtTable
float SqrtTableBias

Detailed Description

OpenGL implementation of PT.

Bug:
This mapper relies highly on the implementation of the OpenGL pipeline. A typical hardware driver has lots of options and some settings can cause this mapper to produce artifacts.

Definition at line 45 of file vtkOpenGLProjectedTetrahedraMapper.h.


Member Typedef Documentation

Reimplemented from vtkProjectedTetrahedraMapper.

Definition at line 50 of file vtkOpenGLProjectedTetrahedraMapper.h.


Constructor & Destructor Documentation


Member Function Documentation

static int vtkOpenGLProjectedTetrahedraMapper::IsTypeOf ( const char *  name) [static]

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkProjectedTetrahedraMapper.

virtual int vtkOpenGLProjectedTetrahedraMapper::IsA ( const char *  name) [virtual]

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkProjectedTetrahedraMapper.

Reimplemented from vtkProjectedTetrahedraMapper.

Reimplemented from vtkProjectedTetrahedraMapper.

Reimplemented from vtkProjectedTetrahedraMapper.

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkProjectedTetrahedraMapper.

virtual void vtkOpenGLProjectedTetrahedraMapper::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkProjectedTetrahedraMapper.

WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being consumed by this mapper. The parameter window could be used to determine which graphic resources to release.

Reimplemented from vtkUnstructuredGridVolumeMapper.

virtual void vtkOpenGLProjectedTetrahedraMapper::Render ( vtkRenderer ren,
vtkVolume vol 
) [virtual]

WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS Render the volume

Implements vtkUnstructuredGridVolumeMapper.

Set/get whether to use floating-point rendering buffers rather than the default.

Set/get whether to use floating-point rendering buffers rather than the default.

Set/get whether to use floating-point rendering buffers rather than the default.

Set/get whether to use floating-point rendering buffers rather than the default.

virtual void vtkOpenGLProjectedTetrahedraMapper::ProjectTetrahedra ( vtkRenderer renderer,
vtkVolume volume 
) [protected, virtual]
float vtkOpenGLProjectedTetrahedraMapper::GetCorrectedDepth ( float  x,
float  y,
float  z1,
float  z2,
const float  inverse_projection_mat[16],
int  use_linear_depth_correction,
float  linear_depth_correction 
) [protected]

Member Data Documentation

Definition at line 71 of file vtkOpenGLProjectedTetrahedraMapper.h.

Definition at line 72 of file vtkOpenGLProjectedTetrahedraMapper.h.

Definition at line 72 of file vtkOpenGLProjectedTetrahedraMapper.h.

Definition at line 74 of file vtkOpenGLProjectedTetrahedraMapper.h.

Definition at line 75 of file vtkOpenGLProjectedTetrahedraMapper.h.

Definition at line 76 of file vtkOpenGLProjectedTetrahedraMapper.h.

Definition at line 78 of file vtkOpenGLProjectedTetrahedraMapper.h.

Definition at line 79 of file vtkOpenGLProjectedTetrahedraMapper.h.

Definition at line 81 of file vtkOpenGLProjectedTetrahedraMapper.h.

Definition at line 83 of file vtkOpenGLProjectedTetrahedraMapper.h.

Definition at line 84 of file vtkOpenGLProjectedTetrahedraMapper.h.

Definition at line 85 of file vtkOpenGLProjectedTetrahedraMapper.h.

Definition at line 86 of file vtkOpenGLProjectedTetrahedraMapper.h.

Definition at line 88 of file vtkOpenGLProjectedTetrahedraMapper.h.

Definition at line 90 of file vtkOpenGLProjectedTetrahedraMapper.h.

Definition at line 92 of file vtkOpenGLProjectedTetrahedraMapper.h.

Definition at line 93 of file vtkOpenGLProjectedTetrahedraMapper.h.


The documentation for this class was generated from the following file: