|
VMTK
|
Compute shape-related quantities over a surface. More...
#include <vtkvmtkPolyDataLocalGeometry.h>
Public Types | |
| typedef vtkPolyDataAlgorithm | Superclass |
Static Public Member Functions | |
| static int | IsTypeOf (const char *type) |
| static vtkvmtkPolyDataLocalGeometry * | SafeDownCast (vtkObjectBase *o) |
| static vtkvmtkPolyDataLocalGeometry * | New () |
Protected Member Functions | |
| virtual vtkObjectBase * | NewInstanceInternal () const |
| vtkvmtkPolyDataLocalGeometry () | |
| ~vtkvmtkPolyDataLocalGeometry () | |
| virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) override |
| void | AdjustBoundaryQuantities (vtkPolyData *output) |
Protected Attributes | |
| int | ComputePoleVectors |
| int | ComputeGeodesicDistance |
| int | ComputeNormalizedTangencyDeviation |
| int | ComputeEuclideanDistance |
| int | ComputeCenterlineVectors |
| int | ComputeCellIds |
| int | ComputePCoords |
| int | AdjustBoundaryValues |
| char * | PoleVectorsArrayName |
| char * | GeodesicDistanceArrayName |
| char * | NormalizedTangencyDeviationArrayName |
| char * | EuclideanDistanceArrayName |
| char * | CenterlineVectorsArrayName |
| char * | CellIdsArrayName |
| char * | PCoordsArrayName |
| char * | VoronoiGeodesicDistanceArrayName |
| char * | VoronoiPoleCenterlineVectorsArrayName |
| char * | VoronoiCellIdsArrayName |
| char * | VoronoiPCoordsArrayName |
| vtkPolyData * | VoronoiDiagram |
| vtkIdList * | PoleIds |
Compute shape-related quantities over a surface.
This class computes geodesic distance to centerlines and normalized tangency deviation distribution over a surface given the Voronoi diagram of its points, the ids of Voronoi diagram points which are poles of surface points, and the field of the geodesic distance from centerlines computed over the Voronoi diagram.
Geodesic distance to centerlines field is computed as
\[ D_g(\mathbf{x}) = T(\mathbf{p}(\mathbf{x})) + |\mathbf{p}(\mathbf{x}) - \mathbf{x}| \]
where T(x) is the geodesic distance to centerlines field defined on the Voronoi diagram (computed by solving the Eikonal equation with unit speed over the Voronoi diagram by means of vtkNonManifoldFastMarching), and p(x) is the pole associated with surface point x.
Normalized tangency deviation is a normalized measure of how much a surface point is far from being a tangency point to the envelope of maximal spheres defined on the centerlines (their envelope is the maximal inscribed cylinder), and it is computed as
\[\mathit{NTD}=\frac{T(\mathbf{p}(\mathbf{x}))}{D_g(\mathbf{x})}\]
This quantity ranges from 0 to 1, and it is independent from the radius of the maximal inscribed cylinder (on an elliptical base cylinder, NTD only depends on base ellipse eccentricity).
The description given here is particularly suited for the description of tubular surfaces in terms of centerlines, but this class can be used without this assumption. Whenever a geodesic distance field is computed over the Voronoi diagram associated with a shape from a subset of the Voronoi diagram itself (in this context, the centerlines), the surface geodesic distance field and the normalized tangency deviation can be defined, and this class can be used to compute them.
Definition at line 48 of file vtkvmtkPolyDataLocalGeometry.h.
| typedef vtkPolyDataAlgorithm vtkvmtkPolyDataLocalGeometry::Superclass |
Definition at line 51 of file vtkvmtkPolyDataLocalGeometry.h.
|
protected |
Definition at line 40 of file vtkvmtkPolyDataLocalGeometry.cxx.
|
protected |
Definition at line 68 of file vtkvmtkPolyDataLocalGeometry.cxx.
|
static |
|
virtual |
|
static |
|
protectedvirtual |
| vtkvmtkPolyDataLocalGeometry * vtkvmtkPolyDataLocalGeometry::NewInstance | ( | ) | const |
|
override |
Definition at line 575 of file vtkvmtkPolyDataLocalGeometry.cxx.
|
static |
|
virtual |
Turn on/off the computation, for every surface point, of the vector from that point to its Voronoi pole (the point of VoronoiDiagram identified by PoleIds), stored in PoleVectorsArrayName.
|
virtual |
Turn on/off the computation, for every surface point, of the vector from that point to its Voronoi pole (the point of VoronoiDiagram identified by PoleIds), stored in PoleVectorsArrayName.
|
virtual |
Turn on/off the computation, for every surface point, of the vector from that point to its Voronoi pole (the point of VoronoiDiagram identified by PoleIds), stored in PoleVectorsArrayName.
|
virtual |
Turn on/off the computation, for every surface point, of the vector from that point to its Voronoi pole (the point of VoronoiDiagram identified by PoleIds), stored in PoleVectorsArrayName.
|
virtual |
Turn on/off the computation of geodesic distance to centerlines.
|
virtual |
Turn on/off the computation of geodesic distance to centerlines.
|
virtual |
Turn on/off the computation of geodesic distance to centerlines.
|
virtual |
Turn on/off the computation of geodesic distance to centerlines.
|
virtual |
Set/Get the name of the point data array where geodesic distance to centerlines is stored after execution. Commonly named "GeodesicDistance".
|
virtual |
Set/Get the name of the point data array where geodesic distance to centerlines is stored after execution. Commonly named "GeodesicDistance".
|
virtual |
Turn on/off the computation of normalized tangency deviation.
|
virtual |
Turn on/off the computation of normalized tangency deviation.
|
virtual |
Turn on/off the computation of normalized tangency deviation.
|
virtual |
Turn on/off the computation of normalized tangency deviation.
|
virtual |
Set/Get the name of the point data array where normalized tangency deviation is stored after execution. Commonly named "NTD".
|
virtual |
Set/Get the name of the point data array where normalized tangency deviation is stored after execution. Commonly named "NTD".
|
virtual |
Turn on/off the computation, for every surface point, of the Euclidean distance to the corresponding point on the centerlines (surface point's pole, offset by the pole's VoronoiPoleCenterlineVectorsArrayName vector), stored in EuclideanDistanceArrayName.
|
virtual |
Turn on/off the computation, for every surface point, of the Euclidean distance to the corresponding point on the centerlines (surface point's pole, offset by the pole's VoronoiPoleCenterlineVectorsArrayName vector), stored in EuclideanDistanceArrayName.
|
virtual |
Turn on/off the computation, for every surface point, of the Euclidean distance to the corresponding point on the centerlines (surface point's pole, offset by the pole's VoronoiPoleCenterlineVectorsArrayName vector), stored in EuclideanDistanceArrayName.
|
virtual |
Turn on/off the computation, for every surface point, of the Euclidean distance to the corresponding point on the centerlines (surface point's pole, offset by the pole's VoronoiPoleCenterlineVectorsArrayName vector), stored in EuclideanDistanceArrayName.
|
virtual |
Set/Get the name of the point data array where the Euclidean distance to centerlines is stored after execution, when ComputeEuclideanDistance is on. Commonly named "EuclideanDistance".
|
virtual |
Set/Get the name of the point data array where the Euclidean distance to centerlines is stored after execution, when ComputeEuclideanDistance is on. Commonly named "EuclideanDistance".
|
virtual |
Turn on/off the computation, for every surface point, of the vector from that point to the corresponding point on the centerlines, stored in CenterlineVectorsArrayName.
|
virtual |
Turn on/off the computation, for every surface point, of the vector from that point to the corresponding point on the centerlines, stored in CenterlineVectorsArrayName.
|
virtual |
Turn on/off the computation, for every surface point, of the vector from that point to the corresponding point on the centerlines, stored in CenterlineVectorsArrayName.
|
virtual |
Turn on/off the computation, for every surface point, of the vector from that point to the corresponding point on the centerlines, stored in CenterlineVectorsArrayName.
|
virtual |
Set/Get the name of the 3-component point data array where the vector from each surface point to its corresponding centerline point is stored after execution, when ComputeCenterlineVectors is on. Commonly named "CenterlineVectors".
|
virtual |
Set/Get the name of the 3-component point data array where the vector from each surface point to its corresponding centerline point is stored after execution, when ComputeCenterlineVectors is on. Commonly named "CenterlineVectors".
|
virtual |
Turn on/off copying, for every surface point, the id of the centerline cell (and sub-id) closest to its Voronoi pole (read from VoronoiCellIdsArrayName on VoronoiDiagram) into CellIdsArrayName.
|
virtual |
Turn on/off copying, for every surface point, the id of the centerline cell (and sub-id) closest to its Voronoi pole (read from VoronoiCellIdsArrayName on VoronoiDiagram) into CellIdsArrayName.
|
virtual |
Turn on/off copying, for every surface point, the id of the centerline cell (and sub-id) closest to its Voronoi pole (read from VoronoiCellIdsArrayName on VoronoiDiagram) into CellIdsArrayName.
|
virtual |
Turn on/off copying, for every surface point, the id of the centerline cell (and sub-id) closest to its Voronoi pole (read from VoronoiCellIdsArrayName on VoronoiDiagram) into CellIdsArrayName.
|
virtual |
Set/Get the name of the 2-component point data array where the centerline cell id and sub-id closest to each surface point are stored after execution, when ComputeCellIds is on. Commonly named "CellIdsArray".
|
virtual |
Set/Get the name of the 2-component point data array where the centerline cell id and sub-id closest to each surface point are stored after execution, when ComputeCellIds is on. Commonly named "CellIdsArray".
|
virtual |
Turn on/off copying, for every surface point, the parametric coordinate along the closest centerline cell (read from VoronoiPCoordsArrayName on VoronoiDiagram) into PCoordsArrayName.
|
virtual |
Turn on/off copying, for every surface point, the parametric coordinate along the closest centerline cell (read from VoronoiPCoordsArrayName on VoronoiDiagram) into PCoordsArrayName.
|
virtual |
Turn on/off copying, for every surface point, the parametric coordinate along the closest centerline cell (read from VoronoiPCoordsArrayName on VoronoiDiagram) into PCoordsArrayName.
|
virtual |
Turn on/off copying, for every surface point, the parametric coordinate along the closest centerline cell (read from VoronoiPCoordsArrayName on VoronoiDiagram) into PCoordsArrayName.
|
virtual |
Turn on/off replacing the computed quantities (pole vectors, geodesic distance, Euclidean distance, centerline vectors) at points lying on an open boundary of the input surface with a simpler, purely geometric radial vector/distance from the boundary barycenter. This avoids artifacts near boundaries, where the geodesic-distance and steepest-descent computations on the Voronoi diagram are less reliable because the neighborhood is incomplete. Default: off.
|
virtual |
Turn on/off replacing the computed quantities (pole vectors, geodesic distance, Euclidean distance, centerline vectors) at points lying on an open boundary of the input surface with a simpler, purely geometric radial vector/distance from the boundary barycenter. This avoids artifacts near boundaries, where the geodesic-distance and steepest-descent computations on the Voronoi diagram are less reliable because the neighborhood is incomplete. Default: off.
|
virtual |
Turn on/off replacing the computed quantities (pole vectors, geodesic distance, Euclidean distance, centerline vectors) at points lying on an open boundary of the input surface with a simpler, purely geometric radial vector/distance from the boundary barycenter. This avoids artifacts near boundaries, where the geodesic-distance and steepest-descent computations on the Voronoi diagram are less reliable because the neighborhood is incomplete. Default: off.
|
virtual |
Turn on/off replacing the computed quantities (pole vectors, geodesic distance, Euclidean distance, centerline vectors) at points lying on an open boundary of the input surface with a simpler, purely geometric radial vector/distance from the boundary barycenter. This avoids artifacts near boundaries, where the geodesic-distance and steepest-descent computations on the Voronoi diagram are less reliable because the neighborhood is incomplete. Default: off.
|
virtual |
Set/Get the name of the point data array where the parametric coordinate along the closest centerline cell is stored after execution, when ComputePCoords is on. Commonly named "PCoordsArray".
|
virtual |
Set/Get the name of the point data array where the parametric coordinate along the closest centerline cell is stored after execution, when ComputePCoords is on. Commonly named "PCoordsArray".
|
virtual |
Set/Get the Voronoi diagram associated with the input.
|
virtual |
Set/Get the Voronoi diagram associated with the input.
|
virtual |
Set/Get the name of the Voronoi diagram point data array where geodesic distance to centerlines is stored. Commonly named "VoronoiGeodesicDistance".
|
virtual |
Set/Get the name of the Voronoi diagram point data array where geodesic distance to centerlines is stored. Commonly named "VoronoiGeodesicDistance".
|
virtual |
Set/Get the name of the point data array of VoronoiDiagram giving, for each Voronoi point, the vector towards the corresponding point on the centerlines (as computed e.g. by vtkvmtkSteepestDescentShooter::SetTargetVectorsArrayName). Required when ComputeEuclideanDistance or ComputeCenterlineVectors is on. Commonly named "VoronoiPoleCenterlineVectors".
|
virtual |
Set/Get the name of the point data array of VoronoiDiagram giving, for each Voronoi point, the vector towards the corresponding point on the centerlines (as computed e.g. by vtkvmtkSteepestDescentShooter::SetTargetVectorsArrayName). Required when ComputeEuclideanDistance or ComputeCenterlineVectors is on. Commonly named "VoronoiPoleCenterlineVectors".
|
virtual |
Set/Get the name of the point data array of VoronoiDiagram giving, for each Voronoi point, the id (and sub-id) of the closest centerline cell (as computed e.g. by vtkvmtkSteepestDescentShooter::SetTargetCellIdsArrayName). Required when ComputeCellIds is on. Commonly named "VoronoiCellIds".
|
virtual |
Set/Get the name of the point data array of VoronoiDiagram giving, for each Voronoi point, the id (and sub-id) of the closest centerline cell (as computed e.g. by vtkvmtkSteepestDescentShooter::SetTargetCellIdsArrayName). Required when ComputeCellIds is on. Commonly named "VoronoiCellIds".
|
virtual |
Set/Get the name of the point data array of VoronoiDiagram giving, for each Voronoi point, the parametric coordinate along the closest centerline cell. Required when ComputePCoords is on. Commonly named "VoronoiPCoords".
|
virtual |
Set/Get the name of the point data array of VoronoiDiagram giving, for each Voronoi point, the parametric coordinate along the closest centerline cell. Required when ComputePCoords is on. Commonly named "VoronoiPCoords".
|
virtual |
Set/Get the id list of the Voronoi diagram points which are the poles of surface points.
|
virtual |
Set/Get the id list of the Voronoi diagram points which are the poles of surface points.
|
virtual |
Set/Get the name of the 3-component point data array where the vector from each surface point to its Voronoi pole is stored after execution, when ComputePoleVectors is on. Commonly named "PoleVectors".
|
virtual |
Set/Get the name of the 3-component point data array where the vector from each surface point to its Voronoi pole is stored after execution, when ComputePoleVectors is on. Commonly named "PoleVectors".
|
overrideprotectedvirtual |
Definition at line 118 of file vtkvmtkPolyDataLocalGeometry.cxx.
|
protected |
Definition at line 480 of file vtkvmtkPolyDataLocalGeometry.cxx.
|
protected |
Definition at line 275 of file vtkvmtkPolyDataLocalGeometry.h.
|
protected |
Definition at line 276 of file vtkvmtkPolyDataLocalGeometry.h.
|
protected |
Definition at line 277 of file vtkvmtkPolyDataLocalGeometry.h.
|
protected |
Definition at line 278 of file vtkvmtkPolyDataLocalGeometry.h.
|
protected |
Definition at line 279 of file vtkvmtkPolyDataLocalGeometry.h.
|
protected |
Definition at line 280 of file vtkvmtkPolyDataLocalGeometry.h.
|
protected |
Definition at line 281 of file vtkvmtkPolyDataLocalGeometry.h.
|
protected |
Definition at line 283 of file vtkvmtkPolyDataLocalGeometry.h.
|
protected |
Definition at line 285 of file vtkvmtkPolyDataLocalGeometry.h.
|
protected |
Definition at line 286 of file vtkvmtkPolyDataLocalGeometry.h.
|
protected |
Definition at line 287 of file vtkvmtkPolyDataLocalGeometry.h.
|
protected |
Definition at line 288 of file vtkvmtkPolyDataLocalGeometry.h.
|
protected |
Definition at line 289 of file vtkvmtkPolyDataLocalGeometry.h.
|
protected |
Definition at line 290 of file vtkvmtkPolyDataLocalGeometry.h.
|
protected |
Definition at line 291 of file vtkvmtkPolyDataLocalGeometry.h.
|
protected |
Definition at line 293 of file vtkvmtkPolyDataLocalGeometry.h.
|
protected |
Definition at line 294 of file vtkvmtkPolyDataLocalGeometry.h.
|
protected |
Definition at line 295 of file vtkvmtkPolyDataLocalGeometry.h.
|
protected |
Definition at line 296 of file vtkvmtkPolyDataLocalGeometry.h.
|
protected |
Definition at line 297 of file vtkvmtkPolyDataLocalGeometry.h.
|
protected |
Definition at line 298 of file vtkvmtkPolyDataLocalGeometry.h.