35 #ifndef vtkMergeTimeFilter_h
36 #define vtkMergeTimeFilter_h
38 #include "vtkFiltersGeneralModule.h"
57 vtkGetMacro(Tolerance,
double);
66 vtkSetMacro(UseRelativeTolerance,
bool);
67 vtkGetMacro(UseRelativeTolerance,
bool);
68 vtkBooleanMacro(UseRelativeTolerance,
bool);
76 vtkSetMacro(UseIntersection,
bool);
77 vtkGetMacro(UseIntersection,
bool);
78 vtkBooleanMacro(UseIntersection,
bool);
111 void MergeTimeSteps(
const std::vector<double>& timesteps);
119 double MapToInputTime(
int input,
double outputTime);
127 bool AreTimesWithinTolerance(
double t1,
double t2);
129 double Tolerance = 0.00001;
130 bool UseRelativeTolerance =
false;
131 bool UseIntersection =
false;
133 double RequestedTimeValue = 0.;
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
std::vector< double > OutputTimeSteps
static vtkMultiBlockDataSetAlgorithm * New()
Create a multiblock containing one block per input, with unified timestep list.
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
a simple class to control print indentation
std::vector< std::vector< double > > InputsTimeSteps
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.