46 #ifndef __vtkUnstructuredGridPreIntegration_h
47 #define __vtkUnstructuredGridPreIntegration_h
77 vtkSetMacro(IntegrationTableScalarResolution,
int);
78 vtkGetMacro(IntegrationTableScalarResolution,
int);
79 vtkSetMacro(IntegrationTableLengthResolution,
int);
80 vtkGetMacro(IntegrationTableLengthResolution,
int);
85 virtual double GetIntegrationTableScalarShift(
int component = 0);
86 virtual double GetIntegrationTableScalarScale(
int component = 0);
87 virtual double GetIntegrationTableLengthScale();
95 vtkGetMacro(IncrementalPreIntegration,
int);
96 vtkSetMacro(IncrementalPreIntegration,
int);
97 vtkBooleanMacro(IncrementalPreIntegration,
int);
109 virtual float *GetPreIntegrationTable(
int component = 0);
114 float *GetTableEntry(
double scalar_front,
double scalar_back,
double lenth,
122 float *GetIndexedTableEntry(
int scalar_front_index,
int scalar_back_index,
148 virtual void BuildPreIntegrationTables(
vtkDataArray *scalars);
156 int scalar_front_index,
157 int scalar_back_index,
164 if (scalar_front_index < 0) scalar_front_index = 0;
167 if (scalar_back_index < 0) scalar_back_index = 0;
170 if (length_index < 0) length_index = 0;
178 + scalar_front_index));
184 int sfi =
static_cast<int>( scalar_front
193 #endif //__vtkUnstructuredGridPreIntegration_h
represents a volume (data & properties) in a rendered scene
float * GetIndexedTableEntry(int scalar_front_index, int scalar_back_index, int length_index, int component=0)
virtual void Initialize(vtkVolume *volume, vtkDataArray *scalars)=0
vtkUnstructuredGridVolumeRayIntegrator * Integrator
record modification and/or execution time
vtkTimeStamp IntegrationTableBuilt
int IntegrationTableScalarResolution
dynamic, self-adjusting array of double
double * IntegrationTableScalarShift
a superclass for volume ray integration functions
float * GetTableEntry(double scalar_front, double scalar_back, double lenth, int component=0)
double IntegrationTableLengthScale
int IncrementalPreIntegration
a simple class to control print indentation
vtkVolumeProperty * Property
abstract superclass for arrays of numeric data
performs ray integration with pre-integration tables.
float ** IntegrationTable
represents the common properties for rendering a volume.
virtual void PrintSelf(ostream &os, vtkIndent indent)
int IntegrationTableLengthResolution
double * IntegrationTableScalarScale
virtual void Integrate(vtkDoubleArray *intersectionLengths, vtkDataArray *nearIntersections, vtkDataArray *farIntersections, float color[4])=0