34 #ifndef vtkEncodedGradientEstimator_h
35 #define vtkEncodedGradientEstimator_h
37 #include "vtkRenderingVolumeModule.h"
68 vtkGetMacro( GradientMagnitudeScale,
float );
70 vtkGetMacro( GradientMagnitudeBias,
float );
78 vtkSetClampMacro( BoundsClip,
int, 0, 1 );
79 vtkGetMacro( BoundsClip,
int );
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 );
142 vtkGetMacro( ComputeGradientMagnitudes,
int );
153 vtkGetMacro( CylinderClip,
int );
161 vtkGetMacro( LastUpdateTimeInSeconds,
float );
162 vtkGetMacro( LastUpdateTimeInCPUSeconds,
float );
165 vtkGetMacro( UseCylinderClip,
int );
177 void SetZeroNormalThreshold(
float v );
178 vtkGetMacro( ZeroNormalThreshold,
float );
186 vtkSetClampMacro( ZeroPad,
int, 0, 1 );
187 vtkGetMacro( ZeroPad,
int );
202 int EncodedNormalsSize[3];
210 vtkGetVectorMacro( InputSize,
int, 3 );
211 vtkGetVectorMacro( InputAspect,
float, 3 );
226 virtual
void UpdateNormals(
void ) = 0;
228 float GradientMagnitudeScale;
229 float GradientMagnitudeBias;
231 float LastUpdateTimeInSeconds;
232 float LastUpdateTimeInCPUSeconds;
234 float ZeroNormalThreshold;
238 int CircleLimitsSize;
240 void ComputeCircleLimits(
int size );
246 float InputAspect[3];
248 int ComputeGradientMagnitudes;
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.
A class for performing multithreaded execution.
record modification and/or execution time
virtual void Update()
Updates the extensions string.
Detect and break reference loops.
a simple class to control print indentation
virtual void ReportReferences(vtkGarbageCollector *)
topologically and geometrically regular array of data
Superclass for gradient estimation.
unsigned short * EncodedNormals
unsigned char * GradientMagnitudes
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.