ActiViz .NET  5.8.0
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Private Member Functions | Static Private Member Functions
Kitware.VTK.vtkRecursiveSphereDirectionEncoder Class Reference

vtkRecursiveSphereDirectionEncoder - A direction encoder based on the recursive subdivision of an octahedron More...

Inheritance diagram for Kitware.VTK.vtkRecursiveSphereDirectionEncoder:
[legend]
Collaboration diagram for Kitware.VTK.vtkRecursiveSphereDirectionEncoder:
[legend]

List of all members.

Public Member Functions

 vtkRecursiveSphereDirectionEncoder (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkRecursiveSphereDirectionEncoder ()
 Construct the object. Initialize the index table which will be used to map the normal into a patch on the recursively subdivided sphere.
override float[] GetDecodedGradient (int value)
 Given an encoded value, return a pointer to the normal vector.
override IntPtr GetDecodedGradientTable ()
 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.
override int GetEncodedDirection (IntPtr n)
 Given a normal vector n, return the encoded direction.
override int GetNumberOfEncodedDirections ()
 Return the number of encoded directions.
virtual int GetRecursionDepth ()
 Set / Get the recursion depth for the subdivision. This indicates how many time one triangle on the initial 8-sided sphere model is replaced by four triangles formed by connecting triangle edge midpoints. A recursion level of 0 yields 8 triangles with 6 unique vertices. The normals are the vectors from the sphere center through the vertices. The number of directions will be 11 since the four normals with 0 z values will be duplicated in the table - once with +0 values and the other time with -0 values, and an addition index will be used to represent the (0,0,0) normal. If we instead choose a recursion level of 6 (the maximum that can fit within 2 bytes) the number of directions is 16643, with 16386 unique directions and a zero normal.
virtual int GetRecursionDepthMaxValue ()
 Set / Get the recursion depth for the subdivision. This indicates how many time one triangle on the initial 8-sided sphere model is replaced by four triangles formed by connecting triangle edge midpoints. A recursion level of 0 yields 8 triangles with 6 unique vertices. The normals are the vectors from the sphere center through the vertices. The number of directions will be 11 since the four normals with 0 z values will be duplicated in the table - once with +0 values and the other time with -0 values, and an addition index will be used to represent the (0,0,0) normal. If we instead choose a recursion level of 6 (the maximum that can fit within 2 bytes) the number of directions is 16643, with 16386 unique directions and a zero normal.
virtual int GetRecursionDepthMinValue ()
 Set / Get the recursion depth for the subdivision. This indicates how many time one triangle on the initial 8-sided sphere model is replaced by four triangles formed by connecting triangle edge midpoints. A recursion level of 0 yields 8 triangles with 6 unique vertices. The normals are the vectors from the sphere center through the vertices. The number of directions will be 11 since the four normals with 0 z values will be duplicated in the table - once with +0 values and the other time with -0 values, and an addition index will be used to represent the (0,0,0) normal. If we instead choose a recursion level of 6 (the maximum that can fit within 2 bytes) the number of directions is 16643, with 16386 unique directions and a zero normal.
override int IsA (string type)
 Undocumented Block.
new
vtkRecursiveSphereDirectionEncoder 
NewInstance ()
 Undocumented Block.
virtual void SetRecursionDepth (int _arg)
 Set / Get the recursion depth for the subdivision. This indicates how many time one triangle on the initial 8-sided sphere model is replaced by four triangles formed by connecting triangle edge midpoints. A recursion level of 0 yields 8 triangles with 6 unique vertices. The normals are the vectors from the sphere center through the vertices. The number of directions will be 11 since the four normals with 0 z values will be duplicated in the table - once with +0 values and the other time with -0 values, and an addition index will be used to represent the (0,0,0) normal. If we instead choose a recursion level of 6 (the maximum that can fit within 2 bytes) the number of directions is 16643, with 16386 unique directions and a zero normal.

Static Public Member Functions

static new
vtkRecursiveSphereDirectionEncoder 
New ()
 Construct the object. Initialize the index table which will be used to map the normal into a patch on the recursively subdivided sphere.
static new int IsTypeOf (string type)
 Undocumented Block.
static new
vtkRecursiveSphereDirectionEncoder 
SafeDownCast (vtkObjectBase o)
 Undocumented Block.

Public Attributes

new const string MRFullTypeName = "Kitware.VTK.vtkRecursiveSphereDirectionEncoder"
 Automatically generated type registration mechanics.

Static Public Attributes

static new readonly string MRClassNameKey = "34vtkRecursiveSphereDirectionEncoder"
 Automatically generated type registration mechanics.

Protected Member Functions

override void Dispose (bool disposing)
 Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Private Member Functions

static internal IntPtr vtkRecursiveSphereDirectionEncoder_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkRecursiveSphereDirectionEncoder_GetDecodedGradient_01 (HandleRef pThis, int value)
static internal IntPtr vtkRecursiveSphereDirectionEncoder_GetDecodedGradientTable_02 (HandleRef pThis)
static internal int vtkRecursiveSphereDirectionEncoder_GetEncodedDirection_03 (HandleRef pThis, IntPtr n)
static internal int vtkRecursiveSphereDirectionEncoder_GetNumberOfEncodedDirections_04 (HandleRef pThis)
static internal int vtkRecursiveSphereDirectionEncoder_GetRecursionDepth_05 (HandleRef pThis)
static internal int vtkRecursiveSphereDirectionEncoder_GetRecursionDepthMaxValue_06 (HandleRef pThis)
static internal int vtkRecursiveSphereDirectionEncoder_GetRecursionDepthMinValue_07 (HandleRef pThis)
static internal int vtkRecursiveSphereDirectionEncoder_IsA_08 (HandleRef pThis, string type)
static internal int vtkRecursiveSphereDirectionEncoder_IsTypeOf_09 (string type)
static internal IntPtr vtkRecursiveSphereDirectionEncoder_NewInstance_11 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkRecursiveSphereDirectionEncoder_SafeDownCast_12 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkRecursiveSphereDirectionEncoder_SetRecursionDepth_13 (HandleRef pThis, int _arg)

Static Private Member Functions

static vtkRecursiveSphereDirectionEncoder ()
 Automatically generated type registration mechanics.

Detailed Description

vtkRecursiveSphereDirectionEncoder - A direction encoder based on the recursive subdivision of an octahedron

Description vtkRecursiveSphereDirectionEncoder is a direction encoder which uses the vertices of a recursive subdivision of an octahedron (with the vertices pushed out onto the surface of an enclosing sphere) to encode directions into a two byte value.

vtkDirectionEncoder


Constructor & Destructor Documentation

Automatically generated type registration mechanics.

Kitware.VTK.vtkRecursiveSphereDirectionEncoder.vtkRecursiveSphereDirectionEncoder ( IntPtr  rawCppThis,
bool  callDisposalMethod,
bool  strong 
)

Automatically generated constructor - called from generated code. DO NOT call directly.

Construct the object. Initialize the index table which will be used to map the normal into a patch on the recursively subdivided sphere.


Member Function Documentation

override void Kitware.VTK.vtkRecursiveSphereDirectionEncoder.Dispose ( bool  disposing) [protected]

Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Reimplemented from Kitware.VTK.vtkDirectionEncoder.

override float [] Kitware.VTK.vtkRecursiveSphereDirectionEncoder.GetDecodedGradient ( int  value) [virtual]

Given an encoded value, return a pointer to the normal vector.

Reimplemented from Kitware.VTK.vtkDirectionEncoder.

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.

Reimplemented from Kitware.VTK.vtkDirectionEncoder.

Given a normal vector n, return the encoded direction.

Reimplemented from Kitware.VTK.vtkDirectionEncoder.

Return the number of encoded directions.

Reimplemented from Kitware.VTK.vtkDirectionEncoder.

Set / Get the recursion depth for the subdivision. This indicates how many time one triangle on the initial 8-sided sphere model is replaced by four triangles formed by connecting triangle edge midpoints. A recursion level of 0 yields 8 triangles with 6 unique vertices. The normals are the vectors from the sphere center through the vertices. The number of directions will be 11 since the four normals with 0 z values will be duplicated in the table - once with +0 values and the other time with -0 values, and an addition index will be used to represent the (0,0,0) normal. If we instead choose a recursion level of 6 (the maximum that can fit within 2 bytes) the number of directions is 16643, with 16386 unique directions and a zero normal.

Set / Get the recursion depth for the subdivision. This indicates how many time one triangle on the initial 8-sided sphere model is replaced by four triangles formed by connecting triangle edge midpoints. A recursion level of 0 yields 8 triangles with 6 unique vertices. The normals are the vectors from the sphere center through the vertices. The number of directions will be 11 since the four normals with 0 z values will be duplicated in the table - once with +0 values and the other time with -0 values, and an addition index will be used to represent the (0,0,0) normal. If we instead choose a recursion level of 6 (the maximum that can fit within 2 bytes) the number of directions is 16643, with 16386 unique directions and a zero normal.

Set / Get the recursion depth for the subdivision. This indicates how many time one triangle on the initial 8-sided sphere model is replaced by four triangles formed by connecting triangle edge midpoints. A recursion level of 0 yields 8 triangles with 6 unique vertices. The normals are the vectors from the sphere center through the vertices. The number of directions will be 11 since the four normals with 0 z values will be duplicated in the table - once with +0 values and the other time with -0 values, and an addition index will be used to represent the (0,0,0) normal. If we instead choose a recursion level of 6 (the maximum that can fit within 2 bytes) the number of directions is 16643, with 16386 unique directions and a zero normal.

override int Kitware.VTK.vtkRecursiveSphereDirectionEncoder.IsA ( string  type) [virtual]

Undocumented Block.

Reimplemented from Kitware.VTK.vtkDirectionEncoder.

static new int Kitware.VTK.vtkRecursiveSphereDirectionEncoder.IsTypeOf ( string  type) [static]

Undocumented Block.

Reimplemented from Kitware.VTK.vtkDirectionEncoder.

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 Kitware.VTK.vtkObject.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkDirectionEncoder.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkDirectionEncoder.

Here is the call graph for this function:

Set / Get the recursion depth for the subdivision. This indicates how many time one triangle on the initial 8-sided sphere model is replaced by four triangles formed by connecting triangle edge midpoints. A recursion level of 0 yields 8 triangles with 6 unique vertices. The normals are the vectors from the sphere center through the vertices. The number of directions will be 11 since the four normals with 0 z values will be duplicated in the table - once with +0 values and the other time with -0 values, and an addition index will be used to represent the (0,0,0) normal. If we instead choose a recursion level of 6 (the maximum that can fit within 2 bytes) the number of directions is 16643, with 16386 unique directions and a zero normal.

static internal IntPtr Kitware.VTK.vtkRecursiveSphereDirectionEncoder.vtkRecursiveSphereDirectionEncoder_GetDecodedGradient_01 ( HandleRef  pThis,
int  value 
) [private]
static internal int Kitware.VTK.vtkRecursiveSphereDirectionEncoder.vtkRecursiveSphereDirectionEncoder_IsA_08 ( HandleRef  pThis,
string  type 
) [private]
static internal IntPtr Kitware.VTK.vtkRecursiveSphereDirectionEncoder.vtkRecursiveSphereDirectionEncoder_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkRecursiveSphereDirectionEncoder.vtkRecursiveSphereDirectionEncoder_NewInstance_11 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkRecursiveSphereDirectionEncoder.vtkRecursiveSphereDirectionEncoder_SafeDownCast_12 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkRecursiveSphereDirectionEncoder.vtkRecursiveSphereDirectionEncoder_SetRecursionDepth_13 ( HandleRef  pThis,
int  _arg 
) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkRecursiveSphereDirectionEncoder.MRClassNameKey = "34vtkRecursiveSphereDirectionEncoder" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkDirectionEncoder.

new const string Kitware.VTK.vtkRecursiveSphereDirectionEncoder.MRFullTypeName = "Kitware.VTK.vtkRecursiveSphereDirectionEncoder"

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkDirectionEncoder.


The documentation for this class was generated from the following file: