23 #ifndef vtkMergeTimeFilter_h
24 #define vtkMergeTimeFilter_h
26 #include "vtkFiltersGeneralModule.h"
31 VTK_ABI_NAMESPACE_BEGIN
46 vtkGetMacro(Tolerance,
double);
55 vtkSetMacro(UseRelativeTolerance,
bool);
56 vtkGetMacro(UseRelativeTolerance,
bool);
57 vtkBooleanMacro(UseRelativeTolerance,
bool);
65 vtkSetMacro(UseIntersection,
bool);
66 vtkGetMacro(UseIntersection,
bool);
67 vtkBooleanMacro(UseIntersection,
bool);
100 void MergeTimeSteps(
const std::vector<double>& timesteps);
108 double MapToInputTime(
int input,
double outputTime);
116 bool AreTimesWithinTolerance(
double t1,
double t2);
118 double Tolerance = 0.00001;
119 bool UseRelativeTolerance =
false;
120 bool UseIntersection =
false;
122 double RequestedTimeValue = 0.;
131 VTK_ABI_NAMESPACE_END
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.