46 #ifndef vtkUnstructuredGridPreIntegration_h
47 #define vtkUnstructuredGridPreIntegration_h
78 vtkSetMacro(IntegrationTableScalarResolution,
int);
79 vtkGetMacro(IntegrationTableScalarResolution,
int);
80 vtkSetMacro(IntegrationTableLengthResolution,
int);
81 vtkGetMacro(IntegrationTableLengthResolution,
int);
86 virtual double GetIntegrationTableScalarShift(
int component = 0);
87 virtual double GetIntegrationTableScalarScale(
int component = 0);
88 virtual double GetIntegrationTableLengthScale();
96 vtkGetMacro(IncrementalPreIntegration,
int);
97 vtkSetMacro(IncrementalPreIntegration,
int);
98 vtkBooleanMacro(IncrementalPreIntegration,
int);
110 virtual float *GetPreIntegrationTable(
int component = 0);
115 float *GetTableEntry(
double scalar_front,
double scalar_back,
double lenth,
123 float *GetIndexedTableEntry(
int scalar_front_index,
int scalar_back_index,
149 virtual void BuildPreIntegrationTables(
vtkDataArray *scalars);
157 int scalar_front_index,
158 int scalar_back_index,
165 if (scalar_front_index < 0) scalar_front_index = 0;
168 if (scalar_back_index < 0) scalar_back_index = 0;
171 if (length_index < 0) length_index = 0;
179 + scalar_front_index));
185 int sfi =
static_cast<int>( scalar_front
194 #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
#define VTKRENDERINGVOLUME_EXPORT
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