VTK  9.0.1
vtkExtractTemporalFieldData.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkExtractTemporalFieldData.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 =========================================================================*/
26 #ifndef vtkExtractTemporalFieldData_h
27 #define vtkExtractTemporalFieldData_h
28 
29 #include "vtkDataObjectAlgorithm.h"
30 #include "vtkFiltersExtractionModule.h" // For export macro
31 
32 #if !defined(VTK_LEGACY_REMOVE)
33 class vtkDataSet;
34 class vtkTable;
36 
37 class VTKFILTERSEXTRACTION_EXPORT vtkExtractTemporalFieldData : public vtkDataObjectAlgorithm
38 {
39 public:
42  void PrintSelf(ostream& os, vtkIndent indent) override;
43 
47  int GetNumberOfTimeSteps();
48 
50 
55  vtkSetMacro(HandleCompositeDataBlocksIndividually, bool);
56  vtkGetMacro(HandleCompositeDataBlocksIndividually, bool);
57  vtkBooleanMacro(HandleCompositeDataBlocksIndividually, bool);
59 
60 protected:
62  ~vtkExtractTemporalFieldData() override;
63 
65  int RequestInformation(vtkInformation* request, vtkInformationVector** inputVector,
66  vtkInformationVector* outputVector) override;
67  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
68  vtkInformationVector* outputVector) override;
70 
76  bool CopyDataToOutput(vtkDataSet* input, vtkTable* output);
77 
79 
80 private:
82  void operator=(const vtkExtractTemporalFieldData&) = delete;
83 
84  class vtkInternals;
85  vtkInternals* Internals;
86 };
87 
88 #endif // !defined(VTK_LEGACY_REMOVE)
89 #endif
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:56
static vtkDataObjectAlgorithm * New()
a simple class to control print indentation
Definition: vtkIndent.h:33
represent and manipulate attribute data in a dataset
Superclass for algorithms that produce only data object as output.
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:62
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Store zero or more vtkInformation instances.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
Extract temporal arrays from input field data.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.