VTK  9.2.6
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=========================================================================*/
34#ifndef vtkPassInputTypeAlgorithm_h
35#define vtkPassInputTypeAlgorithm_h
36
37#include "vtkAlgorithm.h"
38#include "vtkCommonExecutionModelModule.h" // For export macro
39
40class vtkDataObject;
41class vtkGraph;
43class vtkImageData;
44class vtkMolecule;
45class vtkPolyData;
49class vtkTable;
51
52class VTKCOMMONEXECUTIONMODEL_EXPORT vtkPassInputTypeAlgorithm : public vtkAlgorithm
53{
54public:
57 void PrintSelf(ostream& os, vtkIndent indent) override;
58
60
66
68
82
88
90
98
100
108
113 vtkInformationVector* outputVector) override;
114
115protected:
117 ~vtkPassInputTypeAlgorithm() override = default;
118
128 virtual int RequestDataObject(vtkInformation* request, vtkInformationVector** inputVector,
129 vtkInformationVector* outputVector);
130
139 {
140 return 1;
141 }
142
150 {
151 return 1;
152 }
153
162 {
163 return 1;
164 }
165
174 {
175 return 1;
176 }
177
185 {
186 return 1;
187 }
188
189 // see algorithm for more info
190 int FillOutputPortInformation(int port, vtkInformation* info) override;
191 int FillInputPortInformation(int port, vtkInformation* info) override;
192
194
195private:
197 void operator=(const vtkPassInputTypeAlgorithm&) = delete;
198};
199
200#endif
Superclass for all sources, filters, and sinks in VTK.
general representation of visualization data
Base class for graph data types.
Definition vtkGraph.h:290
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
topologically and geometrically regular array of data
a simple class to control print indentation
Definition vtkIndent.h:34
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
class describing a molecule
Definition vtkMolecule.h:92
Superclass for algorithms that produce output of the same type as input.
vtkDataObject * GetInput()
Get the input data object.
virtual int RequestUpdateTime(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request ask for temporal information to be updated.
vtkDataObject * GetOutput()
Get the output data object for a port on this algorithm.
vtkHyperTreeGrid * GetHyperTreeGridOutput()
Get the output as a concrete type.
static vtkPassInputTypeAlgorithm * New()
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
virtual int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called within ProcessRequest when a request asks the algorithm to create empty output data ob...
void AddInputData(int, vtkDataObject *)
Assign a data object as input.
vtkUnstructuredGrid * GetUnstructuredGridOutput()
Get the output as a concrete type.
void AddInputData(vtkDataObject *)
Assign a data object as input.
vtkStructuredPoints * GetStructuredPointsOutput()
Get the output as a concrete type.
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when each filter in the pipeline decides what portion of its inp...
vtkGraph * GetGraphOutput()
Get the output as a concrete type.
virtual int RequestUpdateTimeDependentInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request ask for meta information to be updated.
void SetInputData(int, vtkDataObject *)
Assign a data object as input.
vtkTypeBool ProcessRequest(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
see vtkAlgorithm for details
vtkPolyData * GetPolyDataOutput()
Get the output as a concrete type.
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks for Information.
vtkRectilinearGrid * GetRectilinearGridOutput()
Get the output as a concrete type.
vtkDataObject * GetOutput(int)
Get the output data object for a port on this algorithm.
~vtkPassInputTypeAlgorithm() override=default
vtkTable * GetTableOutput()
Get the output as a concrete type.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
void SetInputData(vtkDataObject *)
Assign a data object as input.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkMolecule * GetMoleculeOutput()
Get the output as a concrete type.
vtkStructuredGrid * GetStructuredGridOutput()
Get the output as a concrete type.
vtkDataObject * GetInput(int port)
vtkImageData * GetImageDataOutput()
Get the output as a concrete type.
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition vtkPolyData.h:85
a dataset that is topologically regular with variable spacing in the three coordinate directions
topologically regular array of data
A subclass of ImageData.
A table, which contains similar-typed columns of data.
Definition vtkTable.h:68
dataset represents arbitrary combinations of all possible cell types
int vtkTypeBool
Definition vtkABI.h:69