VTK
vtkPassInputTypeAlgorithm.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPassInputTypeAlgorithm.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 =========================================================================*/
33 #ifndef vtkPassInputTypeAlgorithm_h
34 #define vtkPassInputTypeAlgorithm_h
35 
36 #include "vtkCommonExecutionModelModule.h" // For export macro
37 #include "vtkAlgorithm.h"
38 
39 class vtkDataObject;
40 class vtkGraph;
41 class vtkImageData;
42 class vtkPolyData;
44 class vtkStructuredGrid;
46 class vtkRectilinearGrid;
47 class vtkTable;
48 
50 {
51 public:
54  void PrintSelf(ostream& os, vtkIndent indent);
55 
57 
61 
64 
67 
70 
73 
76 
79 
82 
85 
89 
91 
97 
99 
105 
106 
108 
109  virtual int ProcessRequest(vtkInformation* request,
110  vtkInformationVector** inputVector,
111  vtkInformationVector* outputVector);
113 
114 protected:
117 
119 
126  vtkInformationVector*) {return 1;};
128 
129 
132  vtkInformationVector*) { return 1;}
133 
136  vtkInformationVector*) { return 1;}
137 
138 
140 
147  {
148  return 1;
149  };
151 
152 
154 
161  virtual int RequestDataObject(vtkInformation* request,
162  vtkInformationVector** inputVector,
163  vtkInformationVector* outputVector);
165 
167 
173  vtkInformationVector*) {return 1;};
175 
176 
177  // see algorithm for more info
180 
182 
183 private:
184  vtkPassInputTypeAlgorithm(const vtkPassInputTypeAlgorithm&); // Not implemented.
185  void operator=(const vtkPassInputTypeAlgorithm&); // Not implemented.
186 };
187 
188 #endif
189 
190 
vtkPassInputTypeAlgorithm::GetInput
vtkDataObject * GetInput(int port)
vtkPassInputTypeAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkStructuredPoints
A subclass of ImageData.
Definition: vtkStructuredPoints.h:39
vtkPassInputTypeAlgorithm::AddInputData
void AddInputData(int, vtkDataObject *)
VTKCOMMONEXECUTIONMODEL_EXPORT
#define VTKCOMMONEXECUTIONMODEL_EXPORT
Definition: vtkCommonExecutionModelModule.h:15
vtkPassInputTypeAlgorithm::RequestDataObject
virtual int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkPassInputTypeAlgorithm::GetGraphOutput
vtkGraph * GetGraphOutput()
vtkPassInputTypeAlgorithm::GetUnstructuredGridOutput
vtkUnstructuredGrid * GetUnstructuredGridOutput()
vtkPassInputTypeAlgorithm::GetOutput
vtkDataObject * GetOutput(int)
vtkAlgorithm
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:62
vtkRectilinearGrid
a dataset that is topologically regular with variable spacing in the three coordinate directions
Definition: vtkRectilinearGrid.h:56
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
vtkPassInputTypeAlgorithm::RequestUpdateTime
virtual int RequestUpdateTime(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Definition: vtkPassInputTypeAlgorithm.h:130
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkStructuredGrid
topologically regular array of data
Definition: vtkStructuredGrid.h:63
vtkPassInputTypeAlgorithm::FillOutputPortInformation
virtual int FillOutputPortInformation(int port, vtkInformation *info)
vtkPassInputTypeAlgorithm::GetImageDataOutput
vtkImageData * GetImageDataOutput()
vtkCommonExecutionModelModule.h
vtkPassInputTypeAlgorithm::AddInputData
void AddInputData(vtkDataObject *)
vtkPassInputTypeAlgorithm::~vtkPassInputTypeAlgorithm
~vtkPassInputTypeAlgorithm()
Definition: vtkPassInputTypeAlgorithm.h:116
vtkAlgorithm.h
vtkPassInputTypeAlgorithm::SetInputData
void SetInputData(vtkDataObject *)
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkPassInputTypeAlgorithm::SetInputData
void SetInputData(int, vtkDataObject *)
vtkPassInputTypeAlgorithm::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Definition: vtkPassInputTypeAlgorithm.h:171
vtkPassInputTypeAlgorithm::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
vtkPassInputTypeAlgorithm::GetStructuredPointsOutput
vtkStructuredPoints * GetStructuredPointsOutput()
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:45
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkPassInputTypeAlgorithm::GetInput
vtkDataObject * GetInput()
vtkPassInputTypeAlgorithm::GetStructuredGridOutput
vtkStructuredGrid * GetStructuredGridOutput()
vtkPassInputTypeAlgorithm::GetPolyDataOutput
vtkPolyData * GetPolyDataOutput()
vtkPassInputTypeAlgorithm::GetRectilinearGridOutput
vtkRectilinearGrid * GetRectilinearGridOutput()
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkPassInputTypeAlgorithm::New
static vtkPassInputTypeAlgorithm * New()
vtkPolyData
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:84
vtkPassInputTypeAlgorithm::RequestUpdateTimeDependentInformation
virtual int RequestUpdateTimeDependentInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Definition: vtkPassInputTypeAlgorithm.h:134
vtkPassInputTypeAlgorithm::GetTableOutput
vtkTable * GetTableOutput()
vtkUnstructuredGrid
dataset represents arbitrary combinations of all possible cell types
Definition: vtkUnstructuredGrid.h:82
vtkPassInputTypeAlgorithm::RequestUpdateExtent
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Definition: vtkPassInputTypeAlgorithm.h:144
vtkGraph
Base class for graph data types.
Definition: vtkGraph.h:289
vtkPassInputTypeAlgorithm::vtkPassInputTypeAlgorithm
vtkPassInputTypeAlgorithm()
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:65
vtkPassInputTypeAlgorithm::GetOutput
vtkDataObject * GetOutput()
vtkPassInputTypeAlgorithm::ProcessRequest
virtual int ProcessRequest(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkPassInputTypeAlgorithm::RequestInformation
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Definition: vtkPassInputTypeAlgorithm.h:124
vtkPassInputTypeAlgorithm
Superclass for algorithms that produce output of the same type as input.
Definition: vtkPassInputTypeAlgorithm.h:50