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

vtkUnstructuredGridTestRayIntegrator Class Reference

#include <vtkUnstructuredGridTestRayIntegrator.h>

Inheritance diagram for vtkUnstructuredGridTestRayIntegrator:

Inheritance graph
[legend]
Collaboration diagram for vtkUnstructuredGridTestRayIntegrator:

Collaboration graph
[legend]
List of all members.

Detailed Description

vtkUnstructuredGridTestRayIntegrator performs integration in the same way that the original ray cast mapper did. The primary function of this class will be comparing this new code to the old code. This class will probably become obsolete.

See also:
vtkUnstructuredGridVolumeRayCastMapper vtkUnstructuredGridVolumeRayCastFunction
Created by:
  • Moreland, Kenneth
CVS contributions (if > 5%):
  • Moreland, Kenneth (97%)
CVS logs (CVSweb):
  • .h (/Rendering/vtkUnstructuredGridTestRayIntegrator.h)
  • .cxx (/Rendering/vtkUnstructuredGridTestRayIntegrator.cxx)

Definition at line 49 of file vtkUnstructuredGridTestRayIntegrator.h.

Public Types

typedef vtkUnstructuredGridVolumeRayIntegrator Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
virtual void PrintSelf (ostream &os, vtkIndent indent)
virtual void Initialize (vtkVolumeProperty *property, vtkDataArray *scalars)
double ** GetColorTable ()
double * GetColorTableShift ()
double * GetColorTableScale ()
virtual double GetScalarOpacityUnitDistance ()
virtual void Integrate (vtkDoubleArray *intersectionLengths, vtkDataArray *nearIntersections, vtkDataArray *farIntersections, float color[4])

Static Public Member Functions

int IsTypeOf (const char *type)
vtkUnstructuredGridTestRayIntegratorSafeDownCast (vtkObject *o)
vtkUnstructuredGridTestRayIntegratorNew ()

Protected Member Functions

 vtkUnstructuredGridTestRayIntegrator ()
 ~vtkUnstructuredGridTestRayIntegrator ()
virtual void UpdateColorTable (vtkVolumeProperty *property, vtkDataArray *scalars)
void SetNumberOfComponents (int num)

Protected Attributes

double ** ColorTable
int * ColorTableSize
double * ColorTableShift
double * ColorTableScale
vtkColorTransferFunction ** SavedRGBFunction
vtkPiecewiseFunction ** SavedGrayFunction
vtkPiecewiseFunction ** SavedScalarOpacityFunction
int * SavedColorChannels
double * SavedScalarOpacityDistance
double SavedSampleDistance
int SavedNumberOfComponents
vtkDataArraySavedParametersScalars
vtkTimeStamp SavedParametersMTime
double ScalarOpacityUnitDistance


Member Typedef Documentation

typedef vtkUnstructuredGridVolumeRayIntegrator vtkUnstructuredGridTestRayIntegrator::Superclass
 

Reimplemented from vtkUnstructuredGridVolumeRayIntegrator.

Definition at line 53 of file vtkUnstructuredGridTestRayIntegrator.h.


Constructor & Destructor Documentation

vtkUnstructuredGridTestRayIntegrator::vtkUnstructuredGridTestRayIntegrator  )  [protected]
 

vtkUnstructuredGridTestRayIntegrator::~vtkUnstructuredGridTestRayIntegrator  )  [protected]
 


Member Function Documentation

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

Reimplemented from vtkUnstructuredGridVolumeRayIntegrator.

int vtkUnstructuredGridTestRayIntegrator::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 vtkUnstructuredGridVolumeRayIntegrator.

virtual int vtkUnstructuredGridTestRayIntegrator::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 vtkUnstructuredGridVolumeRayIntegrator.

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

Reimplemented from vtkUnstructuredGridVolumeRayIntegrator.

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

vtkUnstructuredGridTestRayIntegrator* vtkUnstructuredGridTestRayIntegrator::New  )  [static]
 

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

Reimplemented from vtkObject.

virtual void vtkUnstructuredGridTestRayIntegrator::Initialize vtkVolumeProperty property,
vtkDataArray scalars
[virtual]
 

