VTK
vtkTemporalDataSetAlgorithm.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTemporalDataSetAlgorithm.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 =========================================================================*/
23 #ifndef __vtkTemporalDataSetAlgorithm_h
24 #define __vtkTemporalDataSetAlgorithm_h
25 
26 #include "vtkAlgorithm.h"
27 
28 class vtkTemporalDataSet;
29 
31 {
32 public:
35  void PrintSelf(ostream& os, vtkIndent indent);
36 
38 
39  vtkTemporalDataSet* GetOutput();
40  vtkTemporalDataSet* GetOutput(int);
42 
44 
51  void SetInput(vtkDataObject*);
52  void SetInput(int, vtkDataObject*);
54 
56 
57  virtual int ProcessRequest(vtkInformation* request,
58  vtkInformationVector** inputVector,
59  vtkInformationVector* outputVector);
61 
62 protected:
65 
67 
71  vtkInformationVector*) {return 1;};
73 
75 
79  vtkInformationVector*) {return 1;};
81 
83 
85  virtual int RequestData(vtkInformation*,
87  vtkInformationVector*) {return 1;};
89 
91 
96  {
97  return 1;
98  };
100 
101  // Create a default executive.
102  virtual vtkExecutive* CreateDefaultExecutive();
103 
104  // see algorithm for more info
105  virtual int FillOutputPortInformation(int port, vtkInformation* info);
106  virtual int FillInputPortInformation(int port, vtkInformation* info);
107 
108  vtkDataObject *GetInput(int port);
109 
110 private:
111  vtkTemporalDataSetAlgorithm(const vtkTemporalDataSetAlgorithm&); // Not implemented.
112  void operator=(const vtkTemporalDataSetAlgorithm&); // Not implemented.
113 };
114 
115 #endif
116 
117 
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual vtkExecutive * CreateDefaultExecutive()
Store vtkAlgorithm input/output information.
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
#define VTK_FILTERING_EXPORT
virtual int ProcessRequest(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:59
virtual int FillOutputPortInformation(int port, vtkInformation *info)
a simple class to control print indentation
Definition: vtkIndent.h:37
virtual int FillInputPortInformation(int port, vtkInformation *info)
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Store zero or more vtkInformation instances.
static vtkAlgorithm * New()
helper class to get VTK data object types as string and instantiate them
Superclass for algorithms that produce only vtkTemporalDataSet as output.
void PrintSelf(ostream &os, vtkIndent indent)