VTK  9.3.0
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 
28 #include "vtkDataObjectAlgorithm.h"
29 #include "vtkFiltersGeneralModule.h" // For export macro
30 #include "vtkSmartPointer.h" // for vtkSmartPointer
31 
32 #include <vector> // for std::vector
33 
34 VTK_ABI_NAMESPACE_BEGIN
39 
40 class VTKFILTERSGENERAL_EXPORT vtkGroupTimeStepsFilter : public vtkDataObjectAlgorithm
41 {
42 public:
45  void PrintSelf(ostream& os, vtkIndent indent) override;
46 
47 protected:
50 
55 
56 private:
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 
71 VTK_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
Definition: vtkDataObject.h:64
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.
static vtkGroupTimeStepsFilter * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkGroupTimeStepsFilter() override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
a simple class to control print indentation
Definition: vtkIndent.h:38
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.
@ time
Definition: vtkX3D.h:497