Go to the documentation of this file.
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 );
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
virtual float * GetDecodedGradient(int value)=0
/ Given an encoded value, return a pointer to the normal vector
virtual int GetNumberOfEncodedDirections(void)=0
Return the number of encoded directions.
virtual int GetEncodedDirection(float n[3])=0
Given a normal vector n, return the encoded direction.
virtual float * GetDecodedGradientTable(void)=0
Get the decoded gradient table.
#define VTK_SIZEHINT(...)
a simple class to control print indentation
encode a direction into a one or two byte value
int IndexTableRecursionDepth
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
A direction encoder based on the recursive subdivision of an octahedron.