VTK  9.3.1
vtkExtractDataArraysOverTime.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
50 #ifndef vtkExtractDataArraysOverTime_h
51 #define vtkExtractDataArraysOverTime_h
52 
53 #include "vtkDataObject.h" // for vtkDataObject
54 #include "vtkFiltersExtractionModule.h" // For export macro
56 #include "vtkSmartPointer.h" // for vtkSmartPointer.
57 
58 VTK_ABI_NAMESPACE_BEGIN
59 class vtkDataSet;
60 class vtkTable;
63 class vtkOrderStatistics;
64 
65 class VTKFILTERSEXTRACTION_EXPORT vtkExtractDataArraysOverTime
67 {
68 public:
71  void PrintSelf(ostream& os, vtkIndent indent) override;
72 
74 
77  vtkGetMacro(NumberOfTimeSteps, int);
79 
81 
86  vtkSetClampMacro(
88  vtkGetMacro(FieldAssociation, int);
90 
92 
102  vtkSetMacro(ReportStatisticsOnly, bool);
103  vtkGetMacro(ReportStatisticsOnly, bool);
104  vtkBooleanMacro(ReportStatisticsOnly, bool);
106 
108 
112  vtkSetMacro(UseGlobalIDs, bool);
113  vtkGetMacro(UseGlobalIDs, bool);
115 
116 protected:
118  ~vtkExtractDataArraysOverTime() override;
119 
120  int RequestInformation(vtkInformation* request, vtkInformationVector** inputVector,
121  vtkInformationVector* outputVector) override;
122  int RequestUpdateExtent(vtkInformation* request, vtkInformationVector** inputVector,
123  vtkInformationVector* outputVector) override;
124  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
125  vtkInformationVector* outputVector) override;
126 
127  virtual void PostExecute(vtkInformation* request, vtkInformationVector** inputVector,
128  vtkInformationVector* outputVector);
129 
130  int FillInputPortInformation(int port, vtkInformation* info) override;
131 
137  int Error;
138  enum Errors
139  {
141  MoreThan1Indices
142  };
143 
144  virtual vtkSmartPointer<vtkDescriptiveStatistics> NewDescriptiveStatistics();
145  virtual vtkSmartPointer<vtkOrderStatistics> NewOrderStatistics();
146 
147 private:
149  void operator=(const vtkExtractDataArraysOverTime&) = delete;
150 
151  class vtkInternal;
152  friend class vtkInternal;
153  vtkInternal* Internal;
154 };
155 VTK_ABI_NAMESPACE_END
156 #endif
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:52
A class for univariate order statistics.
Hold a reference to a vtkObjectBase instance.
Definition: vtkMeta.h:23
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
static vtkMultiBlockDataSetAlgorithm * New()
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
a simple class to control print indentation
Definition: vtkIndent.h:28
represent and manipulate attribute data in a dataset
A class for univariate descriptive statistics.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
extracts array from input dataset over time.
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:58
Store zero or more vtkInformation instances.
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.