VTK  9.1.0
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=========================================================================*/
34#ifndef vtkGroupTimeStepsFilter_h
35#define vtkGroupTimeStepsFilter_h
36
38#include "vtkFiltersGeneralModule.h" // For export macro
39#include "vtkSmartPointer.h" // for vtkSmartPointer
40
41#include <vector> // for std::vector
42
47
48class VTKFILTERSGENERAL_EXPORT vtkGroupTimeStepsFilter : public vtkDataObjectAlgorithm
49{
50public:
53 void PrintSelf(ostream& os, vtkIndent indent) override;
54
55protected:
58
63
64private:
66 void operator=(const vtkGroupTimeStepsFilter&) = delete;
67
68 bool AddTimeStep(double time, int timeStep, vtkDataObject*);
69 bool AddTimeStep(double time, int timeStep, vtkPartitionedDataSet*);
70 bool AddTimeStep(double time, int timeStep, vtkPartitionedDataSetCollection*);
71 bool AddTimeStep(double time, int timeStep, vtkMultiBlockDataSet*);
72 bool AddTimeStep(double time, int timeStep, vtkCompositeDataSet*);
73
74 size_t UpdateTimeIndex;
75 std::vector<double> TimeSteps;
76 vtkSmartPointer<vtkDataObject> AccumulatedData;
77};
78
79#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:113
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:503