Section: Visualization Toolkit Volume Rendering Classes
To create an instance of class vtkDirectionEncoder, simply invoke its constructor as follows
obj = vtkDirectionEncoder
obj is an instance of the vtkDirectionEncoder class.
string = obj.GetClassName () - Get the name of this class
int = obj.IsA (string name) - Get the name of this class
vtkDirectionEncoder = obj.NewInstance () - Get the name of this class
vtkDirectionEncoder = obj.SafeDownCast (vtkObject o) - Get the name of this class
int = obj.GetEncodedDirection (float n[3]) - Given a normal vector n, return the encoded direction
float = obj.GetDecodedGradient (int value) - / Given an encoded value, return a pointer to the normal vector
int = obj.GetNumberOfEncodedDirections (void ) - Return the number of encoded directions