15#ifndef vtkGenerateTimeSteps_h
16#define vtkGenerateTimeSteps_h
18#include "vtkFiltersHybridModule.h"
23VTK_ABI_NAMESPACE_BEGIN
62 this->TimeStepValues.clear();
Generate timesteps on any input.
void GetTimeStepValues(double *timeStepValues) const
Get/Set an array of time step values.
int GetNumberOfTimeSteps() const
Get the number of time steps that will be extracted.
~vtkGenerateTimeSteps() override=default
std::vector< double > TimeStepValues
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
vtkGenerateTimeSteps()=default
static vtkGenerateTimeSteps * New()
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks for Information.
void SetTimeStepValues(int count, const double *timeStepValues)
Get/Set an array of time step values.
void GenerateTimeStepValues(double begin, double end, double step)
Generate a range of values in [begin, end) with a step size of 'step'.
void AddTimeStepValue(double timeStepValue)
Add a time step value.
void ClearTimeStepValues()
Clear the time step values.
a simple class to control print indentation