22 #ifndef vtkEncodedGradientEstimator_h
23 #define vtkEncodedGradientEstimator_h
26 #include "vtkRenderingVolumeModule.h"
27 #include "vtkThreads.h"
29 VTK_ABI_NAMESPACE_BEGIN
57 vtkSetMacro(GradientMagnitudeScale,
float);
58 vtkGetMacro(GradientMagnitudeScale,
float);
59 vtkSetMacro(GradientMagnitudeBias,
float);
60 vtkGetMacro(GradientMagnitudeBias,
float);
79 vtkSetVector6Macro(Bounds,
int);
80 vtkGetVectorMacro(Bounds,
int, 6);
91 unsigned short* GetEncodedNormals();
97 int GetEncodedNormalIndex(
vtkIdType xyzIndex);
98 int GetEncodedNormalIndex(
int xIndex,
int yIndex,
int zIndex);
104 unsigned char* GetGradientMagnitudes();
111 vtkSetClampMacro(NumberOfThreads,
int, 1, VTK_MAX_THREADS);
112 vtkGetMacro(NumberOfThreads,
int);
131 vtkSetMacro(ComputeGradientMagnitudes,
vtkTypeBool);
132 vtkGetMacro(ComputeGradientMagnitudes,
vtkTypeBool);
133 vtkBooleanMacro(ComputeGradientMagnitudes,
vtkTypeBool);
151 vtkGetMacro(LastUpdateTimeInSeconds,
float);
152 vtkGetMacro(LastUpdateTimeInCPUSeconds,
float);
155 vtkGetMacro(UseCylinderClip,
int);
167 void SetZeroNormalThreshold(
float v);
168 vtkGetMacro(ZeroNormalThreshold,
float);
191 int EncodedNormalsSize[3];
199 vtkGetVectorMacro(InputSize,
int, 3);
200 vtkGetVectorMacro(InputAspect,
float, 3);
215 virtual void UpdateNormals() = 0;
229 void ComputeCircleLimits(
int size);
235 float InputAspect[3];
246 VTK_ABI_NAMESPACE_END
float LastUpdateTimeInSeconds
abstract base class for most VTK objects
encode a direction into a one or two byte value
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
float ZeroNormalThreshold
A class for performing multithreaded execution.
record modification and/or execution time
float GradientMagnitudeScale
Detect and break reference loops.
float GradientMagnitudeBias
a simple class to control print indentation
float LastUpdateTimeInCPUSeconds
virtual void ReportReferences(vtkGarbageCollector *)
topologically and geometrically regular array of data
Superclass for gradient estimation.
unsigned short * EncodedNormals
unsigned char * GradientMagnitudes
vtkMultiThreader * Threader
vtkDirectionEncoder * DirectionEncoder
vtkTypeBool ComputeGradientMagnitudes