VTK
vtkExtractArraysOverTime.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkExtractArraysOverTime.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 =========================================================================*/
36 #ifndef vtkExtractArraysOverTime_h
37 #define vtkExtractArraysOverTime_h
38 
39 #include "vtkFiltersExtractionModule.h" // For export macro
41 
42 class vtkSelection;
43 class vtkDataSet;
44 class vtkTable;
47 
48 class VTKFILTERSEXTRACTION_EXPORT vtkExtractArraysOverTime : public vtkMultiBlockDataSetAlgorithm
49 {
50 public:
51  static vtkExtractArraysOverTime *New();
53  void PrintSelf(ostream& os, vtkIndent indent);
54 
56 
59  vtkGetMacro(NumberOfTimeSteps,int);
61 
67  {
68  this->SetInputConnection(1, algOutput);
69  }
70 
72 
82  virtual void SetSelectionExtractor(vtkExtractSelection*);
83  vtkGetObjectMacro(SelectionExtractor,vtkExtractSelection);
85 
87 
97  vtkSetMacro(ReportStatisticsOnly,int);
98  vtkGetMacro(ReportStatisticsOnly,int);
99  vtkBooleanMacro(ReportStatisticsOnly,int);
101 
102 protected:
105 
106  virtual int RequestInformation(vtkInformation* request,
107  vtkInformationVector** inputVector,
108  vtkInformationVector* outputVector);
109  virtual int RequestUpdateExtent(vtkInformation* request,
110  vtkInformationVector** inputVector,
111  vtkInformationVector* outputVector);
112  virtual int RequestData(vtkInformation* request,
113  vtkInformationVector** inputVector,
114  vtkInformationVector* outputVector);
115 
116  virtual void PostExecute(vtkInformation* request,
117  vtkInformationVector** inputVector,
118  vtkInformationVector* outputVector);
119 
120  // Add virtual method to be overwritten in the subclass. takes the
121  virtual vtkSelection* GetSelection(vtkInformation* info);
122 
129  int DetermineSelectionType(vtkSelection*);
130 
132 
133  void ExecuteAtTimeStep(vtkInformationVector** inputV,
134  vtkInformation* outInfo);
135 
138 
141 
143 
145 
146  int Error;
147 
148  enum Errors
149  {
151  MoreThan1Indices
152  };
153 
155 
156 private:
157  vtkExtractArraysOverTime(const vtkExtractArraysOverTime&) VTK_DELETE_FUNCTION;
158  void operator=(const vtkExtractArraysOverTime&) VTK_DELETE_FUNCTION;
159 
160  class vtkInternal;
161  vtkInternal *Internal;
162 
163 };
164 
165 #endif
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
A node in a selection tree.
Definition: vtkSelection.h:43
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Proxy object to connect input/output ports.
extracts a selection over time.
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:39
virtual void SetInputConnection(int port, vtkAlgorithmOutput *input)
Set the connection for the given input port index.
represent and manipulate attribute data in a dataset
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.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
extract a subset from a vtkDataSet.
vtkExtractSelection * SelectionExtractor
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:68
Store zero or more vtkInformation instances.
void SetSelectionConnection(vtkAlgorithmOutput *algOutput)
Convenience method to specify the selection connection (2nd input port)
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.