vtkProjectedTetrahedraMapper Class Reference

#include <vtkProjectedTetrahedraMapper.h>

Inheritance diagram for vtkProjectedTetrahedraMapper:

Inheritance graph
[legend]
Collaboration diagram for vtkProjectedTetrahedraMapper:

Collaboration graph
[legend]

List of all members.


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.
Tests:
vtkProjectedTetrahedraMapper (Tests)

Definition at line 55 of file vtkProjectedTetrahedraMapper.h.


Public Types

typedef
vtkUnstructuredGridVolumeMapper 
Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
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 (vtkObject *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

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

Protected Attributes

vtkVisibilitySortVisibilitySort

Member Typedef Documentation


Constructor & Destructor Documentation

vtkProjectedTetrahedraMapper::vtkProjectedTetrahedraMapper (  )  [protected]

vtkProjectedTetrahedraMapper::~vtkProjectedTetrahedraMapper (  )  [protected]


Member Function Documentation

virtual const char* vtkProjectedTetrahedraMapper::GetClassName (  )  [virtual]

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 vtkMesaProjectedTetrahedraMapper, and 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 vtkMesaProjectedTetrahedraMapper, and vtkOpenGLProjectedTetrahedraMapper.

static vtkProjectedTetrahedraMapper* vtkProjectedTetrahedraMapper::SafeDownCast ( vtkObject o  )  [static]

static vtkProjectedTetrahedraMapper* vtkProjectedTetrahedraMapper::New (  )  [static]

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

Reimplemented from vtkAlgorithm.

Reimplemented in vtkMesaProjectedTetrahedraMapper, and 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 vtkMesaProjectedTetrahedraMapper, and vtkOpenGLProjectedTetrahedraMapper.

virtual void vtkProjectedTetrahedraMapper::SetVisibilitySort ( vtkVisibilitySort sort  )  [virtual]

virtual vtkVisibilitySort* vtkProjectedTetrahedraMapper::GetVisibilitySort (  )  [virtual]

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 78 of file vtkProjectedTetrahedraMapper.h.


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

Generated on Wed Aug 24 11:58:22 2011 for VTK by  doxygen 1.5.6