VTK  9.3.20240425
vtkGroupTimeStepsFilter.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
25#ifndef vtkGroupTimeStepsFilter_h
26#define vtkGroupTimeStepsFilter_h
27
29#include "vtkFiltersGeneralModule.h" // For export macro
30#include "vtkSmartPointer.h" // for vtkSmartPointer
31
32#include <vector> // for std::vector
33
34VTK_ABI_NAMESPACE_BEGIN
39
40class VTKFILTERSGENERAL_EXPORT vtkGroupTimeStepsFilter : public vtkDataObjectAlgorithm
41{
42public:
45 void PrintSelf(ostream& os, vtkIndent indent) override;
46
47protected:
50
55
56private:
58 void operator=(const vtkGroupTimeStepsFilter&) = delete;
59
60 bool AddTimeStep(double time, int timeStep, vtkDataObject*);
61 bool AddTimeStep(double time, int timeStep, vtkPartitionedDataSet*);
62 bool AddTimeStep(double time, int timeStep, vtkPartitionedDataSetCollection*);
63 bool AddTimeStep(double time, int timeStep, vtkMultiBlockDataSet*);
64 bool AddTimeStep(double time, int timeStep, vtkCompositeDataSet*);
65
66 size_t UpdateTimeIndex;
67 std::vector<double> TimeSteps;
68 vtkSmartPointer<vtkDataObject> AccumulatedData;
69};
70
71VTK_ABI_NAMESPACE_END
72#endif
abstract superclass for composite (multi-block or AMR) datasets
Superclass for algorithms that produce only data object as output.
general representation of visualization data
converts a temporal dataset into non-temporal dataset.
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkGroupTimeStepsFilter * New()
~vtkGroupTimeStepsFilter() override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Composite dataset that organizes datasets into blocks.
Composite dataset that groups datasets as a collection.
composite dataset to encapsulates a dataset consisting of partitions.
Hold a reference to a vtkObjectBase instance.