VTK
vtkExtractSelectedArraysOverTime.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkExtractSelectedArraysOverTime.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 =========================================================================*/
35 #ifndef vtkExtractSelectedArraysOverTime_h
36 #define vtkExtractSelectedArraysOverTime_h
37 
38 #include "vtkFiltersExtractionModule.h" // For export macro
40 #include "vtkSmartPointer.h" // for vtkSmartPointer.
41 
42 class vtkDataSet;
46 class vtkSelection;
47 class vtkTable;
48 
49 class VTKFILTERSEXTRACTION_EXPORT vtkExtractSelectedArraysOverTime
51 {
52 public:
55  void PrintSelf(ostream& os, vtkIndent indent) override;
56 
58 
61  vtkGetMacro(NumberOfTimeSteps, int);
63 
69  {
70  this->SetInputConnection(1, algOutput);
71  }
72 
74 
81 
83 
93  vtkSetMacro(ReportStatisticsOnly, bool);
94  vtkGetMacro(ReportStatisticsOnly, bool);
95  vtkBooleanMacro(ReportStatisticsOnly, bool);
97 
98 protected:
101 
103 
105  vtkInformationVector* outputVector) override;
107  vtkInformationVector* outputVector) override;
108  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
109  vtkInformationVector* outputVector) override;
110 
111  virtual void PostExecute(vtkInformation* request, vtkInformationVector** inputVector,
112  vtkInformationVector* outputVector);
113 
121 
126  int Error;
127 
128  enum Errors
129  {
131  MoreThan1Indices
132  };
133 
136 
137 private:
139  void operator=(const vtkExtractSelectedArraysOverTime&) = delete;
140 
146 
147  bool IsExecuting;
148 };
149 
150 #endif
vtkExtractSelectedArraysOverTime::SelectionExtractor
vtkSmartPointer< vtkExtractSelection > SelectionExtractor
Definition: vtkExtractSelectedArraysOverTime.h:134
vtkExtractSelectedArraysOverTime::SetSelectionConnection
void SetSelectionConnection(vtkAlgorithmOutput *algOutput)
Convenience method to specify the selection connection (2nd input port)
Definition: vtkExtractSelectedArraysOverTime.h:68
vtkDataSetAttributes
represent and manipulate attribute data in a dataset
Definition: vtkDataSetAttributes.h:60
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:42
vtkTable
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:69
vtkExtractSelection
extract a subset from a vtkDataSet.
Definition: vtkExtractSelection.h:55
vtkSmartPointer< vtkExtractSelection >
vtkSelection
data object that represents a "selection" in VTK.
Definition: vtkSelection.h:64
vtkExtractSelectedArraysOverTime::ReportStatisticsOnly
bool ReportStatisticsOnly
Definition: vtkExtractSelectedArraysOverTime.h:125
vtkExtractSelectedArraysOverTime::RequestUpdateExtent
int RequestUpdateExtent(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
vtkExtractSelectedArraysOverTime::DetermineSelectionType
int DetermineSelectionType(vtkSelection *)
Determines the FieldType and ContentType for the selection.
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkExtractSelectedArraysOverTime::ContentType
int ContentType
Definition: vtkExtractSelectedArraysOverTime.h:124
vtkExtractSelectedArraysOverTime::PostExecute
virtual void PostExecute(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkExtractDataArraysOverTime
extracts array from input dataset over time.
Definition: vtkExtractDataArraysOverTime.h:75
vtkExtractSelectedArraysOverTime::NoError
@ NoError
Definition: vtkExtractSelectedArraysOverTime.h:130
vtkSmartPointer.h
vtkExtractSelectedArraysOverTime::vtkExtractSelectedArraysOverTime
vtkExtractSelectedArraysOverTime()
vtkMultiBlockDataSetAlgorithm.h
vtkExtractSelectedArraysOverTime::RequestData
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
vtkDataSet
abstract class to specify dataset behavior
Definition: vtkDataSet.h:63
vtkAlgorithm::SetInputConnection
virtual void SetInputConnection(int port, vtkAlgorithmOutput *input)
Set the connection for the given input port index.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:87
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkAlgorithmOutput
Proxy object to connect input/output ports.
Definition: vtkAlgorithmOutput.h:40
vtkExtractSelectedArraysOverTime::FieldType
int FieldType
Definition: vtkExtractSelectedArraysOverTime.h:123
vtkExtractSelectedArraysOverTime::NumberOfTimeSteps
int NumberOfTimeSteps
Definition: vtkExtractSelectedArraysOverTime.h:122
vtkExtractSelectedArraysOverTime::RequestInformation
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
vtkExtractSelectedArraysOverTime::SetSelectionExtractor
virtual void SetSelectionExtractor(vtkExtractSelection *)
Set/get the vtkExtractSelection instance used to obtain array values at each time step.
vtkExtractSelectedArraysOverTime::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkExtractSelectedArraysOverTime::Error
int Error
Definition: vtkExtractSelectedArraysOverTime.h:126
vtkExtractSelectedArraysOverTime::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkExtractSelectedArraysOverTime::GetSelectionExtractor
vtkExtractSelection * GetSelectionExtractor()
vtkExtractSelectedArraysOverTime::ArraysExtractor
vtkSmartPointer< vtkExtractDataArraysOverTime > ArraysExtractor
Definition: vtkExtractSelectedArraysOverTime.h:135
vtkExtractSelectedArraysOverTime::Errors
Errors
Definition: vtkExtractSelectedArraysOverTime.h:129
vtkExtractSelectedArraysOverTime::~vtkExtractSelectedArraysOverTime
~vtkExtractSelectedArraysOverTime() override
vtkExtractSelectedArraysOverTime::New
static vtkExtractSelectedArraysOverTime * New()
vtkMultiBlockDataSetAlgorithm
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
Definition: vtkMultiBlockDataSetAlgorithm.h:36
vtkExtractSelectedArraysOverTime
extracts a selection over time.
Definition: vtkExtractSelectedArraysOverTime.h:51