A direction encoder based on spherical coordinates.
More...
#include <vtkSphericalDirectionEncoder.h>
Detailed Description
A direction encoder based on spherical coordinates.
vtkSphericalDirectionEncoder is a direction encoder which uses spherical coordinates for mapping (nx, ny, nz) into an azimuth, elevation pair.
- See Also
- vtkDirectionEncoder
Definition at line 30 of file vtkSphericalDirectionEncoder.h.
Member Typedef Documentation
Constructor & Destructor Documentation
vtkSphericalDirectionEncoder::vtkSphericalDirectionEncoder |
( |
| ) |
|
|
protected |
vtkSphericalDirectionEncoder::~vtkSphericalDirectionEncoder |
( |
| ) |
|
|
protected |
Member Function Documentation
virtual const char* vtkSphericalDirectionEncoder::GetClassName |
( |
| ) |
|
|
virtual |
static int vtkSphericalDirectionEncoder::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkSphericalDirectionEncoder::IsA |
( |
const char * |
type | ) |
|
|
virtual |
void vtkSphericalDirectionEncoder::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
|
virtual |
Construct the object. Initialize the index table which will be used to map the normal into a patch on the recursively subdivided sphere.
Reimplemented from vtkObject.
int vtkSphericalDirectionEncoder::GetEncodedDirection |
( |
float |
n[3] | ) |
|
|
virtual |
float* vtkSphericalDirectionEncoder::GetDecodedGradient |
( |
int |
value | ) |
|
|
virtual |
/ Given an encoded value, return a pointer to the normal vector
Implements vtkDirectionEncoder.
int vtkSphericalDirectionEncoder::GetNumberOfEncodedDirections |
( |
void |
| ) |
|
|
inlinevirtual |
float* vtkSphericalDirectionEncoder::GetDecodedGradientTable |
( |
void |
| ) |
|
|
inlinevirtual |
static void vtkSphericalDirectionEncoder::InitializeDecodedGradientTable |
( |
| ) |
|
|
staticprotected |
Initialize the table at startup
Member Data Documentation
float vtkSphericalDirectionEncoder::DecodedGradientTable[65536 *3] |
|
staticprotected |
int vtkSphericalDirectionEncoder::DecodedGradientTableInitialized |
|
staticprotected |
The documentation for this class was generated from the following file: