|
ActiViz .NET
5.8.0
|
vtkCurvatures - compute curvatures (Gauss and mean) of a Polydata object More...
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. | |
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,
The contribution of every facet is for the moment weighted by
The units of Gaussian Curvature are ![$[1/m^2]$](form_2.png)
Mean Curvature
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 (
) and Minimum (
) Principal Curvatures
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 (
) and a maximum (
) 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
| 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.
| 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".
| virtual int Kitware.VTK.vtkCurvatures.GetInvertMeanCurvature | ( | ) | [virtual] |
Set/Get the flag which inverts the mean curvature calculation for meshes with inward pointing normals (default false)
| virtual void Kitware.VTK.vtkCurvatures.InvertMeanCurvatureOff | ( | ) | [virtual] |
Set/Get the flag which inverts the mean curvature calculation for meshes with inward pointing normals (default false)
| virtual void Kitware.VTK.vtkCurvatures.InvertMeanCurvatureOn | ( | ) | [virtual] |
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.
| static new vtkCurvatures Kitware.VTK.vtkCurvatures.New | ( | ) | [static] |
Construct with curvature type set to Gauss.
Reimplemented from Kitware.VTK.vtkPolyDataAlgorithm.
Undocumented Block.
Reimplemented from Kitware.VTK.vtkPolyDataAlgorithm.
| static new vtkCurvatures Kitware.VTK.vtkCurvatures.SafeDownCast | ( | vtkObjectBase | o | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkPolyDataAlgorithm.
| 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] |
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.
1.7.6.1