23#ifndef vtkMergeTimeFilter_h 
   24#define vtkMergeTimeFilter_h 
   26#include "vtkFiltersGeneralModule.h"  
   31VTK_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);
 
  118  double Tolerance = 0.00001;
 
  119  bool UseRelativeTolerance = 
false;
 
  120  bool UseIntersection = 
false;
 
  122  double RequestedTimeValue = 0.;
 
a simple class to control print indentation
 
Create a multiblock containing one block per input, with unified timestep list.
 
double MapToInputTime(int input, double outputTime)
Look for an input time, either:
 
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Compute global extent and timesteps list, depending on Tolerance.
 
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
 
~vtkMergeTimeFilter() override=default
 
std::vector< std::vector< double > > InputsTimeSteps
 
bool AreTimesWithinTolerance(double t1, double t2)
Return true if t1 and t2 are within absolute or relative Tolerance.
 
int FillInputPortInformation(int port, vtkInformation *info) override
Override to allow multiple inputs.
 
static vtkMergeTimeFilter * New()
 
vtkMergeTimeFilter()=default
 
std::vector< double > OutputTimeSteps
 
void MergeTimeSteps(const std::vector< double > ×teps)
Create an ordered combination of given timesteps and current OutputTimeSteps list.
 
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Reimplemented to create a multiblock from inputs.
 
int RequestUpdateExtent(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Append contribution from each input.
 
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.