|
VMTK
|
Compute the geodesic (graph) distance from a set of seed points over a surface mesh using Dijkstra's algorithm. More...
#include <vtkvmtkPolyDataDijkstraDistanceToPoints.h>
Public Types | |
| typedef vtkPolyDataAlgorithm | Superclass |
Public Member Functions | |
| virtual int | IsA (const char *type) |
| vtkvmtkPolyDataDijkstraDistanceToPoints * | NewInstance () const |
| virtual void | SetSeedIds (vtkIdList *) |
| virtual vtkIdList * | GetSeedIds () |
| virtual void | SetDistanceOffset (double) |
| virtual double | GetDistanceOffset () |
| virtual void | SetDistanceScale (double) |
| virtual double | GetDistanceScale () |
| virtual void | SetMinDistance (double) |
| virtual double | GetMinDistance () |
| virtual void | SetMaxDistance (double) |
| virtual double | GetMaxDistance () |
| virtual void | SetDijkstraDistanceToPointsArrayName (const char *) |
| virtual char * | GetDijkstraDistanceToPointsArrayName () |
Static Public Member Functions | |
| static vtkvmtkPolyDataDijkstraDistanceToPoints * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkvmtkPolyDataDijkstraDistanceToPoints * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
| virtual vtkObjectBase * | NewInstanceInternal () const |
| vtkvmtkPolyDataDijkstraDistanceToPoints () | |
| ~vtkvmtkPolyDataDijkstraDistanceToPoints () | |
| virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) override |
Protected Attributes | |
| char * | DijkstraDistanceToPointsArrayName |
| vtkIdList * | SeedIds |
| double | DistanceOffset |
| double | DistanceScale |
| double | MinDistance |
| double | MaxDistance |
Compute the geodesic (graph) distance from a set of seed points over a surface mesh using Dijkstra's algorithm.
For each point of the input surface, vtkvmtkPolyDataDijkstraDistanceToPoints computes the shortest path distance, along the mesh edges, to the closest of a set of user-specified seed points (SeedIds), and outputs the result as a point data array named DijkstraDistanceToPointsArrayName. The raw Dijkstra distance is transformed as (DistanceOffset + DistanceScale * rawDistance), clamped from below by MinDistance and, if MaxDistance is positive, from above by MaxDistance (a non-positive MaxDistance, the default, means unbounded).
Definition at line 47 of file vtkvmtkPolyDataDijkstraDistanceToPoints.h.
| typedef vtkPolyDataAlgorithm vtkvmtkPolyDataDijkstraDistanceToPoints::Superclass |
Definition at line 51 of file vtkvmtkPolyDataDijkstraDistanceToPoints.h.
|
protected |
Definition at line 44 of file vtkvmtkPolyDataDijkstraDistanceToPoints.cxx.
|
protected |
Definition at line 56 of file vtkvmtkPolyDataDijkstraDistanceToPoints.cxx.
|
static |
|
static |
|
virtual |
|
static |
|
protectedvirtual |
| vtkvmtkPolyDataDijkstraDistanceToPoints * vtkvmtkPolyDataDijkstraDistanceToPoints::NewInstance | ( | ) | const |
|
virtual |
Set/get the ids of the input surface points to use as Dijkstra seeds, i.e. the points from which the geodesic distance is measured.
|
virtual |
Set/get the ids of the input surface points to use as Dijkstra seeds, i.e. the points from which the geodesic distance is measured.
|
virtual |
Set/get the constant added to the raw Dijkstra distance before scaling and clamping. Default: 0.
|
virtual |
Set/get the constant added to the raw Dijkstra distance before scaling and clamping. Default: 0.
|
virtual |
Set/get the factor the raw Dijkstra distance is multiplied by (after adding DistanceOffset). Default: 1.
|
virtual |
Set/get the factor the raw Dijkstra distance is multiplied by (after adding DistanceOffset). Default: 1.
|
virtual |
Set/get the lower bound the (offset and scaled) distance is clamped to. Default: 0.
|
virtual |
Set/get the lower bound the (offset and scaled) distance is clamped to. Default: 0.
|
virtual |
Set/get the upper bound the (offset and scaled) distance is clamped to. A non-positive value (the default, -1) means unbounded.
|
virtual |
Set/get the upper bound the (offset and scaled) distance is clamped to. A non-positive value (the default, -1) means unbounded.
|
virtual |
Set/get the name of the output point data array holding the computed distance values. Commonly named "DijkstraDistanceToPoints".
|
virtual |
Set/get the name of the output point data array holding the computed distance values. Commonly named "DijkstraDistanceToPoints".
|
overrideprotectedvirtual |
Definition at line 71 of file vtkvmtkPolyDataDijkstraDistanceToPoints.cxx.
|
protected |
Definition at line 114 of file vtkvmtkPolyDataDijkstraDistanceToPoints.h.
|
protected |
Definition at line 116 of file vtkvmtkPolyDataDijkstraDistanceToPoints.h.
|
protected |
Definition at line 118 of file vtkvmtkPolyDataDijkstraDistanceToPoints.h.
|
protected |
Definition at line 119 of file vtkvmtkPolyDataDijkstraDistanceToPoints.h.
|
protected |
Definition at line 120 of file vtkvmtkPolyDataDijkstraDistanceToPoints.h.
|
protected |
Definition at line 121 of file vtkvmtkPolyDataDijkstraDistanceToPoints.h.