25 #ifndef vtkSphericalDirectionEncoder_h
26 #define vtkSphericalDirectionEncoder_h
58 return &(this->DecodedGradientTable[0]);
67 static float DecodedGradientTable[65536*3];
71 static void InitializeDecodedGradientTable();
static int DecodedGradientTableInitialized
encode a direction into a one or two byte value
#define VTKRENDERINGVOLUME_EXPORT
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)