33#ifndef vtkParallelVectors_h
34#define vtkParallelVectors_h
36#include "vtkFiltersFlowPathsModule.h"
43template <
typename VArrayType,
typename WArrayType>
49 template <
typename,
typename>
61 vtkSetStringMacro(FirstVectorFieldName);
62 vtkGetStringMacro(FirstVectorFieldName);
69 vtkSetStringMacro(SecondVectorFieldName);
70 vtkGetStringMacro(SecondVectorFieldName);
95 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.