20#ifndef vtkVolumeRayCastSpaceLeapingImageFilter_h
21#define vtkVolumeRayCastSpaceLeapingImageFilter_h
23#include "vtkRenderingVolumeModule.h"
26VTK_ABI_NAMESPACE_BEGIN
140 int inExt[6],
int inDim[3], VTK_FUTURE_CONST
int outExt[6],
vtkImageData* inData);
213 VTK_FUTURE_CONST
int outExt[6],
int id)
override;
238 vtkImageData* minMaxVolume, VTK_FUTURE_CONST
int outExt[6]);
general representation of visualization data
topologically and geometrically regular array of data
a simple class to control print indentation
vtkThreadedImageAlgorithm()
record modification and/or execution time
unsigned short * ScalarOpacityTable[4]
vtkIdType ComputeOffset(const int ext[6], const int wholeExt[6], int nComponents)
INTERNAL - Do not use Compute the offset within an image of whole extents wholeExt,...
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
See superclass for details.
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
See superclass for details.
static vtkVolumeRayCastSpaceLeapingImageFilter * New()
vtkMTimeType GetLastMinMaxFlagTime()
Get the last execution time.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
See superclass for details.
unsigned short * MinNonZeroScalarIndex
vtkTypeBool ComputeMinMax
void AllocateOutputData(vtkImageData *out, vtkInformation *outInfo, VTK_FUTURE_CONST int uExtent[6]) override
Allocate the output data.
void ComputeFirstNonZeroOpacityIndices()
Compute the first non-zero scalar opacity and gradient opacity values that are encountered when march...
vtkTypeBool ComputeGradientOpacity
void FillScalarOpacityFlags(vtkImageData *minMaxVolume, VTK_FUTURE_CONST int outExt[6])
Fill the flags after processing the min/max/gradient structure.
int GetNumberOfIndependentComponents()
Get the number of independent components for which we need to keep track of min/max.
unsigned short * GradientOpacityTable[4]
vtkTypeBool UpdateGradientOpacityFlags
unsigned char ** GetGradientMagnitude()
Pointer to the pre-computed gradient magnitude structure.
unsigned char * MinNonZeroGradientMagnitudeIndex
vtkVolumeRayCastSpaceLeapingImageFilter()
static void ComputeInputExtentsForOutput(int inExt[6], int inDim[3], VTK_FUTURE_CONST int outExt[6], vtkImageData *inData)
Compute the extents and dimensions of the input that's required to generate an output min-max structu...
void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, VTK_FUTURE_CONST int outExt[6], int id) override
See superclass for details.
vtkDataArray * CurrentScalars
virtual void SetCurrentScalars(vtkDataArray *)
Set the scalars.
vtkTimeStamp LastMinMaxBuildTime
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetGradientOpacityTable(int c, unsigned short *t)
Set the scalar opacity and gradient opacity tables computed for each component by the vtkFixedPointVo...
virtual void SetCache(vtkImageData *imageCache)
INTERNAL - Do not use Set the last cached min-max volume, as used by vtkFixedPointVolumeRayCastMapper...
unsigned char ** GradientMagnitude
vtkImageData * AllocateOutputData(vtkDataObject *out, vtkInformation *outInfo) override
Allocate the output data.
void SetGradientMagnitude(unsigned char **gradientMagnitude)
Pointer to the pre-computed gradient magnitude structure.
int IndependentComponents
unsigned short * GetMinMaxVolume(int dims[4])
Get the raw pointer to the final computed space leaping datastructure.
vtkMTimeType GetLastMinMaxBuildTime()
Get the last execution time.
void InternalRequestUpdateExtent(int[6], VTK_FUTURE_CONST int[6])
vtkTimeStamp LastMinMaxFlagTime
unsigned short * GetMinNonZeroScalarIndex()
Get the first non-zero scalar opacity and gradient opacity indices for each independent component INT...
void FillScalarAndGradientOpacityFlags(vtkImageData *minMaxVolume, VTK_FUTURE_CONST int outExt[6])
Fill the flags after processing the min/max/gradient structure.
unsigned char * GetMinNonZeroGradientMagnitudeIndex()
Get the first non-zero scalar opacity and gradient opacity indices for each independent component INT...
~vtkVolumeRayCastSpaceLeapingImageFilter() override
void SetScalarOpacityTable(int c, unsigned short *t)
Set the scalar opacity and gradient opacity tables computed for each component by the vtkFixedPointVo...
vtkTypeUInt32 vtkMTimeType