21#ifndef vtkDirectionEncoder_h
22#define vtkDirectionEncoder_h
25#include "vtkRenderingVolumeModule.h"
27VTK_ABI_NAMESPACE_BEGIN
encode a direction into a one or two byte value
virtual int GetNumberOfEncodedDirections()=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.
~vtkDirectionEncoder() override=default
virtual float * GetDecodedGradient(int value)=0
/ Given an encoded value, return a pointer to the normal vector
virtual float * GetDecodedGradientTable()=0
Get the decoded gradient table.
a simple class to control print indentation
abstract base class for most VTK objects
#define VTK_SIZEHINT(...)