27#ifndef vtkVectorFieldTopology_h
28#define vtkVectorFieldTopology_h
30#include "vtkFiltersFlowPathsModule.h"
54 vtkSetMacro(IntegrationStepUnit,
int);
55 vtkGetMacro(IntegrationStepUnit,
int);
62 vtkSetMacro(MaxNumSteps,
int);
63 vtkGetMacro(MaxNumSteps,
int);
71 vtkSetMacro(IntegrationStepSize,
double);
72 vtkGetMacro(IntegrationStepSize,
double);
80 vtkSetMacro(SeparatrixDistance,
double);
81 vtkGetMacro(SeparatrixDistance,
double);
88 vtkSetMacro(UseIterativeSeeding,
bool);
89 vtkGetMacro(UseIterativeSeeding,
bool);
96 vtkSetMacro(ComputeSurfaces,
bool);
97 vtkGetMacro(ComputeSurfaces,
bool);
104 vtkSetMacro(ExcludeBoundary,
bool);
105 vtkGetMacro(ExcludeBoundary,
bool);
112 vtkSetMacro(UseBoundarySwitchPoints,
bool);
113 vtkGetMacro(UseBoundarySwitchPoints,
bool);
126 vtkSetMacro(VectorAngleThreshold,
double);
127 vtkGetMacro(VectorAngleThreshold,
double);
134 vtkSetMacro(OffsetAwayFromBoundary,
double);
135 vtkGetMacro(OffsetAwayFromBoundary,
double);
142 vtkSetMacro(EpsilonCriticalPoint,
double);
143 vtkGetMacro(EpsilonCriticalPoint,
double);
212 int ComputeCriticalPoints2D(
222 int ComputeCriticalPoints3D(
235 static void InterpolateVector(
236 double x0,
double x1,
double x,
const double v0[3],
const double v1[3],
double v[3]);
244 int ComputeBoundarySwitchPoints(
262 int ComputeSeparatricesBoundarySwitchPoints(
vtkPolyData* boundarySwitchPoints,
264 int integrationStepUnit,
double dist,
int maxNumSteps);
283 int ComputeSeparatricesBoundarySwitchLines(
vtkPolyData* boundarySwitchLines,
285 int maxNumSteps,
bool computeSurfaces,
bool useIterativeSeeding);
307 double dist,
double stepSize,
int maxNumSteps,
bool computeSurfaces,
bool useIterativeSeeding);
325 int ComputeSurface(
int numberOfSeparatingSurfaces,
bool isBackward,
double normal[3],
327 double dist,
double stepSize,
int maxNumSteps,
bool useIterativeSeeding);
346 enum CriticalTypeDetailed2D
349 ATTRACTING_NODE_2D = 0,
350 ATTRACTING_FOCUS_2D = 1,
352 REPELLING_NODE_2D = 3,
353 REPELLING_FOCUS_2D = 4,
354 CENTER_DETAILED_2D = 5
375 enum CriticalTypeDetailed3D
377 ATTRACTING_NODE_3D = 0,
378 ATTRACTING_FOCUS_3D = 1,
379 NODE_SADDLE_1_3D = 2,
380 FOCUS_SADDLE_1_3D = 3,
381 NODE_SADDLE_2_3D = 4,
382 FOCUS_SADDLE_2_3D = 5,
383 REPELLING_NODE_3D = 6,
384 REPELLING_FOCUS_3D = 7,
385 CENTER_DETAILED_3D = 8
395 static int Classify2D(
int countComplex,
int countPos,
int countNeg);
405 static int ClassifyDetailed2D(
int countComplex,
int countPos,
int countNeg);
415 static int Classify3D(
int countComplex,
int countPos,
int countNeg);
426 static int ClassifyDetailed3D(
int countComplex,
int countPos,
int countNeg);
431 int MaxNumSteps = 100;
436 double IntegrationStepSize = 1;
441 double SeparatrixDistance = 1;
446 bool UseIterativeSeeding =
false;
451 bool ComputeSurfaces =
false;
456 const char* NameOfVectorArray;
462 bool ExcludeBoundary =
false;
484 bool UseBoundarySwitchPoints =
false;
500 double VectorAngleThreshold = 1;
509 double OffsetAwayFromBoundary = 1e-3;
514 double EpsilonCriticalPoint = 1e-10;
abstract class to specify dataset behavior
A general filter for gradient estimation.
topologically and geometrically regular array of data
a simple class to control print indentation
Allocate and hold a VTK object.
represent and manipulate 3D points
Superclass for algorithms that produce only polydata as output.
concrete dataset represents vertices, lines, polygons, and triangle strips
Hold a reference to a vtkObjectBase instance.
Advect a stream surface in a vector field.
@ INTERPOLATOR_WITH_DATASET_POINT_LOCATOR
dataset represents arbitrary combinations of all possible cell types
Extract the topological skeleton as output datasets.
void SetInterpolatorTypeToCellLocator()
Set the velocity field interpolator type to the one involving a cell locator.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkVectorFieldTopology * New()
void SetInterpolatorTypeToDataSetPointLocator()
Set the velocity field interpolator type to the one involving a dataset point locator.
~vtkVectorFieldTopology() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetInterpolatorType(int interpType)
Set the type of the velocity field interpolator to determine whether INTERPOLATOR_WITH_DATASET_POINT_...
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.