34 #ifndef vtkEncodedGradientEstimator_h
35 #define vtkEncodedGradientEstimator_h
38 #include "vtkRenderingVolumeModule.h"
39 #include "vtkThreads.h"
68 vtkSetMacro(GradientMagnitudeScale,
float);
69 vtkGetMacro(GradientMagnitudeScale,
float);
70 vtkSetMacro(GradientMagnitudeBias,
float);
71 vtkGetMacro(GradientMagnitudeBias,
float);
90 vtkSetVector6Macro(Bounds,
int);
91 vtkGetVectorMacro(Bounds,
int, 6);
102 unsigned short* GetEncodedNormals(
void);
108 int GetEncodedNormalIndex(
vtkIdType xyzIndex);
109 int GetEncodedNormalIndex(
int xIndex,
int yIndex,
int zIndex);
115 unsigned char* GetGradientMagnitudes(
void);
122 vtkSetClampMacro(NumberOfThreads,
int, 1, VTK_MAX_THREADS);
123 vtkGetMacro(NumberOfThreads,
int);
142 vtkSetMacro(ComputeGradientMagnitudes,
vtkTypeBool);
143 vtkGetMacro(ComputeGradientMagnitudes,
vtkTypeBool);
144 vtkBooleanMacro(ComputeGradientMagnitudes,
vtkTypeBool);
162 vtkGetMacro(LastUpdateTimeInSeconds,
float);
163 vtkGetMacro(LastUpdateTimeInCPUSeconds,
float);
166 vtkGetMacro(UseCylinderClip,
int);
178 void SetZeroNormalThreshold(
float v);
179 vtkGetMacro(ZeroNormalThreshold,
float);
202 int EncodedNormalsSize[3];
210 vtkGetVectorMacro(InputSize,
int, 3);
211 vtkGetVectorMacro(InputAspect,
float, 3);
226 virtual void UpdateNormals(
void) = 0;
240 void ComputeCircleLimits(
int size);
246 float InputAspect[3];
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