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
41#include "vtkFiltersGeneralModule.h" // For export macro
42#include "vtkSmartPointer.h" // for vtkSmartPointer
43
44#include <vector> // for std::vector
45
50
51class VTKFILTERSGENERAL_EXPORT vtkGroupTimeStepsFilter : public vtkDataObjectAlgorithm
52{
53public:
56 void PrintSelf(ostream& os, vtkIndent indent) override;
57
58protected:
61
66
67private:
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
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:66
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:40
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.