VTK: Filters/Extraction/vtkExtractDataArraysOverTime.h Source File

| 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
55 #include "vtkMultiBlockDataSetAlgorithm.h"
56 #include "vtkSmartPointer.h" // for vtkSmartPointer.
57
58 VTK_ABI_NAMESPACE_BEGIN
59 class vtkDataSet;
60 class vtkTable;
61 class vtkDataSetAttributes;
62 class vtkDescriptiveStatistics;
63 class vtkOrderStatistics;
64
65 class VTKFILTERSEXTRACTION_EXPORT vtkExtractDataArraysOverTime
66 : public vtkMultiBlockDataSetAlgorithm
67 {
68 public:
69 static vtkExtractDataArraysOverTime* New();
70 vtkTypeMacro(vtkExtractDataArraysOverTime, vtkMultiBlockDataSetAlgorithm);
71 void PrintSelf(ostream& os, vtkIndent indent) override;
72
74
77 vtkGetMacro(NumberOfTimeSteps, int);
79
81
86 vtkSetClampMacro(
87 FieldAssociation, int, vtkDataObject::POINT, vtkDataObject::NUMBER_OF_ATTRIBUTE_TYPES - 1);
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:
117 vtkExtractDataArraysOverTime();
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
132 int CurrentTimeIndex;
133 int NumberOfTimeSteps;
134 int FieldAssociation;
135 bool ReportStatisticsOnly;
136 bool UseGlobalIDs;
137 int Error;
138 enum Errors
139 {
140 NoError,
141 MoreThan1Indices
142 };
143
144 virtual vtkSmartPointer<vtkDescriptiveStatistics> NewDescriptiveStatistics();
145 virtual vtkSmartPointer<vtkOrderStatistics> NewOrderStatistics();
146
147 private:
148 vtkExtractDataArraysOverTime(const vtkExtractDataArraysOverTime&) = delete;
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
vtkDataObject::POINT
@ POINT
Definition: vtkDataObject.h:278
vtkDataObject::NUMBER_OF_ATTRIBUTE_TYPES
@ NUMBER_OF_ATTRIBUTE_TYPES
Definition: vtkDataObject.h:285
vtkDataSetAttributes
represent and manipulate attribute data in a dataset
Definition: vtkDataSetAttributes.h:65
vtkDataSet
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
vtkDescriptiveStatistics
A class for univariate descriptive statistics.
Definition: vtkDescriptiveStatistics.h:107
vtkExtractDataArraysOverTime
extracts array from input dataset over time.
Definition: vtkExtractDataArraysOverTime.h:67
vtkExtractDataArraysOverTime::RequestData
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
vtkExtractDataArraysOverTime::~vtkExtractDataArraysOverTime
~vtkExtractDataArraysOverTime() override
vtkExtractDataArraysOverTime::UseGlobalIDs
bool UseGlobalIDs
Definition: vtkExtractDataArraysOverTime.h:136
vtkExtractDataArraysOverTime::PostExecute
virtual void PostExecute(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkExtractDataArraysOverTime::Error
int Error
Definition: vtkExtractDataArraysOverTime.h:137
vtkExtractDataArraysOverTime::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkExtractDataArraysOverTime::RequestUpdateExtent
int RequestUpdateExtent(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
vtkExtractDataArraysOverTime::RequestInformation
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
vtkExtractDataArraysOverTime::FieldAssociation
int FieldAssociation
Definition: vtkExtractDataArraysOverTime.h:134
vtkExtractDataArraysOverTime::NewOrderStatistics
virtual vtkSmartPointer< vtkOrderStatistics > NewOrderStatistics()
vtkExtractDataArraysOverTime::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkExtractDataArraysOverTime::CurrentTimeIndex
int CurrentTimeIndex
Definition: vtkExtractDataArraysOverTime.h:132
vtkExtractDataArraysOverTime::NewDescriptiveStatistics
virtual vtkSmartPointer< vtkDescriptiveStatistics > NewDescriptiveStatistics()
vtkExtractDataArraysOverTime::Errors
Errors
Definition: vtkExtractDataArraysOverTime.h:139
vtkExtractDataArraysOverTime::NoError
@ NoError
Definition: vtkExtractDataArraysOverTime.h:140
vtkExtractDataArraysOverTime::vtkExtractDataArraysOverTime
vtkExtractDataArraysOverTime()
vtkExtractDataArraysOverTime::ReportStatisticsOnly
bool ReportStatisticsOnly
Definition: vtkExtractDataArraysOverTime.h:135
vtkExtractDataArraysOverTime::New
static vtkExtractDataArraysOverTime * New()
vtkExtractDataArraysOverTime::NumberOfTimeSteps
int NumberOfTimeSteps
Definition: vtkExtractDataArraysOverTime.h:133
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:40
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:72
vtkMultiBlockDataSetAlgorithm
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
Definition: vtkMultiBlockDataSetAlgorithm.h:25
vtkOrderStatistics
A class for univariate order statistics.
Definition: vtkOrderStatistics.h:46
vtkSmartPointer
Hold a reference to a vtkObjectBase instance.
Definition: vtkSmartPointer.h:41
vtkTable
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:68
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkDataObject.h
vtkMultiBlockDataSetAlgorithm.h
vtkSmartPointer.h