20 #ifndef vtkVolumeRayCastSpaceLeapingImageFilter_h
21 #define vtkVolumeRayCastSpaceLeapingImageFilter_h
23 #include "vtkRenderingVolumeModule.h"
26 VTK_ABI_NAMESPACE_BEGIN
50 vtkSetMacro(IndependentComponents,
int);
51 vtkGetMacro(IndependentComponents,
int);
60 vtkBooleanMacro(ComputeGradientOpacity,
vtkTypeBool);
77 vtkSetMacro(UpdateGradientOpacityFlags,
vtkTypeBool);
78 vtkGetMacro(UpdateGradientOpacityFlags,
vtkTypeBool);
79 vtkBooleanMacro(UpdateGradientOpacityFlags,
vtkTypeBool);
103 vtkSetVector4Macro(TableShift,
float);
104 vtkGetVector4Macro(TableShift,
float);
105 vtkSetVector4Macro(TableScale,
float);
106 vtkGetVector4Macro(TableScale,
float);
107 vtkSetVector4Macro(TableSize,
int);
108 vtkGetVector4Macro(TableSize,
int);
115 int GetNumberOfIndependentComponents();
125 unsigned short* GetMinMaxVolume(
int dims[4]);
139 static void ComputeInputExtentsForOutput(
140 int inExt[6],
int inDim[3],
int outExt[6],
vtkImageData* inData);
148 unsigned short* GetMinNonZeroScalarIndex();
149 unsigned char* GetMinNonZeroGradientMagnitudeIndex();
158 void SetGradientMagnitude(
unsigned char** gradientMagnitude);
159 unsigned char** GetGradientMagnitude();
167 void SetScalarOpacityTable(
int c,
unsigned short* t);
168 void SetGradientOpacityTable(
int c,
unsigned short* t);
176 vtkIdType ComputeOffset(
const int ext[6],
const int wholeExt[6],
int nComponents);
200 unsigned short* ScalarOpacityTable[4];
201 unsigned short* GradientOpacityTable[4];
204 void InternalRequestUpdateExtent(
int*,
int*);
213 int outExt[6],
int id)
override;
224 void ComputeFirstNonZeroOpacityIndices();
230 void FillScalarOpacityFlags(
vtkImageData* minMaxVolume,
int outExt[6]);
237 void FillScalarAndGradientOpacityFlags(
vtkImageData* minMaxVolume,
int outExt[6]);
254 VTK_ABI_NAMESPACE_END
vtkTypeBool ComputeMinMax
int IndependentComponents
vtkTypeUInt32 vtkMTimeType
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
record modification and/or execution time
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Subclasses can reimplement this method to translate the update extent requests from each output port ...
vtkTimeStamp LastMinMaxBuildTime
Builds the space leaping data structure.
virtual void AllocateOutputData(vtkImageData *out, vtkInformation *outInfo, int *uExtent)
Allocate the output data.
Generic filter that has one input.
vtkTypeBool ComputeGradientOpacity
vtkMTimeType GetLastMinMaxBuildTime()
Get the last execution time.
a simple class to control print indentation
topologically and geometrically regular array of data
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Subclasses can reimplement this method to collect information from their inputs and set information f...
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)
If the subclass does not define an Execute method, then the task will be broken up, multiple threads will be spawned, and each thread will call this method.
vtkMTimeType GetLastMinMaxFlagTime()
Get the last execution time.
unsigned short * MinNonZeroScalarIndex
static vtkAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
unsigned char * MinNonZeroGradientMagnitudeIndex
general representation of visualization data
vtkDataArray * CurrentScalars
vtkTypeBool UpdateGradientOpacityFlags