VTK
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 =========================================================================*/
40 #ifndef vtkExtractTemporalFieldData_h
41 #define vtkExtractTemporalFieldData_h
42 
43 #include "vtkFiltersExtractionModule.h" // For export macro
44 #include "vtkDataObjectAlgorithm.h"
45 
46 class vtkDataSet;
47 class vtkTable;
49 
50 class VTKFILTERSEXTRACTION_EXPORT vtkExtractTemporalFieldData : public vtkDataObjectAlgorithm
51 {
52 public:
55  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
56 
60  int GetNumberOfTimeSteps();
61 
63 
68  vtkSetMacro(HandleCompositeDataBlocksIndividually, bool);
69  vtkGetMacro(HandleCompositeDataBlocksIndividually, bool);
70  vtkBooleanMacro(HandleCompositeDataBlocksIndividually, bool);
72 
73 protected:
75  ~vtkExtractTemporalFieldData() VTK_OVERRIDE;
76 
77  int RequestDataObject(vtkInformation*,
79  vtkInformationVector*) VTK_OVERRIDE;
80  int RequestInformation(vtkInformation* request,
81  vtkInformationVector** inputVector,
82  vtkInformationVector* outputVector) VTK_OVERRIDE;
83  int RequestData(vtkInformation* request,
84  vtkInformationVector** inputVector,
85  vtkInformationVector* outputVector) VTK_OVERRIDE;
86  int FillInputPortInformation(int port, vtkInformation* info) VTK_OVERRIDE;
87 
93  bool CopyDataToOutput(vtkDataSet *input, vtkTable *output);
94 
95  bool HandleCompositeDataBlocksIndividually;
96 private:
97  vtkExtractTemporalFieldData(const vtkExtractTemporalFieldData&) VTK_DELETE_FUNCTION;
98  void operator=(const vtkExtractTemporalFieldData&) VTK_DELETE_FUNCTION;
99 
100  class vtkInternals;
101  vtkInternals* Internals;
102 };
103 
104 #endif
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
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
Superclass for algorithms that produce only data object as output.
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:62
Store zero or more vtkInformation instances.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
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.