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

Unstructured grid volume renderer. More...

#include <vtkProjectedTetrahedraMapper.h>

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

List of all members.

Public Types

typedef
vtkUnstructuredGridVolumeMapper 
Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkProjectedTetrahedraMapperNewInstance () const
virtual void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetVisibilitySort (vtkVisibilitySort *sort)
virtual vtkVisibilitySortGetVisibilitySort ()

Static Public Member Functions

static int IsTypeOf (const char *type)
static
vtkProjectedTetrahedraMapper
SafeDownCast (vtkObjectBase *o)
static
vtkProjectedTetrahedraMapper
New ()
static void MapScalarsToColors (vtkDataArray *colors, vtkVolumeProperty *property, vtkDataArray *scalars)
static void TransformPoints (vtkPoints *inPoints, const float projection_mat[16], const float modelview_mat[16], vtkFloatArray *outPoints)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkProjectedTetrahedraMapper ()
 ~vtkProjectedTetrahedraMapper ()
virtual void ReportReferences (vtkGarbageCollector *collector)

Protected Attributes

vtkVisibilitySortVisibilitySort

Detailed Description

Unstructured grid volume renderer.

vtkProjectedTetrahedraMapper is an implementation of the classic Projected Tetrahedra algorithm presented by Shirley and Tuchman in "A Polygonal Approximation to Direct Scalar Volume Rendering" in Computer Graphics, December 1990.

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.
@par      Tests:
          @ref c2_vtk_t_vtkProjectedTetrahedraMapper "vtkProjectedTetrahedraMapper (Tests)"

Definition at line 56 of file vtkProjectedTetrahedraMapper.h.


Member Typedef Documentation

Reimplemented from vtkUnstructuredGridVolumeMapper.

Reimplemented in vtkOpenGLProjectedTetrahedraMapper.

Definition at line 60 of file vtkProjectedTetrahedraMapper.h.


Constructor & Destructor Documentation


Member Function Documentation

static int vtkProjectedTetrahedraMapper::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 vtkUnstructuredGridVolumeMapper.

Reimplemented in vtkOpenGLProjectedTetrahedraMapper.

virtual int vtkProjectedTetrahedraMapper::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 vtkUnstructuredGridVolumeMapper.

Reimplemented in vtkOpenGLProjectedTetrahedraMapper.

virtual vtkObjectBase* vtkProjectedTetrahedraMapper::NewInstanceInternal ( ) const [protected, virtual]

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

Reimplemented from vtkAlgorithm.

Reimplemented in vtkOpenGLProjectedTetrahedraMapper.

virtual void vtkProjectedTetrahedraMapper::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 vtkUnstructuredGridVolumeMapper.

Reimplemented in vtkOpenGLProjectedTetrahedraMapper.

static void vtkProjectedTetrahedraMapper::MapScalarsToColors ( vtkDataArray colors,
vtkVolumeProperty property,
vtkDataArray scalars 
) [static]
static void vtkProjectedTetrahedraMapper::TransformPoints ( vtkPoints inPoints,
const float  projection_mat[16],
const float  modelview_mat[16],
vtkFloatArray outPoints 
) [static]
virtual void vtkProjectedTetrahedraMapper::ReportReferences ( vtkGarbageCollector collector) [protected, virtual]

The visibility sort will probably make a reference loop by holding a reference to the input.

Reimplemented from vtkAlgorithm.


Member Data Documentation

Definition at line 79 of file vtkProjectedTetrahedraMapper.h.


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