33#ifndef vtkDirectionEncoder_h
34#define vtkDirectionEncoder_h
37#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.
vtkDirectionEncoder()=default
void PrintSelf(ostream &os, vtkIndent indent) override
Get the name of this class.
virtual float * GetDecodedGradientTable(void)=0
Get the decoded gradient table.
~vtkDirectionEncoder() override=default
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
#define VTK_SIZEHINT(...)