#include <vtkDirectionEncoder.h>
Inheritance diagram for vtkDirectionEncoder:
Given a direction, encode it into an integer value. This value should be less than 65536, which is the maximum number of encoded directions supported by this superclass. A direction encoded is used to encode normals in a volume for use during volume rendering, and the amount of space that is allocated per normal is 2 bytes. This is an abstract superclass - see the subclasses for specific implementation details.
Definition at line 37 of file vtkDirectionEncoder.h.
Public Types | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
virtual int | GetEncodedDirection (float n[3])=0 |
virtual float * | GetDecodedGradient (int value)=0 |
virtual int | GetNumberOfEncodedDirections (void)=0 |
virtual float * | GetDecodedGradientTable (void)=0 |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkDirectionEncoder * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkDirectionEncoder () | |
~vtkDirectionEncoder () |
|
Get the name of this class Reimplemented from vtkObject. Reimplemented in vtkRecursiveSphereDirectionEncoder. Definition at line 42 of file vtkDirectionEncoder.h. |
|
Definition at line 62 of file vtkDirectionEncoder.h. |
|
Definition at line 63 of file vtkDirectionEncoder.h. |
|
Reimplemented from vtkObject. Reimplemented in vtkRecursiveSphereDirectionEncoder. |
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkObject. Reimplemented in vtkRecursiveSphereDirectionEncoder. |
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkObject. Reimplemented in vtkRecursiveSphereDirectionEncoder. |
|
Reimplemented from vtkObject. Reimplemented in vtkRecursiveSphereDirectionEncoder. |
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkObject. Reimplemented in vtkRecursiveSphereDirectionEncoder. |
|
Given a normal vector n, return the encoded direction Implemented in vtkRecursiveSphereDirectionEncoder. |
|
/ Given an encoded value, return a pointer to the normal vector Implemented in vtkRecursiveSphereDirectionEncoder. |
|
Return the number of encoded directions Implemented in vtkRecursiveSphereDirectionEncoder. |
|
Get the decoded gradient table. There are this->GetNumberOfEncodedDirections() entries in the table, each containing a normal (direction) vector. This is a flat structure - 3 times the number of directions floats in an array. Implemented in vtkRecursiveSphereDirectionEncoder. |