VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 
118 
120  bool UpdateFastPathIDs(
121  vtkInformationVector** inputV, vtkInformation* outInfo);
123 
127  void CopyFastPathDataToOutput(vtkDataSet *input, vtkTable *output);
128 
129 
130  void ExecuteAtTimeStep(vtkInformationVector** inputV,
131  vtkInformation* outInfo);
132 
135 
138 
142 
144 
145  int Error;
146 
147  enum Errors
148  {
150  MoreThan1Indices
151  };
152 
154 
155 private:
156  vtkExtractArraysOverTime(const vtkExtractArraysOverTime&); // Not implemented.
157  void operator=(const vtkExtractArraysOverTime&); // Not implemented.
158 
159  class vtkInternal;
160  vtkInternal *Internal;
161 
162 //ETX
163 };
164 
165 #endif
Store vtkAlgorithm input/output information.
GLenum GLenum GLenum input
Definition: vtkgl.h:15941
abstract class to specify dataset behavior
Definition: vtkDataSet.h:60
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 *)