36 #ifndef vtkParallelVectors_h
37 #define vtkParallelVectors_h
39 #include "vtkFiltersFlowPathsModule.h"
46 template <
typename VArrayType,
typename WArrayType>
52 template <
typename,
typename>
64 vtkSetStringMacro(FirstVectorFieldName);
65 vtkGetStringMacro(FirstVectorFieldName);
72 vtkSetStringMacro(SecondVectorFieldName);
73 vtkGetStringMacro(SecondVectorFieldName);
89 virtual bool AcceptSurfaceTriangle(
const vtkIdType surfaceSimplexIndices[3]);
97 virtual bool ComputeAdditionalCriteria(
const vtkIdType surfaceSimplexIndices[3],
double s,
98 double t, std::vector<double>& criterionArrayValues);
Compute polylines corresponding to locations where two vector fields are parallel.
char * SecondVectorFieldName
Contains the name of the second vector field to compare.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
virtual void Prefilter(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Prefilter should resize the CriteriaArrays, initialize them and set their names.
std::vector< vtkSmartPointer< vtkDoubleArray > > CriteriaArrays
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
char * FirstVectorFieldName
Contains the name of the first vector field to compare.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.