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 =========================================================================*/
35 #ifndef vtkExtractArraysOverTime_h
36 #define vtkExtractArraysOverTime_h
37 
38 #include "vtkFiltersExtractionModule.h" // For export macro
40 
41 class vtkSelection;
42 class vtkDataSet;
43 class vtkTable;
46 
48 {
49 public:
50  static vtkExtractArraysOverTime *New();
52  void PrintSelf(ostream& os, vtkIndent indent);
53 
55 
56  vtkGetMacro(NumberOfTimeSteps,int);
58 
60 
63  {
64  this->SetInputConnection(1, algOutput);
65  }
67 
69 
74  virtual void SetSelectionExtractor(vtkExtractSelection*);
75  vtkGetObjectMacro(SelectionExtractor,vtkExtractSelection);
77 
79 
85  vtkSetMacro(ReportStatisticsOnly,int);
86  vtkGetMacro(ReportStatisticsOnly,int);
87  vtkBooleanMacro(ReportStatisticsOnly,int);
89 
90 //BTX
91 protected:
94 
95  virtual int RequestInformation(vtkInformation* request,
96  vtkInformationVector** inputVector,
97  vtkInformationVector* outputVector);
98  virtual int RequestUpdateExtent(vtkInformation* request,
99  vtkInformationVector** inputVector,
100  vtkInformationVector* outputVector);
101  virtual int RequestData(vtkInformation* request,
102  vtkInformationVector** inputVector,
103  vtkInformationVector* outputVector);
104 
105  virtual void PostExecute(vtkInformation* request,
106  vtkInformationVector** inputVector,
107  vtkInformationVector* outputVector);
108 
113  int DetermineSelectionType(vtkSelection*);
114 
116 
117  void ExecuteAtTimeStep(vtkInformationVector** inputV,
118  vtkInformation* outInfo);
119 
122 
125 
127 
129 
130  int Error;
131 
132  enum Errors
133  {
135  MoreThan1Indices
136  };
137 
139 
140 private:
141  vtkExtractArraysOverTime(const vtkExtractArraysOverTime&); // Not implemented.
142  void operator=(const vtkExtractArraysOverTime&); // Not implemented.
143 
144  class vtkInternal;
145  vtkInternal *Internal;
146 
147 //ETX
148 };
149 
150 #endif
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:61
A node in a selection tree. Used to store selection results.
Definition: vtkSelection.h:44
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Proxy object to connect input/output ports.
extracts a selection over time.
static vtkMultiBlockDataSetAlgorithm * New()
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual void SetInputConnection(int port, vtkAlgorithmOutput *input)
#define VTKFILTERSEXTRACTION_EXPORT
represent and manipulate attribute data in a dataset
extract a subset from a vtkDataSet.
vtkExtractSelection * SelectionExtractor
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:67
virtual int FillInputPortInformation(int port, vtkInformation *info)
void PrintSelf(ostream &os, vtkIndent indent)
Store zero or more vtkInformation instances.
void SetSelectionConnection(vtkAlgorithmOutput *algOutput)
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)