|  | VTK
    9.0.1
    | 
 
 
 
Go to the documentation of this file.
   44 #ifndef vtkUnstructuredGridPreIntegration_h 
   45 #define vtkUnstructuredGridPreIntegration_h 
   47 #include "vtkRenderingVolumeModule.h"  
   78   vtkSetMacro(IntegrationTableScalarResolution, 
int);
 
   79   vtkGetMacro(IntegrationTableScalarResolution, 
int);
 
   80   vtkSetMacro(IntegrationTableLengthResolution, 
int);
 
   81   vtkGetMacro(IntegrationTableLengthResolution, 
int);
 
   88   virtual double GetIntegrationTableScalarShift(
int component = 0);
 
   89   virtual double GetIntegrationTableScalarScale(
int component = 0);
 
   90   virtual double GetIntegrationTableLengthScale();
 
  100   vtkGetMacro(IncrementalPreIntegration, 
vtkTypeBool);
 
  101   vtkSetMacro(IncrementalPreIntegration, 
vtkTypeBool);
 
  102   vtkBooleanMacro(IncrementalPreIntegration, 
vtkTypeBool);
 
  116   virtual float* GetPreIntegrationTable(
int component = 0);
 
  122   float* GetTableEntry(
double scalar_front, 
double scalar_back, 
double length, 
int component = 0);
 
  129   float* GetIndexedTableEntry(
 
  130     int scalar_front_index, 
int scalar_back_index, 
int length_index, 
int component = 0);
 
  154   virtual void BuildPreIntegrationTables(
vtkDataArray* scalars);
 
  162   int scalar_front_index, 
int scalar_back_index, 
int length_index, 
int component)
 
  167   if (scalar_front_index < 0)
 
  168     scalar_front_index = 0;
 
  171   if (scalar_back_index < 0)
 
  172     scalar_back_index = 0;
 
  175   if (length_index < 0)
 
  184         scalar_front_index));
 
  198 #endif // vtkUnstructuredGridPreIntegration_h 
  
double * IntegrationTableScalarScale
a superclass for volume ray integration functions
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 ...
represents a volume (data & properties) in a rendered scene
float * GetTableEntry(double scalar_front, double scalar_back, double length, int component=0)
Get an entry (RGBA) in one of the pre-integration tables.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
record modification and/or execution time
abstract superclass for arrays of numeric data
vtkTimeStamp IntegrationTableBuilt
performs ray integration with pre-integration tables.
int IntegrationTableScalarResolution
double * IntegrationTableScalarShift
double IntegrationTableLengthScale
vtkUnstructuredGridVolumeRayIntegrator * Integrator
int IntegrationTableLengthResolution
a simple class to control print indentation
float ** IntegrationTable
virtual void Initialize(vtkVolume *volume, vtkDataArray *scalars)=0
Set up the integrator with the given properties and scalars.
dynamic, self-adjusting array of double
float * GetIndexedTableEntry(int scalar_front_index, int scalar_back_index, int length_index, int component=0)
Like GetTableEntry, except the inputs are scaled indices into the table rather than than the actual s...
vtkTypeBool IncrementalPreIntegration
represents the common properties for rendering a volume.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkVolumeProperty * Property