25 #ifndef __vtkSphericalDirectionEncoder_h
26 #define __vtkSphericalDirectionEncoder_h
57 return &(this->DecodedGradientTable[0]);
66 static float DecodedGradientTable[65536*3];
70 static void InitializeDecodedGradientTable();
static int DecodedGradientTableInitialized
encode a direction into a one or two byte value
int GetNumberOfEncodedDirections(void)
a simple class to control print indentation
A direction encoder based on spherical coordinates.
virtual void PrintSelf(ostream &os, vtkIndent indent)
virtual float * GetDecodedGradient(int value)=0
virtual int GetEncodedDirection(float n[3])=0
float * GetDecodedGradientTable(void)