Set up the integrator with the given properties.

Implements vtkUnstructuredGridVolumeRayIntegrator.

virtual void vtkUnstructuredGridTestRayIntegrator::Integrate vtkDoubleArray intersectionLengths,
vtkDataArray nearIntersections,
vtkDataArray farIntersections,
float  color[4]
[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.

Implements vtkUnstructuredGridVolumeRayIntegrator.

double** vtkUnstructuredGridTestRayIntegrator::GetColorTable  )  [inline]
 

Definition at line 74 of file vtkUnstructuredGridTestRayIntegrator.h.

double* vtkUnstructuredGridTestRayIntegrator::GetColorTableShift  )  [inline]
 

Definition at line 75 of file vtkUnstructuredGridTestRayIntegrator.h.

double* vtkUnstructuredGridTestRayIntegrator::GetColorTableScale  )  [inline]
 

Definition at line 76 of file vtkUnstructuredGridTestRayIntegrator.h.

virtual double vtkUnstructuredGridTestRayIntegrator::GetScalarOpacityUnitDistance  )  [virtual]
 

virtual void vtkUnstructuredGridTestRayIntegrator::UpdateColorTable vtkVolumeProperty property,
vtkDataArray scalars
[protected, virtual]
 

void vtkUnstructuredGridTestRayIntegrator::SetNumberOfComponents int  num  )  [protected]
 


Member Data Documentation

double** vtkUnstructuredGridTestRayIntegrator::ColorTable [protected]
 

Definition at line 86 of file vtkUnstructuredGridTestRayIntegrator.h.

int* vtkUnstructuredGridTestRayIntegrator::ColorTableSize [protected]
 

Definition at line 87 of file vtkUnstructuredGridTestRayIntegrator.h.

double* vtkUnstructuredGridTestRayIntegrator::ColorTableShift [protected]
 

Definition at line 92 of file vtkUnstructuredGridTestRayIntegrator.h.

double* vtkUnstructuredGridTestRayIntegrator::ColorTableScale [protected]
 

Definition at line 93 of file vtkUnstructuredGridTestRayIntegrator.h.

vtkColorTransferFunction** vtkUnstructuredGridTestRayIntegrator::SavedRGBFunction [protected]
 

Definition at line 99 of file vtkUnstructuredGridTestRayIntegrator.h.

vtkPiecewiseFunction** vtkUnstructuredGridTestRayIntegrator::SavedGrayFunction [protected]
 

Definition at line 100 of file vtkUnstructuredGridTestRayIntegrator.h.

vtkPiecewiseFunction** vtkUnstructuredGridTestRayIntegrator::SavedScalarOpacityFunction [protected]
 

Definition at line 101 of file vtkUnstructuredGridTestRayIntegrator.h.

int* vtkUnstructuredGridTestRayIntegrator::SavedColorChannels [protected]
 

Definition at line 102 of file vtkUnstructuredGridTestRayIntegrator.h.

double* vtkUnstructuredGridTestRayIntegrator::SavedScalarOpacityDistance [protected]
 

Definition at line 103 of file vtkUnstructuredGridTestRayIntegrator.h.

double vtkUnstructuredGridTestRayIntegrator::SavedSampleDistance [protected]
 

Definition at line 104 of file vtkUnstructuredGridTestRayIntegrator.h.

int vtkUnstructuredGridTestRayIntegrator::SavedNumberOfComponents [protected]
 

Definition at line 105 of file vtkUnstructuredGridTestRayIntegrator.h.

vtkDataArray* vtkUnstructuredGridTestRayIntegrator::SavedParametersScalars [protected]
 

Definition at line 106 of file vtkUnstructuredGridTestRayIntegrator.h.

vtkTimeStamp vtkUnstructuredGridTestRayIntegrator::SavedParametersMTime [protected]
 

Definition at line 107 of file vtkUnstructuredGridTestRayIntegrator.h.

double vtkUnstructuredGridTestRayIntegrator::ScalarOpacityUnitDistance [protected]
 

Definition at line 124 of file vtkUnstructuredGridTestRayIntegrator.h.


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