|
VMTK
|
Provides an abstract base class for steepest descent on a polygonal non-manifold. More...
#include <vtkvmtkNonManifoldSteepestDescent.h>
Public Types | |
| typedef vtkPolyDataAlgorithm | Superclass |
Public Member Functions | |
| virtual int | IsA (const char *type) |
| vtkvmtkNonManifoldSteepestDescent * | NewInstance () const |
| void | PrintSelf (std::ostream &os, vtkIndent indent) override |
| virtual void | SetDescentArrayName (const char *) |
| virtual char * | GetDescentArrayName () |
| virtual void | SetDirection (int) |
| virtual int | GetDirection () |
| void | SetDirectionToDownward () |
| void | SetDirectionToUpward () |
Static Public Member Functions | |
| static int | IsTypeOf (const char *type) |
| static vtkvmtkNonManifoldSteepestDescent * | SafeDownCast (vtkObjectBase *o) |
| static vtkvmtkNonManifoldSteepestDescent * | New () |
Protected Member Functions | |
| virtual vtkObjectBase * | NewInstanceInternal () const |
| vtkvmtkNonManifoldSteepestDescent () | |
| ~vtkvmtkNonManifoldSteepestDescent () | |
| virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) override |
| double | GetSteepestDescent (vtkPolyData *input, vtkIdType *edge, double s, vtkIdType *steepestDescentEdge, double &steepestDescentS) |
| double | GetSteepestDescentInCell (vtkPolyData *input, vtkIdType cellId, vtkIdType *edge, double s, vtkIdType *steepestDescentEdge, double &steepestDescentS, double &steepestDescentLength) |
Protected Attributes | |
| vtkDataArray * | DescentArray |
| char * | DescentArrayName |
| int | NumberOfEdgeSubdivisions |
| int | Direction |
Provides an abstract base class for steepest descent on a polygonal non-manifold.
This class is an abstract filter used as base class for performing steepest descent on a non-manifold surface made of convex polygons (such as the Voronoi diagram) on the basis of a given scalar field. Steepest descent is performed on the edges of input polygons with a first order approximation.
Definition at line 40 of file vtkvmtkNonManifoldSteepestDescent.h.
| typedef vtkPolyDataAlgorithm vtkvmtkNonManifoldSteepestDescent::Superclass |
Definition at line 43 of file vtkvmtkNonManifoldSteepestDescent.h.
|
protected |
Definition at line 36 of file vtkvmtkNonManifoldSteepestDescent.cxx.
|
protected |
Definition at line 44 of file vtkvmtkNonManifoldSteepestDescent.cxx.
|
static |
|
virtual |
Reimplemented in vtkvmtkSteepestDescentLineTracer, and vtkvmtkSteepestDescentShooter.
|
static |
|
protectedvirtual |
Reimplemented in vtkvmtkSteepestDescentLineTracer, and vtkvmtkSteepestDescentShooter.
| vtkvmtkNonManifoldSteepestDescent * vtkvmtkNonManifoldSteepestDescent::NewInstance | ( | ) | const |
|
override |
Definition at line 249 of file vtkvmtkNonManifoldSteepestDescent.cxx.
|
static |
|
virtual |
Set/Get the name of the point data array used as the descent scalar field. Commonly named "VoronoiGeodesicDistance".
|
virtual |
Set/Get the name of the point data array used as the descent scalar field. Commonly named "VoronoiGeodesicDistance".
|
virtual |
Set/Get the direction of steepest descent search: VTK_VMTK_DOWNWARD (default) looks for the neighboring point along the edges where the descent scalar field decreases most steeply, VTK_VMTK_UPWARD looks for the steepest increase instead. Use SetDirectionToDownward / SetDirectionToUpward as convenience setters.
|
virtual |
Set/Get the direction of steepest descent search: VTK_VMTK_DOWNWARD (default) looks for the neighboring point along the edges where the descent scalar field decreases most steeply, VTK_VMTK_UPWARD looks for the steepest increase instead. Use SetDirectionToDownward / SetDirectionToUpward as convenience setters.
|
inline |
Set/Get the direction of steepest descent search: VTK_VMTK_DOWNWARD (default) looks for the neighboring point along the edges where the descent scalar field decreases most steeply, VTK_VMTK_UPWARD looks for the steepest increase instead. Use SetDirectionToDownward / SetDirectionToUpward as convenience setters.
Definition at line 66 of file vtkvmtkNonManifoldSteepestDescent.h.
|
inline |
Set/Get the direction of steepest descent search: VTK_VMTK_DOWNWARD (default) looks for the neighboring point along the edges where the descent scalar field decreases most steeply, VTK_VMTK_UPWARD looks for the steepest increase instead. Use SetDirectionToDownward / SetDirectionToUpward as convenience setters.
Definition at line 68 of file vtkvmtkNonManifoldSteepestDescent.h.
|
overrideprotectedvirtual |
Reimplemented in vtkvmtkSteepestDescentLineTracer, and vtkvmtkSteepestDescentShooter.
Definition at line 219 of file vtkvmtkNonManifoldSteepestDescent.cxx.
|
protected |
Compute the steepest descent point in terms of edge (point id pair) and parametric coordinate on edge. It takes in input a starting point expressed in terms of edge (point id pair) and parametric coordinate on edge. It returns the descent value.
Definition at line 173 of file vtkvmtkNonManifoldSteepestDescent.cxx.
|
protected |
Compute the steepest descent point in terms of edge (point id pair) and parametric coordinate on edge. It takes in input a starting point expressed in terms of edge (point id pair) and parametric coordinate on edge. It returns the descent value.
Definition at line 48 of file vtkvmtkNonManifoldSteepestDescent.cxx.
|
protected |
Definition at line 88 of file vtkvmtkNonManifoldSteepestDescent.h.
|
protected |
Definition at line 89 of file vtkvmtkNonManifoldSteepestDescent.h.
|
protected |
Definition at line 91 of file vtkvmtkNonManifoldSteepestDescent.h.
|
protected |
Definition at line 92 of file vtkvmtkNonManifoldSteepestDescent.h.