34 #ifndef vtkEncodedGradientEstimator_h 35 #define vtkEncodedGradientEstimator_h 37 #include "vtkRenderingVolumeModule.h" 67 vtkSetMacro( GradientMagnitudeScale,
float );
68 vtkGetMacro( GradientMagnitudeScale,
float );
69 vtkSetMacro( GradientMagnitudeBias,
float );
70 vtkGetMacro( GradientMagnitudeBias,
float );
89 vtkSetVector6Macro( Bounds,
int );
90 vtkGetVectorMacro( Bounds,
int, 6 );
101 unsigned short *GetEncodedNormals(
void );
107 int GetEncodedNormalIndex(
vtkIdType xyz_index );
108 int GetEncodedNormalIndex(
int x_index,
int y_index,
int z_index );
114 unsigned char *GetGradientMagnitudes(
void);
121 vtkSetClampMacro( NumberOfThreads,
int, 1, VTK_MAX_THREADS );
122 vtkGetMacro( NumberOfThreads,
int );
141 vtkSetMacro( ComputeGradientMagnitudes,
vtkTypeBool );
142 vtkGetMacro( ComputeGradientMagnitudes,
vtkTypeBool );
143 vtkBooleanMacro( ComputeGradientMagnitudes,
vtkTypeBool );
161 vtkGetMacro( LastUpdateTimeInSeconds,
float );
162 vtkGetMacro( LastUpdateTimeInCPUSeconds,
float );
165 vtkGetMacro( UseCylinderClip,
int );
177 void SetZeroNormalThreshold(
float v );
178 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