46#ifndef vtkUnstructuredGridLinearRayIntegrator_h
47#define vtkUnstructuredGridLinearRayIntegrator_h
49#include "vtkRenderingVolumeModule.h"
52class vtkLinearRayIntegratorTransferFunction;
76 double intensity_front,
double attenuation_front,
77 double intensity_back,
double attenuation_back,
80 const double color_front[3],
81 double attenuation_front,
82 const double color_back[3],
83 double attenuation_back,
92 float attenuation_front,
float attenuation_back);
abstract superclass for arrays of numeric data
dynamic, self-adjusting array of double
a simple class to control print indentation
record modification and/or execution time
performs piecewise linear ray integration.
static vtkUnstructuredGridLinearRayIntegrator * New()
static float Psi(float length, float attenuation_front, float attenuation_back)
Computes Psi (as defined by Moreland and Angel, "A Fast High Accuracy Volume Renderer for Unstructure...
virtual void Initialize(vtkVolume *volume, vtkDataArray *scalars)
Set up the integrator with the given properties and scalars.
static void IntegrateRay(double length, const double color_front[3], double attenuation_front, const double color_back[3], double attenuation_back, float color[4])
int NumIndependentComponents
vtkUnstructuredGridLinearRayIntegrator()
static void IntegrateRay(double length, double intensity_front, double attenuation_front, double intensity_back, double attenuation_back, float color[4])
Integrates a single ray segment.
vtkVolumeProperty * Property
vtkTimeStamp TransferFunctionsModified
virtual void Integrate(vtkDoubleArray *intersectionLengths, vtkDataArray *nearIntersections, vtkDataArray *farIntersections, float color[4])
Given a set of intersections (defined by the three arrays), compute the peicewise integration of the ...
virtual void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkLinearRayIntegratorTransferFunction * TransferFunctions
~vtkUnstructuredGridLinearRayIntegrator()
a superclass for volume ray integration functions
represents the common properties for rendering a volume.
represents a volume (data & properties) in a rendered scene