Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vtkUnstructuredGridVolumeRayIntegrator Class Reference

#include <vtkUnstructuredGridVolumeRayIntegrator.h>

Inheritance diagram for vtkUnstructuredGridVolumeRayIntegrator:

Inheritance graph
[legend]
Collaboration diagram for vtkUnstructuredGridVolumeRayIntegrator:

Collaboration graph
[legend]
List of all members.

Detailed Description

a superclass for volume ray integration functions

vtkUnstructuredGridVolumeRayIntegrator is a superclass for ray integration functions that can be used within a vtkUnstructuredGridVolumeRayCastMapper.

See also:
vtkUnstructuredGridVolumeRayCastMapper vtkUnstructuredGridVolumeRayCastFunction
Tests:
vtkUnstructuredGridVolumeRayIntegrator (Tests)

Definition at line 42 of file vtkUnstructuredGridVolumeRayIntegrator.h.

Public Types

typedef vtkObject Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
virtual void PrintSelf (ostream &os, vtkIndent indent)
virtual void Initialize (vtkVolume *volume, vtkDataArray *scalars)=0
virtual void Integrate (vtkDoubleArray *intersectionLengths, vtkDataArray *nearIntersections, vtkDataArray *farIntersections, float color[4])=0

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkUnstructuredGridVolumeRayIntegratorSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkUnstructuredGridVolumeRayIntegrator ()
 ~vtkUnstructuredGridVolumeRayIntegrator ()


Member Typedef Documentation

typedef vtkObject vtkUnstructuredGridVolumeRayIntegrator::Superclass
 

Reimplemented from vtkObject.

Reimplemented in vtkUnstructuredGridHomogeneousRayIntegrator, vtkUnstructuredGridLinearRayIntegrator, vtkUnstructuredGridPartialPreIntegration, and vtkUnstructuredGridPreIntegration.

Definition at line 45 of file vtkUnstructuredGridVolumeRayIntegrator.h.


Constructor & Destructor Documentation

vtkUnstructuredGridVolumeRayIntegrator::vtkUnstructuredGridVolumeRayIntegrator  )  [protected]
 

vtkUnstructuredGridVolumeRayIntegrator::~vtkUnstructuredGridVolumeRayIntegrator  )  [protected]
 


Member Function Documentation

virtual const char* vtkUnstructuredGridVolumeRayIntegrator::GetClassName  )  [virtual]
 

Reimplemented from vtkObject.

Reimplemented in vtkUnstructuredGridHomogeneousRayIntegrator, vtkUnstructuredGridLinearRayIntegrator, vtkUnstructuredGridPartialPreIntegration, and vtkUnstructuredGridPreIntegration.

static int vtkUnstructuredGridVolumeRayIntegrator::IsTypeOf const char *  type  )  [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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkObject.

Reimplemented in vtkUnstructuredGridHomogeneousRayIntegrator, vtkUnstructuredGridLinearRayIntegrator, vtkUnstructuredGridPartialPreIntegration, and vtkUnstructuredGridPreIntegration.

virtual int vtkUnstructuredGridVolumeRayIntegrator::IsA const char *  type  )  [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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkObject.

Reimplemented in vtkUnstructuredGridHomogeneousRayIntegrator, vtkUnstructuredGridLinearRayIntegrator, vtkUnstructuredGridPartialPreIntegration, and vtkUnstructuredGridPreIntegration.

static vtkUnstructuredGridVolumeRayIntegrator* vtkUnstructuredGridVolumeRayIntegrator::SafeDownCast vtkObject o  )  [static]
 

Reimplemented from vtkObject.

Reimplemented in vtkUnstructuredGridHomogeneousRayIntegrator, vtkUnstructuredGridLinearRayIntegrator, vtkUnstructuredGridPartialPreIntegration, and vtkUnstructuredGridPreIntegration.

virtual void vtkUnstructuredGridVolumeRayIntegrator::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 vtkObject.

Reimplemented in vtkUnstructuredGridHomogeneousRayIntegrator, vtkUnstructuredGridLinearRayIntegrator, vtkUnstructuredGridPartialPreIntegration, and vtkUnstructuredGridPreIntegration.

virtual void vtkUnstructuredGridVolumeRayIntegrator::Initialize vtkVolume volume,
vtkDataArray scalars
[pure virtual]
 

Set up the integrator with the given properties and scalars.

Implemented in vtkUnstructuredGridHomogeneousRayIntegrator, vtkUnstructuredGridLinearRayIntegrator, vtkUnstructuredGridPartialPreIntegration, and vtkUnstructuredGridPreIntegration.

virtual void vtkUnstructuredGridVolumeRayIntegrator::Integrate vtkDoubleArray intersectionLengths,
vtkDataArray nearIntersections,
vtkDataArray farIntersections,
float  color[4]
[pure virtual]
 

Given a set of intersections (defined by the three arrays), compute the peicewise integration of the array in front to back order. /c intersectionLengths holds the lengths of each peicewise segment. /c nearIntersections and /c farIntersections hold the scalar values at the front and back of each segment. /c color should contain the RGBA value of the volume in front of the segments passed in, and the result will be placed back into /c color.

Implemented in vtkUnstructuredGridHomogeneousRayIntegrator, vtkUnstructuredGridLinearRayIntegrator, vtkUnstructuredGridPartialPreIntegration, and vtkUnstructuredGridPreIntegration.


The documentation for this class was generated from the following file:
Generated on Tue Jan 22 00:27:27 2008 for VTK by  doxygen 1.4.3-20050530