17#ifndef vtkRecursiveSphereDirectionEncoder_h
18#define vtkRecursiveSphereDirectionEncoder_h
21#include "vtkRenderingVolumeModule.h"
23VTK_ABI_NAMESPACE_BEGIN
76 vtkSetClampMacro(RecursionDepth,
int, 0, 6);
77 vtkGetMacro(RecursionDepth,
int);
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.
float * GetDecodedGradient(int value) override
/ Given an encoded value, return a pointer to the normal vector
void InitializeIndexTable()
~vtkRecursiveSphereDirectionEncoder() override
void PrintSelf(ostream &os, vtkIndent indent) override
Get the name of this class.
float * GetDecodedGradientTable() override
Get the decoded gradient table.
int IndexTableRecursionDepth
static vtkRecursiveSphereDirectionEncoder * New()
Construct the object.
vtkRecursiveSphereDirectionEncoder()
#define VTK_SIZEHINT(...)