|
VMTK
|
Compute the mean curvature and mean curvature normals of surface point neighborhoods with a particular stencil applied. More...
#include <vtkvmtkPolyDataMeanCurvature.h>
Public Types | |
| typedef vtkPolyDataAlgorithm | Superclass |
Static Public Member Functions | |
| static vtkvmtkPolyDataMeanCurvature * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkvmtkPolyDataMeanCurvature * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
| virtual vtkObjectBase * | NewInstanceInternal () const |
| vtkvmtkPolyDataMeanCurvature () | |
| ~vtkvmtkPolyDataMeanCurvature () | |
| virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) override |
| void | ComputePointMeanCurvatureVector (vtkPolyData *input, vtkIdType pointId, double *meanCurvatureVector) |
| void | ReleaseStencils () |
Protected Attributes | |
| char * | MeanCurvatureScalarsArrayName |
| char * | MeanCurvatureNormalsArrayName |
| int | StencilType |
| vtkvmtkStencils * | Stencils |
| int | ComputeMeanCurvatureScalars |
| int | ComputeMeanCurvatureNormals |
Compute the mean curvature and mean curvature normals of surface point neighborhoods with a particular stencil applied.
vtkvmtkPolyDataMeanCurvature estimates the discrete mean curvature (and/or the mean curvature normal vector) at every point of an input surface using the mean-curvature-normal identity H*n = 0.5 * L(x), where L is a discrete Laplace-Beltrami operator built as a stencil (vtkvmtkStencils, selected by StencilType) over each point's neighborhood. For every point, the stencil weights are applied to the neighbor and center point coordinates (ComputePointMeanCurvatureVector) to obtain the mean curvature normal vector; its norm is written, when ComputeMeanCurvatureScalars is on, to the point data scalar array named MeanCurvatureScalarsArrayName, and the normalized vector is written, when ComputeMeanCurvatureNormals is on, to the point data vector array named MeanCurvatureNormalsArrayName.
Definition at line 45 of file vtkvmtkPolyDataMeanCurvature.h.
| typedef vtkPolyDataAlgorithm vtkvmtkPolyDataMeanCurvature::Superclass |
Definition at line 50 of file vtkvmtkPolyDataMeanCurvature.h.
|
protected |
Definition at line 38 of file vtkvmtkPolyDataMeanCurvature.cxx.
|
protected |
Definition at line 48 of file vtkvmtkPolyDataMeanCurvature.cxx.
|
static |
|
static |
|
virtual |
|
static |
|
protectedvirtual |
| vtkvmtkPolyDataMeanCurvature * vtkvmtkPolyDataMeanCurvature::NewInstance | ( | ) | const |
|
override |
Definition at line 191 of file vtkvmtkPolyDataMeanCurvature.cxx.
|
virtual |
Set/get the stencil type used to build the discrete Laplace-Beltrami operator at each point: VTK_VMTK_UMBRELLA_STENCIL (uniform-weight umbrella operator), VTK_VMTK_AREA_WEIGHTED_UMBRELLA_STENCIL, VTK_VMTK_FE_LAPLACE_BELTRAMI_STENCIL (cotangent weights with finite-element area normalization, the default), or VTK_VMTK_FVFE_LAPLACE_BELTRAMI_STENCIL (cotangent weights with finite-volume/Voronoi area normalization). See vtkvmtkStencils for the corresponding stencil classes.
|
virtual |
Set/get the stencil type used to build the discrete Laplace-Beltrami operator at each point: VTK_VMTK_UMBRELLA_STENCIL (uniform-weight umbrella operator), VTK_VMTK_AREA_WEIGHTED_UMBRELLA_STENCIL, VTK_VMTK_FE_LAPLACE_BELTRAMI_STENCIL (cotangent weights with finite-element area normalization, the default), or VTK_VMTK_FVFE_LAPLACE_BELTRAMI_STENCIL (cotangent weights with finite-volume/Voronoi area normalization). See vtkvmtkStencils for the corresponding stencil classes.
|
inline |
Set/get the stencil type used to build the discrete Laplace-Beltrami operator at each point: VTK_VMTK_UMBRELLA_STENCIL (uniform-weight umbrella operator), VTK_VMTK_AREA_WEIGHTED_UMBRELLA_STENCIL, VTK_VMTK_FE_LAPLACE_BELTRAMI_STENCIL (cotangent weights with finite-element area normalization, the default), or VTK_VMTK_FVFE_LAPLACE_BELTRAMI_STENCIL (cotangent weights with finite-volume/Voronoi area normalization). See vtkvmtkStencils for the corresponding stencil classes.
Definition at line 64 of file vtkvmtkPolyDataMeanCurvature.h.
|
inline |
Set/get the stencil type used to build the discrete Laplace-Beltrami operator at each point: VTK_VMTK_UMBRELLA_STENCIL (uniform-weight umbrella operator), VTK_VMTK_AREA_WEIGHTED_UMBRELLA_STENCIL, VTK_VMTK_FE_LAPLACE_BELTRAMI_STENCIL (cotangent weights with finite-element area normalization, the default), or VTK_VMTK_FVFE_LAPLACE_BELTRAMI_STENCIL (cotangent weights with finite-volume/Voronoi area normalization). See vtkvmtkStencils for the corresponding stencil classes.
Definition at line 66 of file vtkvmtkPolyDataMeanCurvature.h.
|
inline |
Set/get the stencil type used to build the discrete Laplace-Beltrami operator at each point: VTK_VMTK_UMBRELLA_STENCIL (uniform-weight umbrella operator), VTK_VMTK_AREA_WEIGHTED_UMBRELLA_STENCIL, VTK_VMTK_FE_LAPLACE_BELTRAMI_STENCIL (cotangent weights with finite-element area normalization, the default), or VTK_VMTK_FVFE_LAPLACE_BELTRAMI_STENCIL (cotangent weights with finite-volume/Voronoi area normalization). See vtkvmtkStencils for the corresponding stencil classes.
Definition at line 68 of file vtkvmtkPolyDataMeanCurvature.h.
|
inline |
Set/get the stencil type used to build the discrete Laplace-Beltrami operator at each point: VTK_VMTK_UMBRELLA_STENCIL (uniform-weight umbrella operator), VTK_VMTK_AREA_WEIGHTED_UMBRELLA_STENCIL, VTK_VMTK_FE_LAPLACE_BELTRAMI_STENCIL (cotangent weights with finite-element area normalization, the default), or VTK_VMTK_FVFE_LAPLACE_BELTRAMI_STENCIL (cotangent weights with finite-volume/Voronoi area normalization). See vtkvmtkStencils for the corresponding stencil classes.
Definition at line 70 of file vtkvmtkPolyDataMeanCurvature.h.
|
virtual |
Set/get the name of the point data scalar array where the mean curvature magnitude is stored on the output. Required whenever ComputeMeanCurvatureScalars is on.
|
virtual |
Set/get the name of the point data scalar array where the mean curvature magnitude is stored on the output. Required whenever ComputeMeanCurvatureScalars is on.
|
virtual |
Set/get the name of the point data vector array where the (unit) mean curvature normal is stored on the output. Required whenever ComputeMeanCurvatureNormals is on.
|
virtual |
Set/get the name of the point data vector array where the (unit) mean curvature normal is stored on the output. Required whenever ComputeMeanCurvatureNormals is on.
|
virtual |
Toggle computation of the mean curvature scalar (magnitude of the mean curvature normal) at each point, written to MeanCurvatureScalarsArrayName. Default: off.
|
virtual |
Toggle computation of the mean curvature scalar (magnitude of the mean curvature normal) at each point, written to MeanCurvatureScalarsArrayName. Default: off.
|
virtual |
Toggle computation of the mean curvature scalar (magnitude of the mean curvature normal) at each point, written to MeanCurvatureScalarsArrayName. Default: off.
|
virtual |
Toggle computation of the mean curvature scalar (magnitude of the mean curvature normal) at each point, written to MeanCurvatureScalarsArrayName. Default: off.
|
virtual |
Toggle computation of the (unit) mean curvature normal vector at each point, written to MeanCurvatureNormalsArrayName. Default: off.
|
virtual |
Toggle computation of the (unit) mean curvature normal vector at each point, written to MeanCurvatureNormalsArrayName. Default: off.
|
virtual |
Toggle computation of the (unit) mean curvature normal vector at each point, written to MeanCurvatureNormalsArrayName. Default: off.
|
virtual |
Toggle computation of the (unit) mean curvature normal vector at each point, written to MeanCurvatureNormalsArrayName. Default: off.
|
overrideprotectedvirtual |
Definition at line 95 of file vtkvmtkPolyDataMeanCurvature.cxx.
|
protected |
Definition at line 62 of file vtkvmtkPolyDataMeanCurvature.cxx.
|
protected |
Definition at line 53 of file vtkvmtkPolyDataMeanCurvature.cxx.
|
protected |
Definition at line 121 of file vtkvmtkPolyDataMeanCurvature.h.
|
protected |
Definition at line 122 of file vtkvmtkPolyDataMeanCurvature.h.
|
protected |
Definition at line 123 of file vtkvmtkPolyDataMeanCurvature.h.
|
protected |
Definition at line 124 of file vtkvmtkPolyDataMeanCurvature.h.
|
protected |
Definition at line 126 of file vtkvmtkPolyDataMeanCurvature.h.
|
protected |
Definition at line 127 of file vtkvmtkPolyDataMeanCurvature.h.