33 #ifndef vtkDirectionEncoder_h
34 #define vtkDirectionEncoder_h
36 #include "vtkRenderingVolumeModule.h"
encode a direction into a one or two byte value
virtual int GetNumberOfEncodedDirections(void)=0
Return the number of encoded directions.
virtual int GetEncodedDirection(float n[3])=0
Given a normal vector n, return the encoded direction.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual float * GetDecodedGradientTable(void)=0
Get the decoded gradient table.
virtual float * GetDecodedGradient(int value)=0
/ Given an encoded value, return a pointer to the normal vector
a simple class to control print indentation
abstract base class for most VTK objects