vtkEncodedGradientEstimator - Superclass for gradient estimation
Super Class: vtkObject
Description:
vtkEncodedGradientEstimator is an abstract superclass for gradient estimation. It takes a scalar input of vtkStructuredPoints, computes a gradient value for every point, and encodes this value into a three byte value (2 for direction, 1 for magnitude) using the vtkDirectionEncoder. The direction encoder is defaulted to a vtkRecursiveSphereDirectionEncoder, but can be overridden with the SetDirectionEncoder method. The scale and the bias values for the gradient magnitude are used to convert it into a one byte value according to v = m*scale + bias where m is the magnitude and v is the resulting one byte value.
See Also:
Methods:
void vtkEncodedGradientEstimator () | |
void vtkEncodedGradientEstimator () | |
const char *GetClassName () | |
void PrintSelf (unknown & ,vtkIndent ) | |
void SetScalarInput (vtkStructuredPoints *) | |
vtkStructuredPoints *GetScalarInput () | |
void SetGradientMagnitudeScale (float ) | |
float GetGradientMagnitudeScale () | |
void SetGradientMagnitudeBias (float ) | |
float GetGradientMagnitudeBias () | |
void Update () | |
unsigned short *GetEncodedNormals () | |
int GetEncodedNormalIndex (int ) | |
int GetEncodedNormalIndex (int ,int ,int ) | |
unsigned char *GetGradientMagnitudes () | |
void SetNumberOfThreads (int ) | |
int GetNumberOfThreads () | |
void SetDirectionEncoder (vtkDirectionEncoder *) | |
vtkDirectionEncoder *GetDirectionEncoder () | |
void UpdateNormals () |
Detailed Method Descriptions:
void SetScalarInput (vtkStructuredPoints *) | |
vtkStructuredPoints *GetScalarInput () |
void SetGradientMagnitudeScale (float ) | |
float GetGradientMagnitudeScale () | |
void SetGradientMagnitudeBias (float ) | |
float GetGradientMagnitudeBias () |
void Update () |
unsigned short *GetEncodedNormals () |
int GetEncodedNormalIndex (int ) | |
int GetEncodedNormalIndex (int ,int ,int ) |
unsigned char *GetGradientMagnitudes () |
void SetNumberOfThreads (int ) | |
int GetNumberOfThreads () |
void SetDirectionEncoder (vtkDirectionEncoder *) | |
vtkDirectionEncoder *GetDirectionEncoder () |