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