VTK  9.0.3
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 
40 class vtkDataObject;
41 class vtkGraph;
42 class vtkImageData;
43 class vtkMolecule;
44 class vtkPolyData;
45 class vtkRectilinearGrid;
46 class vtkStructuredGrid;
48 class vtkTable;
50 
51 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkPassInputTypeAlgorithm : public vtkAlgorithm
52 {
53 public:
56  void PrintSelf(ostream& os, vtkIndent indent) override;
57 
59 
65 
67 
80 
86 
88 
96 
98 
106 
111  vtkInformationVector* outputVector) override;
112 
113 protected:
116 
125  {
126  return 1;
127  }
128 
130  {
131  return 1;
132  }
133 
136  {
137  return 1;
138  }
139 
141 
148  {
149  return 1;
150  }
152 
162  virtual int RequestDataObject(vtkInformation* request, vtkInformationVector** inputVector,
163  vtkInformationVector* outputVector);
164 
172  {
173  return 1;
174  }
175 
176  // see algorithm for more info
179 
181 
182 private:
184  void operator=(const vtkPassInputTypeAlgorithm&) = delete;
185 };
186 
187 #endif
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:63
general representation of visualization data
Definition: vtkDataObject.h:60
Base class for graph data types.
Definition: vtkGraph.h:290
topologically and geometrically regular array of data
Definition: vtkImageData.h:42
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.
static vtkPassInputTypeAlgorithm * New()
virtual int RequestUpdateTime(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkDataObject * GetInput()
Get the input data object.
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
vtkUnstructuredGrid * GetUnstructuredGridOutput()
virtual int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called within ProcessRequest to when a request asks the algorithm to create empty output data...
void AddInputData(int, vtkDataObject *)
void AddInputData(vtkDataObject *)
Assign a data object as input.
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when each filter in the pipeline decides what portion of its inp...
vtkDataObject * GetOutput(int)
virtual int RequestUpdateTimeDependentInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void SetInputData(int, vtkDataObject *)
vtkTypeBool ProcessRequest(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
see vtkAlgorithm for details
vtkStructuredPoints * GetStructuredPointsOutput()
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks for Information.
vtkMolecule * GetMoleculeOutput()
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
vtkDataObject * GetOutput()
Get the output data object for a port on this algorithm.
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.
vtkDataObject * GetInput(int port)
vtkRectilinearGrid * GetRectilinearGridOutput()
vtkPolyData * GetPolyDataOutput()
Get the output as a concrete type.
vtkImageData * GetImageDataOutput()
vtkStructuredGrid * GetStructuredGridOutput()
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:63
dataset represents arbitrary combinations of all possible cell types
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453
int vtkTypeBool
Definition: vtkABI.h:69