VTK  9.2.6
vtkGroupTimeStepsFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkGroupTimeStepsFilter.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
37 #ifndef vtkGroupTimeStepsFilter_h
38 #define vtkGroupTimeStepsFilter_h
39 
40 #include "vtkDataObjectAlgorithm.h"
41 #include "vtkFiltersGeneralModule.h" // For export macro
42 #include "vtkSmartPointer.h" // for vtkSmartPointer
43 
44 #include <vector> // for std::vector
45 
50 
51 class VTKFILTERSGENERAL_EXPORT vtkGroupTimeStepsFilter : public vtkDataObjectAlgorithm
52 {
53 public:
54  static vtkGroupTimeStepsFilter* New();
56  void PrintSelf(ostream& os, vtkIndent indent) override;
57 
58 protected:
60  ~vtkGroupTimeStepsFilter() override;
61 
66 
67 private:
69  void operator=(const vtkGroupTimeStepsFilter&) = delete;
70 
71  bool AddTimeStep(double time, int timeStep, vtkDataObject*);
72  bool AddTimeStep(double time, int timeStep, vtkPartitionedDataSet*);
73  bool AddTimeStep(double time, int timeStep, vtkPartitionedDataSetCollection*);
74  bool AddTimeStep(double time, int timeStep, vtkMultiBlockDataSet*);
75  bool AddTimeStep(double time, int timeStep, vtkCompositeDataSet*);
76 
77  size_t UpdateTimeIndex;
78  std::vector<double> TimeSteps;
79  vtkSmartPointer<vtkDataObject> AccumulatedData;
80 };
81 
82 #endif
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
composite dataset to encapsulates a dataset consisting of partitions.
Store vtkAlgorithm input/output information.
static vtkDataObjectAlgorithm * New()
abstract superclass for composite (multi-block or AMR) datasets
a simple class to control print indentation
Definition: vtkIndent.h:39
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
converts a temporal dataset into non-temporal dataset.
Superclass for algorithms that produce only data object as output.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Composite dataset that organizes datasets into blocks.
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Store zero or more vtkInformation instances.
general representation of visualization data
Definition: vtkDataObject.h:65
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Composite dataset that groups datasets as a collection.