Go to the documentation of this file.
32 #ifndef vtkVolumeRayCastSpaceLeapingImageFilter_h
33 #define vtkVolumeRayCastSpaceLeapingImageFilter_h
35 #include "vtkRenderingVolumeModule.h"
60 vtkSetMacro( IndependentComponents,
int );
61 vtkGetMacro( IndependentComponents,
int );
70 vtkBooleanMacro( ComputeGradientOpacity,
vtkTypeBool );
87 vtkSetMacro( UpdateGradientOpacityFlags,
vtkTypeBool );
88 vtkGetMacro( UpdateGradientOpacityFlags,
vtkTypeBool );
89 vtkBooleanMacro( UpdateGradientOpacityFlags,
vtkTypeBool );
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],
213 unsigned short * ScalarOpacityTable[4];
214 unsigned short * GradientOpacityTable[4];
218 void InternalRequestUpdateExtent(
int *,
int*);
232 int outExt[6],
int id)
override;
246 void ComputeFirstNonZeroOpacityIndices();
252 void FillScalarOpacityFlags(
260 void FillScalarAndGradientOpacityFlags(
271 int *uExtent)
override;
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,...
vtkTimeStamp LastMinMaxBuildTime
record modification and/or execution time
Generic filter that has one input.
unsigned char ** GradientMagnitude
abstract superclass for arrays of numeric data
unsigned short * MinNonZeroScalarIndex
vtkTimeStamp LastMinMaxFlagTime
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Subclasses can reimplement this method to translate the update extent requests from each output port ...
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Subclasses can reimplement this method to collect information from their inputs and set information f...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void AllocateOutputData(vtkImageData *out, vtkInformation *outInfo, int *uExtent)
Allocate the output data.
topologically and geometrically regular array of data
a simple class to control print indentation
Builds the space leaping data structure.
vtkMTimeType GetLastMinMaxFlagTime()
Get the last execution time.
static vtkAlgorithm * New()
vtkMTimeType GetLastMinMaxBuildTime()
Get the last execution time.
vtkTypeBool ComputeGradientOpacity
int IndependentComponents
vtkDataArray * CurrentScalars
unsigned char * MinNonZeroGradientMagnitudeIndex
general representation of visualization data
vtkTypeBool UpdateGradientOpacityFlags
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
vtkTypeBool ComputeMinMax
vtkTypeUInt32 vtkMTimeType