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.vtkCurvatures Class Reference

vtkCurvatures - compute curvatures (Gauss and mean) of a Polydata object More...

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

List of all members.

Public Member Functions

 vtkCurvatures (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkCurvatures ()
 Construct with curvature type set to Gauss.
virtual int GetCurvatureType ()
 Set/Get Curvature type VTK_CURVATURE_GAUSS: Gaussian curvature, stored as DataArray "Gauss_Curvature" VTK_CURVATURE_MEAN : Mean curvature, stored as DataArray "Mean_Curvature".
virtual int GetInvertMeanCurvature ()
 Set/Get the flag which inverts the mean curvature calculation for meshes with inward pointing normals (default false)
virtual void InvertMeanCurvatureOff ()
 Set/Get the flag which inverts the mean curvature calculation for meshes with inward pointing normals (default false)
virtual void InvertMeanCurvatureOn ()
 Set/Get the flag which inverts the mean curvature calculation for meshes with inward pointing normals (default false)
override int IsA (string type)
 Undocumented Block.
new vtkCurvatures NewInstance ()
 Undocumented Block.
virtual void SetCurvatureType (int _arg)
 Set/Get Curvature type VTK_CURVATURE_GAUSS: Gaussian curvature, stored as DataArray "Gauss_Curvature" VTK_CURVATURE_MEAN : Mean curvature, stored as DataArray "Mean_Curvature".
void SetCurvatureTypeToGaussian ()
 Set/Get Curvature type VTK_CURVATURE_GAUSS: Gaussian curvature, stored as DataArray "Gauss_Curvature" VTK_CURVATURE_MEAN : Mean curvature, stored as DataArray "Mean_Curvature".
void SetCurvatureTypeToMaximum ()
 Set/Get Curvature type VTK_CURVATURE_GAUSS: Gaussian curvature, stored as DataArray "Gauss_Curvature" VTK_CURVATURE_MEAN : Mean curvature, stored as DataArray "Mean_Curvature".
void SetCurvatureTypeToMean ()
 Set/Get Curvature type VTK_CURVATURE_GAUSS: Gaussian curvature, stored as DataArray "Gauss_Curvature" VTK_CURVATURE_MEAN : Mean curvature, stored as DataArray "Mean_Curvature".
void SetCurvatureTypeToMinimum ()
 Set/Get Curvature type VTK_CURVATURE_GAUSS: Gaussian curvature, stored as DataArray "Gauss_Curvature" VTK_CURVATURE_MEAN : Mean curvature, stored as DataArray "Mean_Curvature".
virtual void SetInvertMeanCurvature (int _arg)
 Set/Get the flag which inverts the mean curvature calculation for meshes with inward pointing normals (default false)

Static Public Member Functions

static new vtkCurvatures New ()
 Construct with curvature type set to Gauss.
static new int IsTypeOf (string type)
 Undocumented Block.
static new vtkCurvatures SafeDownCast (vtkObjectBase o)
 Undocumented Block.

Public Attributes

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

Static Public Attributes

static new readonly string MRClassNameKey = "13vtkCurvatures"
 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 vtkCurvatures_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkCurvatures_GetCurvatureType_01 (HandleRef pThis)
static internal int vtkCurvatures_GetInvertMeanCurvature_02 (HandleRef pThis)
static internal void vtkCurvatures_InvertMeanCurvatureOff_03 (HandleRef pThis)
static internal void vtkCurvatures_InvertMeanCurvatureOn_04 (HandleRef pThis)
static internal int vtkCurvatures_IsA_05 (HandleRef pThis, string type)
static internal int vtkCurvatures_IsTypeOf_06 (string type)
static internal IntPtr vtkCurvatures_NewInstance_08 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkCurvatures_SafeDownCast_09 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkCurvatures_SetCurvatureType_10 (HandleRef pThis, int _arg)
static internal void vtkCurvatures_SetCurvatureTypeToGaussian_11 (HandleRef pThis)
static internal void vtkCurvatures_SetCurvatureTypeToMaximum_12 (HandleRef pThis)
static internal void vtkCurvatures_SetCurvatureTypeToMean_13 (HandleRef pThis)
static internal void vtkCurvatures_SetCurvatureTypeToMinimum_14 (HandleRef pThis)
static internal void vtkCurvatures_SetInvertMeanCurvature_15 (HandleRef pThis, int _arg)

Static Private Member Functions

static vtkCurvatures ()
 Automatically generated type registration mechanics.

Detailed Description

vtkCurvatures - compute curvatures (Gauss and mean) of a Polydata object

Description vtkCurvatures takes a polydata input and computes the curvature of the mesh at each point. Four possible methods of computation are available :

Gauss Curvature discrete Gauss curvature (K) computation, $K(vertex v) = 2*PI-\sum_{facet neighbs f of v} (angle_f at v)$ The contribution of every facet is for the moment weighted by $Area(facet)/3$ The units of Gaussian Curvature are $[1/m^2]$

Mean Curvature $H(vertex v) = average over edges neighbs e of H(e)$ $H(edge e) = length(e)*dihedral_angle(e)$ NB: dihedral_angle is the ORIENTED angle between -PI and PI, this means that the surface is assumed to be orientable the computation creates the orientation The units of Mean Curvature are [1/m]

Maximum ( $k_max$) and Minimum ( $k_min$) Principal Curvatures $k_max = H + sqrt(H^2 - K)$ $k_min = H - sqrt(H^2 - K)$ Excepting spherical and planar surfaces which have equal principal curvatures, the curvature at a point on a surface varies with the direction one "sets off" from the point. For all directions, the curvature will pass through two extrema: a minimum ( $k_min$) and a maximum ( $k_max$) which occur at mutually orthogonal directions to each other.

NB. The sign of the Gauss curvature is a geometric ivariant, it should be +ve when the surface looks like a sphere, -ve when it looks like a saddle, however, the sign of the Mean curvature is not, it depends on the convention for normals - This code assumes that normals point outwards (ie from the surface of a sphere outwards). If a given mesh produces curvatures of opposite senses then the flag InvertMeanCurvature can be set and the Curvature reported by the Mean calculation will be inverted.

Thanks Philip Batchelor philipp.batchelor@kcl.ac.uk for creating and contributing the class and Andrew Maclean a.maclean@acfr.usyd.edu.au for cleanups and fixes. Thanks also to Goodwin Lawlor for contributing patch to calculate principal curvatures


Constructor & Destructor Documentation

static Kitware.VTK.vtkCurvatures.vtkCurvatures ( ) [static, private]

Automatically generated type registration mechanics.

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

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

Construct with curvature type set to Gauss.


Member Function Documentation

override void Kitware.VTK.vtkCurvatures.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.vtkPolyDataAlgorithm.

virtual int Kitware.VTK.vtkCurvatures.GetCurvatureType ( ) [virtual]

Set/Get Curvature type VTK_CURVATURE_GAUSS: Gaussian curvature, stored as DataArray "Gauss_Curvature" VTK_CURVATURE_MEAN : Mean curvature, stored as DataArray "Mean_Curvature".

Set/Get the flag which inverts the mean curvature calculation for meshes with inward pointing normals (default false)

Set/Get the flag which inverts the mean curvature calculation for meshes with inward pointing normals (default false)

Set/Get the flag which inverts the mean curvature calculation for meshes with inward pointing normals (default false)

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

Undocumented Block.

Reimplemented from Kitware.VTK.vtkPolyDataAlgorithm.

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

Undocumented Block.

Reimplemented from Kitware.VTK.vtkPolyDataAlgorithm.

Construct with curvature type set to Gauss.

Reimplemented from Kitware.VTK.vtkPolyDataAlgorithm.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkPolyDataAlgorithm.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkPolyDataAlgorithm.

Here is the call graph for this function:

virtual void Kitware.VTK.vtkCurvatures.SetCurvatureType ( int  _arg) [virtual]

Set/Get Curvature type VTK_CURVATURE_GAUSS: Gaussian curvature, stored as DataArray "Gauss_Curvature" VTK_CURVATURE_MEAN : Mean curvature, stored as DataArray "Mean_Curvature".

Set/Get Curvature type VTK_CURVATURE_GAUSS: Gaussian curvature, stored as DataArray "Gauss_Curvature" VTK_CURVATURE_MEAN : Mean curvature, stored as DataArray "Mean_Curvature".

Set/Get Curvature type VTK_CURVATURE_GAUSS: Gaussian curvature, stored as DataArray "Gauss_Curvature" VTK_CURVATURE_MEAN : Mean curvature, stored as DataArray "Mean_Curvature".

Set/Get Curvature type VTK_CURVATURE_GAUSS: Gaussian curvature, stored as DataArray "Gauss_Curvature" VTK_CURVATURE_MEAN : Mean curvature, stored as DataArray "Mean_Curvature".

Set/Get Curvature type VTK_CURVATURE_GAUSS: Gaussian curvature, stored as DataArray "Gauss_Curvature" VTK_CURVATURE_MEAN : Mean curvature, stored as DataArray "Mean_Curvature".

virtual void Kitware.VTK.vtkCurvatures.SetInvertMeanCurvature ( int  _arg) [virtual]

Set/Get the flag which inverts the mean curvature calculation for meshes with inward pointing normals (default false)

static internal int Kitware.VTK.vtkCurvatures.vtkCurvatures_GetCurvatureType_01 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkCurvatures.vtkCurvatures_GetInvertMeanCurvature_02 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkCurvatures.vtkCurvatures_InvertMeanCurvatureOff_03 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkCurvatures.vtkCurvatures_InvertMeanCurvatureOn_04 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkCurvatures.vtkCurvatures_IsA_05 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkCurvatures.vtkCurvatures_IsTypeOf_06 ( string  type) [private]
static internal IntPtr Kitware.VTK.vtkCurvatures.vtkCurvatures_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkCurvatures.vtkCurvatures_NewInstance_08 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkCurvatures.vtkCurvatures_SafeDownCast_09 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkCurvatures.vtkCurvatures_SetCurvatureType_10 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkCurvatures.vtkCurvatures_SetCurvatureTypeToGaussian_11 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkCurvatures.vtkCurvatures_SetCurvatureTypeToMaximum_12 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkCurvatures.vtkCurvatures_SetCurvatureTypeToMean_13 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkCurvatures.vtkCurvatures_SetCurvatureTypeToMinimum_14 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkCurvatures.vtkCurvatures_SetInvertMeanCurvature_15 ( HandleRef  pThis,
int  _arg 
) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkCurvatures.MRClassNameKey = "13vtkCurvatures" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkPolyDataAlgorithm.

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

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkPolyDataAlgorithm.


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