18#ifndef vtkTemporalArrayOperatorFilter_h 
   19#define vtkTemporalArrayOperatorFilter_h 
   21#include "vtkFiltersHybridModule.h"  
   24VTK_ABI_NAMESPACE_BEGIN
 
   44  vtkSetMacro(Operator, 
int);
 
   45  vtkGetMacro(Operator, 
int);
 
   52  vtkSetMacro(FirstTimeStepIndex, 
int);
 
   53  vtkGetMacro(FirstTimeStepIndex, 
int);
 
   60  vtkSetMacro(SecondTimeStepIndex, 
int);
 
   61  vtkGetMacro(SecondTimeStepIndex, 
int);
 
   70  vtkSetStringMacro(OutputArrayNameSuffix);
 
   71  vtkGetStringMacro(OutputArrayNameSuffix);
 
   86  vtkSetMacro(RelativeMode, 
bool);
 
   87  vtkGetMacro(RelativeMode, 
bool);
 
   88  vtkBooleanMacro(RelativeMode, 
bool);
 
  100  vtkSetMacro(TimeStepShift, 
int);
 
  101  vtkGetMacro(TimeStepShift, 
int);
 
  129  std::string GetOperatorAsString();
 
  136  void GetTimeStepsToUse(
int timeSteps[2]);
 
  138  int Operator = OperatorType::ADD;
 
  139  int FirstTimeStepIndex = 0;
 
  140  int SecondTimeStepIndex = 0;
 
  141  int NumberTimeSteps = 0;
 
  142  char* OutputArrayNameSuffix = 
nullptr;
 
  144  bool RelativeMode = 
false;
 
  145  int TimeStepShift = -1;
 
abstract superclass for arrays of numeric data
 
general representation of visualization data
 
a simple class to control print indentation
 
Superclass for algorithms that would like to make multiple time requests.
 
Hold a reference to a vtkObjectBase instance.
 
perform simple mathematical operation on a data array at different time
 
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
 
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
 
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
 
int GetInputArrayAssociation()
 
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
 
static vtkTemporalArrayOperatorFilter * New()
 
int FillOutputPortInformation(int, vtkInformation *) override
Fill the output port information objects for this algorithm.
 
virtual vtkDataObject * ProcessDataObject(vtkDataObject *, vtkDataObject *)
 
int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
 
virtual vtkDataObject * Process(vtkDataObject *, vtkDataObject *)
 
vtkTemporalArrayOperatorFilter()
 
virtual vtkDataArray * ProcessDataArray(vtkDataArray *, vtkDataArray *)
 
int Execute(vtkInformation *request, const std::vector< vtkSmartPointer< vtkDataObject > > &inputs, vtkInformationVector *outputVector) override
Subclasses should override this method to do the actual execution.
 
~vtkTemporalArrayOperatorFilter() override