VTK
vtkExtractDataArraysOverTime.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkExtractDataArraysOverTime.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 =========================================================================*/
59 #ifndef vtkExtractDataArraysOverTime_h
60 #define vtkExtractDataArraysOverTime_h
61 
62 #include "vtkDataObject.h" // for vtkDataObject
63 #include "vtkFiltersExtractionModule.h" // For export macro
65 #include "vtkSmartPointer.h" // for vtkSmartPointer.
66 
67 class vtkDataSet;
68 class vtkTable;
71 class vtkOrderStatistics;
72 
73 class VTKFILTERSEXTRACTION_EXPORT vtkExtractDataArraysOverTime
75 {
76 public:
79  void PrintSelf(ostream& os, vtkIndent indent) override;
80 
82 
85  vtkGetMacro(NumberOfTimeSteps, int);
87 
89 
94  vtkSetClampMacro(
96  vtkGetMacro(FieldAssociation, int);
98 
100 
110  vtkSetMacro(ReportStatisticsOnly, bool);
111  vtkGetMacro(ReportStatisticsOnly, bool);
112  vtkBooleanMacro(ReportStatisticsOnly, bool);
114 
116 
120  vtkSetMacro(UseGlobalIDs, bool);
121  vtkGetMacro(UseGlobalIDs, bool);
123 
124 protected:
126  ~vtkExtractDataArraysOverTime() override;
127 
128  int RequestInformation(vtkInformation* request, vtkInformationVector** inputVector,
129  vtkInformationVector* outputVector) override;
130  int RequestUpdateExtent(vtkInformation* request, vtkInformationVector** inputVector,
131  vtkInformationVector* outputVector) override;
132  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
133  vtkInformationVector* outputVector) override;
134 
135  virtual void PostExecute(vtkInformation* request, vtkInformationVector** inputVector,
136  vtkInformationVector* outputVector);
137 
138  int FillInputPortInformation(int port, vtkInformation* info) override;
139 
145  int Error;
146  enum Errors
147  {
149  MoreThan1Indices
150  };
151 
152  virtual vtkSmartPointer<vtkDescriptiveStatistics> NewDescriptiveStatistics();
153  virtual vtkSmartPointer<vtkOrderStatistics> NewOrderStatistics();
154 
155 private:
157  void operator=(const vtkExtractDataArraysOverTime&) = delete;
158 
159  class vtkInternal;
160  friend class vtkInternal;
161  vtkInternal* Internal;
162 };
163 #endif
vtkDataObject::POINT
Definition: vtkDataObject.h:275
vtkExtractDataArraysOverTime::CurrentTimeIndex
int CurrentTimeIndex
Definition: vtkExtractDataArraysOverTime.h:140
vtkDataSetAttributes
represent and manipulate attribute data in a dataset
Definition: vtkDataSetAttributes.h:59
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkTable
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:68
vtkSmartPointer
Hold a reference to a vtkObjectBase instance.
Definition: vtkSmartPointer.h:36
vtkDescriptiveStatistics
A class for univariate descriptive statistics.
Definition: vtkDescriptiveStatistics.h:67
vtkMultiBlockDataSetAlgorithm::New
static vtkMultiBlockDataSetAlgorithm * New()
vtkMultiBlockDataSetAlgorithm::RequestUpdateExtent
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Definition: vtkMultiBlockDataSetAlgorithm.h:100
vtkOrderStatistics
A class for univariate order statistics.
Definition: vtkOrderStatistics.h:60
vtkExtractDataArraysOverTime::FieldAssociation
int FieldAssociation
Definition: vtkExtractDataArraysOverTime.h:142
vtkDataObject::NUMBER_OF_ATTRIBUTE_TYPES
Definition: vtkDataObject.h:282
vtkMultiBlockDataSetAlgorithm::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Definition: vtkMultiBlockDataSetAlgorithm.h:91
vtkExtractDataArraysOverTime::NumberOfTimeSteps
int NumberOfTimeSteps
Definition: vtkExtractDataArraysOverTime.h:141
vtkX3D::port
Definition: vtkX3D.h:447
vtkExtractDataArraysOverTime::UseGlobalIDs
bool UseGlobalIDs
Definition: vtkExtractDataArraysOverTime.h:144
vtkExtractDataArraysOverTime::Errors
Errors
Definition: vtkExtractDataArraysOverTime.h:146
vtkExtractDataArraysOverTime::ReportStatisticsOnly
bool ReportStatisticsOnly
Definition: vtkExtractDataArraysOverTime.h:143
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkExtractDataArraysOverTime
extracts array from input dataset over time.
Definition: vtkExtractDataArraysOverTime.h:73
vtkSmartPointer.h
vtkMultiBlockDataSetAlgorithm.h
vtkDataSet
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
vtkMultiBlockDataSetAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkX3D::info
Definition: vtkX3D.h:376
vtkDataObject.h
vtkExtractDataArraysOverTime::NoError
Definition: vtkExtractDataArraysOverTime.h:148
vtkMultiBlockDataSetAlgorithm::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkMultiBlockDataSetAlgorithm::RequestInformation
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Definition: vtkMultiBlockDataSetAlgorithm.h:83
vtkExtractDataArraysOverTime::Error
int Error
Definition: vtkExtractDataArraysOverTime.h:145
vtkMultiBlockDataSetAlgorithm
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
Definition: vtkMultiBlockDataSetAlgorithm.h:35