#include <vtkUnstructuredGridLinearRayIntegrator.h>
Inheritance diagram for vtkUnstructuredGridLinearRayIntegrator:
vtkUnstructuredGridLinearRayIntegrator performs piecewise linear ray integration. Considering that transfer functions in VTK are piecewise linear, this class should give the "correct" integration under most circumstances. However, the computations performed are fairly hefty and should, for the most part, only be used as a benchmark for other, faster methods.
Definition at line 62 of file vtkUnstructuredGridLinearRayIntegrator.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) |
virtual void | Integrate (vtkDoubleArray *intersectionLengths, vtkDataArray *nearIntersections, vtkDataArray *farIntersections, float color[4]) |
Static Public Member Functions | |
int | IsTypeOf (const char *type) |
vtkUnstructuredGridLinearRayIntegrator * | SafeDownCast (vtkObject *o) |
vtkUnstructuredGridLinearRayIntegrator * | New () |
void | IntegrateRay (double length, double intensity_front, double attenuation_front, double intensity_back, double attenuation_back, float color[4]) |
void | IntegrateRay (double length, const double color_front[3], double attenuation_front, const double color_back[3], double attenuation_back, float color[4]) |
float | Psi (float length, float attenuation_front, float attenuation_back) |
Protected Member Functions | |
vtkUnstructuredGridLinearRayIntegrator () | |
~vtkUnstructuredGridLinearRayIntegrator () | |
Protected Attributes | |
vtkVolumeProperty * | Property |
vtkLinearRayIntegratorTransferFunction * | TransferFunctions |
vtkTimeStamp | TransferFunctionsModified |
int | NumIndependentComponents |
|
Reimplemented from vtkUnstructuredGridVolumeRayIntegrator. Definition at line 66 of file vtkUnstructuredGridLinearRayIntegrator.h. |
|
|
|
|
|
Reimplemented from vtkUnstructuredGridVolumeRayIntegrator. |
|
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. |
|
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. |
|
Reimplemented from vtkUnstructuredGridVolumeRayIntegrator. |
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. Reimplemented from vtkObject. |
|
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. |
|
Set up the integrator with the given properties and scalars. Implements vtkUnstructuredGridVolumeRayIntegrator. |
|
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. |
|
Integrates a single ray segment. |
|
Integrates a single ray segment. |
|
Computes Psi (as defined by Moreland and Angel, "A Fast High Accuracy Volume Renderer for Unstructured Data"). |
|
Definition at line 103 of file vtkUnstructuredGridLinearRayIntegrator.h. |
|
Definition at line 105 of file vtkUnstructuredGridLinearRayIntegrator.h. |
|
Definition at line 106 of file vtkUnstructuredGridLinearRayIntegrator.h. |
|
Definition at line 107 of file vtkUnstructuredGridLinearRayIntegrator.h. |