43 #ifndef vtkUnstructuredGridLinearRayIntegrator_h 44 #define vtkUnstructuredGridLinearRayIntegrator_h 46 #include "vtkRenderingVolumeModule.h" 49 class vtkLinearRayIntegratorTransferFunction;
65 float color[4])
override;
72 static void IntegrateRay(
double length,
73 double intensity_front,
double attenuation_front,
74 double intensity_back,
double attenuation_back,
76 static void IntegrateRay(
double length,
77 const double color_front[3],
78 double attenuation_front,
79 const double color_back[3],
80 double attenuation_back,
88 static float Psi(
float length,
89 float attenuation_front,
float attenuation_back);
106 #endif //vtkUnstructuredGridLinearRayIntegrator_h
represents a volume (data & properties) in a rendered scene
virtual void Initialize(vtkVolume *volume, vtkDataArray *scalars)=0
Set up the integrator with the given properties and scalars.
record modification and/or execution time
vtkVolumeProperty * Property
dynamic, self-adjusting array of double
a superclass for volume ray integration functions
a simple class to control print indentation
abstract superclass for arrays of numeric data
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
represents the common properties for rendering a volume.
int NumIndependentComponents
vtkLinearRayIntegratorTransferFunction * TransferFunctions
performs piecewise linear ray integration.
vtkTimeStamp TransferFunctionsModified
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
virtual void Integrate(vtkDoubleArray *intersectionLengths, vtkDataArray *nearIntersections, vtkDataArray *farIntersections, float color[4])=0
Given a set of intersections (defined by the three arrays), compute the piecewise integration of the ...