29 #ifndef vtkRecursiveSphereDirectionEncoder_h 30 #define vtkRecursiveSphereDirectionEncoder_h 32 #include "vtkRenderingVolumeModule.h" 88 vtkSetClampMacro( RecursionDepth,
int, 0, 6 );
89 vtkGetMacro( RecursionDepth,
int );
113 void InitializeIndexTable(
void );
encode a direction into a one or two byte value
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...
virtual float * GetDecodedGradientTable(void)=0
Get the decoded gradient table.
virtual int GetNumberOfEncodedDirections(void)=0
Return the number of encoded directions.