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);
113 VTK_ABI_NAMESPACE_END
encode a direction into a one or two byte value
a simple class to control print indentation
A direction encoder based on the recursive subdivision of an octahedron.
int GetNumberOfEncodedDirections() override
Return the number of encoded directions.
int GetEncodedDirection(float n[3]) override
Given a normal vector n, return the encoded direction.
void InitializeIndexTable()
static vtkRecursiveSphereDirectionEncoder * New()
Construct the object.
~vtkRecursiveSphereDirectionEncoder() override
void PrintSelf(ostream &os, vtkIndent indent) override
Get the name of this class.
int IndexTableRecursionDepth
float * GetDecodedGradientTable() override
Get the decoded gradient table.
float * GetDecodedGradient(int value) override
/ Given an encoded value, return a pointer to the normal vector
vtkRecursiveSphereDirectionEncoder()
#define VTK_SIZEHINT(...)