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
vtkExtractTemporalFieldData
Extract temporal arrays from input field data.
Definition: vtkExtractTemporalFieldData.h:37
vtkDataObjectAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkDataSetAttributes
represent and manipulate attribute data in a dataset
Definition: vtkDataSetAttributes.h:53
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkTable
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:62
vtkDataObjectAlgorithm
Superclass for algorithms that produce only data object as output.
Definition: vtkDataObjectAlgorithm.h:43
vtkExtractTemporalFieldData::HandleCompositeDataBlocksIndividually
bool HandleCompositeDataBlocksIndividually
Definition: vtkExtractTemporalFieldData.h:78
vtkX3D::port
@ port
Definition: vtkX3D.h:453
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkDataSet
abstract class to specify dataset behavior
Definition: vtkDataSet.h:56
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:73
vtkX3D::info
@ info
Definition: vtkX3D.h:382
vtkDataObjectAlgorithm::New
static vtkDataObjectAlgorithm * New()
vtkDataObjectAlgorithm::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Definition: vtkDataObjectAlgorithm.h:116
vtkDataObjectAlgorithm.h
vtkDataObjectAlgorithm::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkDataObjectAlgorithm::RequestDataObject
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Definition: vtkDataObjectAlgorithm.h:102
vtkDataObjectAlgorithm::RequestInformation
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)