vtkDirectionEncoder - encode a direction into a one or two byte value
Super Class: vtkObject
Description:
Given a direction, encode it into an integer value. This value should be less than 65536, which is the maximum number of encoded directions supported by this superclass. A direction encoded is used to encode normals in a volume for use during volume rendering, and the largest amount of space that can be allocated per normal is 2 bytes. This is an abstract superclass - see the subclasses for specific implementation details.
See Also:
Methods:
const char *GetClassName () | |
int GetEncodedDirection (float ) | |
float *GetDecodedGradient (int ) | |
int GetNumberOfEncodedDirections () | |
float *GetDecodedGradientTable () |
Detailed Method Descriptions:
int GetEncodedDirection (float ) |
float *GetDecodedGradient (int ) |
int GetNumberOfEncodedDirections () |
float *GetDecodedGradientTable () |