31 #ifndef __vtkvmtkNonManifoldSteepestDescent_h 32 #define __vtkvmtkNonManifoldSteepestDescent_h 34 #include "vtkPolyDataAlgorithm.h" 35 #include "vtkDataArray.h" 37 #include "vtkvmtkWin32Header.h" 39 #define VTK_VMTK_DOWNWARD 0 40 #define VTK_VMTK_UPWARD 1 46 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
53 vtkSetStringMacro(DescentArrayName);
54 vtkGetStringMacro(DescentArrayName);
57 vtkSetMacro(Direction,
int);
58 vtkGetMacro(Direction,
int);
68 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
75 double GetSteepestDescent(vtkPolyData* input, vtkIdType* edge,
double s, vtkIdType* steepestDescentEdge,
double &steepestDescentS);
76 double GetSteepestDescentInCell(vtkPolyData* input, vtkIdType cellId, vtkIdType* edge,
double s, vtkIdType* steepestDescentEdge,
double &steepestDescentS,
double &steepestDescentLength);
void SetDirectionToDownward()
#define VTK_VMTK_DOWNWARD
Abstract class for steepest descent on a polygonal non-manifold.
vtkDataArray * DescentArray
int NumberOfEdgeSubdivisions
void SetDirectionToUpward()