31 #ifndef vtkVolumeRayCastSpaceLeapingImageFilter_h
32 #define vtkVolumeRayCastSpaceLeapingImageFilter_h
55 vtkSetMacro( IndependentComponents,
int );
56 vtkGetMacro( IndependentComponents,
int );
61 vtkSetMacro( ComputeGradientOpacity,
int );
62 vtkGetMacro( ComputeGradientOpacity,
int );
63 vtkBooleanMacro( ComputeGradientOpacity,
int );
68 vtkSetMacro( ComputeMinMax,
int );
69 vtkGetMacro( ComputeMinMax,
int );
70 vtkBooleanMacro( ComputeMinMax,
int );
76 vtkSetMacro( UpdateGradientOpacityFlags,
int );
77 vtkGetMacro( UpdateGradientOpacityFlags,
int );
78 vtkBooleanMacro( UpdateGradientOpacityFlags,
int );
85 {
return LastMinMaxBuildTime.GetMTime(); }
92 {
return LastMinMaxFlagTime.GetMTime(); }
102 vtkSetVector4Macro( TableShift,
float );
103 vtkGetVector4Macro( TableShift,
float );
104 vtkSetVector4Macro( TableScale,
float );
105 vtkGetVector4Macro( TableScale,
float );
106 vtkSetVector4Macro( TableSize,
int );
107 vtkGetVector4Macro( TableSize,
int );
112 int GetNumberOfIndependentComponents();
120 unsigned short * GetMinMaxVolume(
int dims[4] );
130 static void ComputeInputExtentsForOutput(
int inExt[6],
137 unsigned short * GetMinNonZeroScalarIndex();
138 unsigned char * GetMinNonZeroGradientMagnitudeIndex();
146 void SetGradientMagnitude(
unsigned char ** gradientMagnitude );
147 unsigned char **GetGradientMagnitude();
153 void SetScalarOpacityTable(
int c,
unsigned short * t);
154 void SetGradientOpacityTable(
int c,
unsigned short * t );
161 vtkIdType ComputeOffset(
const int ext[6],
const int wholeExt[6],
189 unsigned short * ScalarOpacityTable[4];
190 unsigned short * GradientOpacityTable[4];
194 void InternalRequestUpdateExtent(
int *,
int*);
206 int outExt[6],
int id);
218 void ComputeFirstNonZeroOpacityIndices();
224 void FillScalarOpacityFlags(
232 void FillScalarAndGradientOpacityFlags(
int IndependentComponents
#define VTKRENDERINGVOLUME_EXPORT
record modification and/or execution time
void PrintSelf(ostream &os, vtkIndent indent)
int ComputeGradientOpacity
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkTimeStamp LastMinMaxBuildTime
Builds the space leaping data structure.
virtual void AllocateOutputData(vtkImageData *out, vtkInformation *outInfo, int *uExtent)
unsigned long GetLastMinMaxBuildTime()
Generic filter that has one input..
a simple class to control print indentation
topologically and geometrically regular array of data
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkTimeStamp LastMinMaxFlagTime
abstract superclass for arrays of numeric data
unsigned char ** GradientMagnitude
virtual void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId)
int UpdateGradientOpacityFlags
unsigned short * MinNonZeroScalarIndex
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
static vtkAlgorithm * New()
unsigned long GetLastMinMaxFlagTime()
unsigned char * MinNonZeroGradientMagnitudeIndex
general representation of visualization data
vtkDataArray * CurrentScalars