#include <vtkProjectedTetrahedraMapper.h>
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.
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 vtkVisibilitySort * | GetVisibilitySort () |
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 | |
vtkVisibilitySort * | VisibilitySort |
Reimplemented from vtkUnstructuredGridVolumeMapper.
Reimplemented in vtkMesaProjectedTetrahedraMapper, and vtkOpenGLProjectedTetrahedraMapper.
Definition at line 59 of file vtkProjectedTetrahedraMapper.h.
vtkProjectedTetrahedraMapper::vtkProjectedTetrahedraMapper | ( | ) | [protected] |
vtkProjectedTetrahedraMapper::~vtkProjectedTetrahedraMapper | ( | ) | [protected] |
virtual const char* vtkProjectedTetrahedraMapper::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkUnstructuredGridVolumeMapper.
Reimplemented in vtkMesaProjectedTetrahedraMapper, and vtkOpenGLProjectedTetrahedraMapper.
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] |
Reimplemented from vtkUnstructuredGridVolumeMapper.
Reimplemented in vtkMesaProjectedTetrahedraMapper, and vtkOpenGLProjectedTetrahedraMapper.
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.
Definition at line 78 of file vtkProjectedTetrahedraMapper.h.