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