32 #ifndef vtkVolumeRayCastSpaceLeapingImageFilter_h 33 #define vtkVolumeRayCastSpaceLeapingImageFilter_h 35 #include "vtkRenderingVolumeModule.h" 61 vtkGetMacro( IndependentComponents,
int );
69 vtkGetMacro( ComputeGradientOpacity,
int );
78 vtkGetMacro( ComputeMinMax,
int );
88 vtkGetMacro( UpdateGradientOpacityFlags,
int );
97 {
return LastMinMaxBuildTime.GetMTime(); }
104 {
return LastMinMaxFlagTime.GetMTime(); }
115 vtkSetVector4Macro( TableShift,
float );
116 vtkGetVector4Macro( TableShift,
float );
117 vtkSetVector4Macro( TableScale,
float );
118 vtkGetVector4Macro( TableScale,
float );
119 vtkSetVector4Macro( TableSize,
int );
120 vtkGetVector4Macro( TableSize,
int );
127 int GetNumberOfIndependentComponents();
137 unsigned short * GetMinMaxVolume(
int dims[4] );
151 static void ComputeInputExtentsForOutput(
int inExt[6],
160 unsigned short * GetMinNonZeroScalarIndex();
161 unsigned char * GetMinNonZeroGradientMagnitudeIndex();
170 void SetGradientMagnitude(
unsigned char ** gradientMagnitude );
171 unsigned char **GetGradientMagnitude();
179 void SetScalarOpacityTable(
int c,
unsigned short * t);
180 void SetGradientOpacityTable(
int c,
unsigned short * t );
188 vtkIdType ComputeOffset(
const int ext[6],
const int wholeExt[6],
200 int IndependentComponents;
207 int ComputeGradientOpacity;
209 int UpdateGradientOpacityFlags;
210 unsigned short * MinNonZeroScalarIndex;
211 unsigned char * MinNonZeroGradientMagnitudeIndex;
212 unsigned char ** GradientMagnitude;
213 unsigned short * ScalarOpacityTable[4];
214 unsigned short * GradientOpacityTable[4];
218 void InternalRequestUpdateExtent(
int *,
int*);
232 int outExt[6],
int id) VTK_OVERRIDE;
246 void ComputeFirstNonZeroOpacityIndices();
252 void FillScalarOpacityFlags(
260 void FillScalarAndGradientOpacityFlags(
271 int *uExtent) VTK_OVERRIDE;
vtkTypeUInt32 vtkMTimeType
record modification and/or execution time
Builds the space leaping data structure.
Generic filter that has one input.
vtkMTimeType GetLastMinMaxBuildTime()
Get the last execution time.
a simple class to control print indentation
topologically and geometrically regular array of data
abstract superclass for arrays of numeric data
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
vtkMTimeType GetLastMinMaxFlagTime()
Get the last execution time.
static vtkAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
general representation of visualization data