Go to the documentation of this file.
46 #ifndef vtkUnstructuredGridPreIntegration_h
47 #define vtkUnstructuredGridPreIntegration_h
115 float *GetTableEntry(
double scalar_front,
double scalar_back,
double lenth,
123 float *GetIndexedTableEntry(
int scalar_front_index,
int scalar_back_index,
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
virtual double GetIntegrationTableLengthScale()
double * IntegrationTableScalarScale
a superclass for volume ray integration functions
#define vtkGetObjectMacro(name, type)
vtkUnstructuredGridPreIntegration()
virtual void Integrate(vtkDoubleArray *intersectionLengths, vtkDataArray *nearIntersections, vtkDataArray *farIntersections, float color[4])
represents a volume (data & properties) in a rendered scene
virtual double GetIntegrationTableScalarShift(int component=0)
virtual void PrintSelf(ostream &os, vtkIndent indent)
record modification and/or execution time
#define vtkTypeMacro(thisClass, superclass)
float * GetTableEntry(double scalar_front, double scalar_back, double lenth, int component=0)
abstract superclass for arrays of numeric data
GLuint GLsizei GLsizei * length
vtkTimeStamp IntegrationTableBuilt
virtual double GetIntegrationTableScalarScale(int component=0)
performs ray integration with pre-integration tables.
int IntegrationTableScalarResolution
double * IntegrationTableScalarShift
virtual void SetIntegrator(vtkUnstructuredGridVolumeRayIntegrator *)
double IntegrationTableLengthScale
vtkUnstructuredGridVolumeRayIntegrator * Integrator
int IncrementalPreIntegration
int IntegrationTableLengthResolution
a simple class to control print indentation
virtual float * GetPreIntegrationTable(int component=0)
#define vtkGetMacro(name, type)
virtual void Initialize(vtkVolume *volume, vtkDataArray *scalars)
float ** IntegrationTable
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkSetMacro(IgnoreDriverBugs, bool)
#define VTKRENDERINGVOLUME_EXPORT
dynamic, self-adjusting array of double
float * GetIndexedTableEntry(int scalar_front_index, int scalar_back_index, int length_index, int component=0)
static vtkUnstructuredGridPreIntegration * New()
~vtkUnstructuredGridPreIntegration()
virtual void BuildPreIntegrationTables(vtkDataArray *scalars)
represents the common properties for rendering a volume.
vtkVolumeProperty * Property