33 #ifndef vtkEncodedGradientEstimator_h
34 #define vtkEncodedGradientEstimator_h
61 vtkSetMacro( GradientMagnitudeScale,
float );
62 vtkGetMacro( GradientMagnitudeScale,
float );
63 vtkSetMacro( GradientMagnitudeBias,
float );
64 vtkGetMacro( GradientMagnitudeBias,
float );
70 vtkSetClampMacro( BoundsClip,
int, 0, 1 );
71 vtkGetMacro( BoundsClip,
int );
72 vtkBooleanMacro( BoundsClip,
int );
79 vtkSetVector6Macro( Bounds,
int );
80 vtkGetVectorMacro( Bounds,
int, 6 );
87 unsigned short *GetEncodedNormals(
void );
91 int GetEncodedNormalIndex(
vtkIdType xyz_index );
92 int GetEncodedNormalIndex(
int x_index,
int y_index,
int z_index );
96 unsigned char *GetGradientMagnitudes(
void);
102 vtkGetMacro( NumberOfThreads,
int );
117 vtkSetMacro( ComputeGradientMagnitudes,
int );
118 vtkGetMacro( ComputeGradientMagnitudes,
int );
119 vtkBooleanMacro( ComputeGradientMagnitudes,
int );
127 vtkSetMacro( CylinderClip,
int );
128 vtkGetMacro( CylinderClip,
int );
129 vtkBooleanMacro( CylinderClip,
int );
134 vtkGetMacro( LastUpdateTimeInSeconds,
float );
135 vtkGetMacro( LastUpdateTimeInCPUSeconds,
float );
138 vtkGetMacro( UseCylinderClip,
int );
148 void SetZeroNormalThreshold(
float v );
149 vtkGetMacro( ZeroNormalThreshold,
float );
155 vtkSetClampMacro( ZeroPad,
int, 0, 1 );
156 vtkGetMacro( ZeroPad,
int );
157 vtkBooleanMacro( ZeroPad,
int );
171 int EncodedNormalsSize[3];
180 vtkGetVectorMacro( InputSize,
int, 3 );
181 vtkGetVectorMacro( InputAspect,
float, 3 );
197 virtual void UpdateNormals(
void ) = 0;
211 void ComputeCircleLimits(
int size );
217 float InputAspect[3];
float LastUpdateTimeInSeconds
abstract base class for most VTK objects
encode a direction into a one or two byte value
int ComputeGradientMagnitudes
float ZeroNormalThreshold
#define VTKRENDERINGVOLUME_EXPORT
A class for performing multithreaded execution.
record modification and/or execution time
float GradientMagnitudeScale
Detect and break reference loops.
float GradientMagnitudeBias
virtual void PrintSelf(ostream &os, vtkIndent indent)
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