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