17 #ifndef vtkRecursiveSphereDirectionEncoder_h
18 #define vtkRecursiveSphereDirectionEncoder_h
21 #include "vtkRenderingVolumeModule.h"
23 VTK_ABI_NAMESPACE_BEGIN
76 vtkSetClampMacro(RecursionDepth,
int, 0, 6);
77 vtkGetMacro(RecursionDepth,
int);
101 void InitializeIndexTable();
113 VTK_ABI_NAMESPACE_END
encode a direction into a one or two byte value
virtual int GetNumberOfEncodedDirections()=0
Return the number of encoded directions.
virtual float * GetDecodedGradientTable()=0
Get the decoded gradient table.
A direction encoder based on the recursive subdivision of an octahedron.
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Get the name of this class.
#define VTK_SIZEHINT(...)
virtual float * GetDecodedGradient(int value)=0
/ Given an encoded value, return a pointer to the normal vector
virtual int GetEncodedDirection(float n[3])=0
Given a normal vector n, return the encoded direction.
int IndexTableRecursionDepth
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...