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 
39 
40 class vtkSelection;
41 class vtkDataSet;
42 class vtkTable;
43 class vtkExtractArraysOverTimeInternal;
45 
47 {
48 public:
49  static vtkExtractArraysOverTime *New();
51  void PrintSelf(ostream& os, vtkIndent indent);
52 
54 
55  vtkGetMacro(NumberOfTimeSteps,int);
57 
59 
62  {
63  this->SetInputConnection(1, algOutput);
64  }
66 
67 //BTX
68 protected:
71 
72  virtual int RequestInformation(vtkInformation* request,
73  vtkInformationVector** inputVector,
74  vtkInformationVector* outputVector);
75  virtual int RequestUpdateExtent(vtkInformation* request,
76  vtkInformationVector** inputVector,
77  vtkInformationVector* outputVector);
78  virtual int RequestData(vtkInformation* request,
79  vtkInformationVector** inputVector,
80  vtkInformationVector* outputVector);
81 
82  virtual void PostExecute(vtkInformation* request,
83  vtkInformationVector** inputVector,
84  vtkInformationVector* outputVector);
85 
90  int DetermineSelectionType(vtkSelection*);
91 
93 
95 
97  bool UpdateFastPathIDs(
98  vtkInformationVector** inputV, vtkInformation* outInfo);
100 
104  void CopyFastPathDataToOutput(vtkDataSet *input, vtkTable *output);
105 
106 
107  void ExecuteAtTimeStep(vtkInformationVector** inputV,
108  vtkInformation* outInfo);
109 
112 
115 
119 
120  int Error;
121 
122  enum Errors
123  {
125  MoreThan1Indices
126  };
127 
128 private:
129  vtkExtractArraysOverTime(const vtkExtractArraysOverTime&); // Not implemented.
130  void operator=(const vtkExtractArraysOverTime&); // Not implemented.
131 
132  class vtkInternal;
133  vtkInternal *Internal;
134 
135 //ETX
136 };
137 
138 #endif
139 
140 
141