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:
52  void PrintSelf(ostream& os, vtkIndent indent);
53 
55 
56  vtkGetMacro(NumberOfTimeSteps,int);
58 
60 
63  {
64  this->SetInputConnection(1, algOutput);
65  }
67 
69 
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 
114 
116 
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
vtkExtractArraysOverTime
extracts a selection over time.
Definition: vtkExtractArraysOverTime.h:48
vtkGetObjectMacro
#define vtkGetObjectMacro(name, type)
Definition: vtkSetGet.h:232
vtkExtractArraysOverTime::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
vtkExtractArraysOverTime::PostExecute
virtual void PostExecute(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkExtractArraysOverTime::SetSelectionConnection
void SetSelectionConnection(vtkAlgorithmOutput *algOutput)
Definition: vtkExtractArraysOverTime.h:62
vtkDataSetAttributes
represent and manipulate attribute data in a dataset
Definition: vtkDataSetAttributes.h:58
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkTable
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:68
vtkFiltersExtractionModule.h
vtkExtractSelection
extract a subset from a vtkDataSet.
Definition: vtkExtractSelection.h:50
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkSelection
A node in a selection tree. Used to store selection results.
Definition: vtkSelection.h:45
vtkExtractArraysOverTime::CurrentTimeIndex
int CurrentTimeIndex
Definition: vtkExtractArraysOverTime.h:120
vtkExtractArraysOverTime::New
static vtkExtractArraysOverTime * New()
vtkExtractArraysOverTime::SelectionExtractor
vtkExtractSelection * SelectionExtractor
Definition: vtkExtractArraysOverTime.h:138
vtkExtractArraysOverTime::NumberOfTimeSteps
int NumberOfTimeSteps
Definition: vtkExtractArraysOverTime.h:121
vtkExtractArraysOverTime::~vtkExtractArraysOverTime
~vtkExtractArraysOverTime()
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkExtractArraysOverTime::RequestInformation
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkExtractArraysOverTime::Errors
Errors
Definition: vtkExtractArraysOverTime.h:133
vtkExtractArraysOverTime::Error
int Error
Definition: vtkExtractArraysOverTime.h:130
vtkExtractArraysOverTime::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkExtractArraysOverTime::ContentType
int ContentType
Definition: vtkExtractArraysOverTime.h:124
vtkExtractArraysOverTime::SetSelectionExtractor
virtual void SetSelectionExtractor(vtkExtractSelection *)
vtkExtractArraysOverTime::IsExecuting
bool IsExecuting
Definition: vtkExtractArraysOverTime.h:126
vtkMultiBlockDataSetAlgorithm.h
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkExtractArraysOverTime::vtkExtractArraysOverTime
vtkExtractArraysOverTime()
vtkExtractArraysOverTime::NoError
@ NoError
Definition: vtkExtractArraysOverTime.h:134
vtkDataSet
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkAlgorithm::SetInputConnection
virtual void SetInputConnection(int port, vtkAlgorithmOutput *input)
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkExtractArraysOverTime::DetermineSelectionType
int DetermineSelectionType(vtkSelection *)
vtkExtractArraysOverTime::FieldType
int FieldType
Definition: vtkExtractArraysOverTime.h:123
VTKFILTERSEXTRACTION_EXPORT
#define VTKFILTERSEXTRACTION_EXPORT
Definition: vtkFiltersExtractionModule.h:15
vtkExtractArraysOverTime::RequestUpdateExtent
virtual int RequestUpdateExtent(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkAlgorithmOutput
Proxy object to connect input/output ports.
Definition: vtkAlgorithmOutput.h:39
vtkExtractArraysOverTime::ExecuteAtTimeStep
void ExecuteAtTimeStep(vtkInformationVector **inputV, vtkInformation *outInfo)
vtkExtractArraysOverTime::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkExtractArraysOverTime::ReportStatisticsOnly
int ReportStatisticsOnly
Definition: vtkExtractArraysOverTime.h:128
vtkMultiBlockDataSetAlgorithm
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
Definition: vtkMultiBlockDataSetAlgorithm.h:32