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 =========================================================================*/
37 #ifndef vtkPassInputTypeAlgorithm_h
38 #define vtkPassInputTypeAlgorithm_h
39 
40 #include "vtkCommonExecutionModelModule.h" // For export macro
41 #include "vtkAlgorithm.h"
42 
43 class vtkDataObject;
44 class vtkGraph;
45 class vtkImageData;
46 class vtkMolecule;
47 class vtkPolyData;
48 class vtkRectilinearGrid;
49 class vtkStructuredGrid;
51 class vtkTable;
53 
54 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkPassInputTypeAlgorithm : public vtkAlgorithm
55 {
56 public:
59  void PrintSelf(ostream& os, vtkIndent indent) override;
60 
62 
68 
70 
83 
89 
91 
99 
101 
109 
110 
115  vtkInformationVector** inputVector,
116  vtkInformationVector* outputVector) override;
117 
118 protected:
121 
131  vtkInformationVector*) {return 1;};
132 
133 
136  vtkInformationVector*) { return 1;}
137 
140  vtkInformationVector*) { return 1;}
141 
142 
144 
153  {
154  return 1;
155  };
157 
158 
168  virtual int RequestDataObject(vtkInformation* request,
169  vtkInformationVector** inputVector,
170  vtkInformationVector* outputVector);
171 
180  vtkInformationVector*) {return 1;};
181 
182 
183  // see algorithm for more info
186 
188 
189 private:
191  void operator=(const vtkPassInputTypeAlgorithm&) = delete;
192 };
193 
194 #endif
195 
196 
vtkPassInputTypeAlgorithm::GetInput
vtkDataObject * GetInput(int port)
vtkStructuredPoints
A subclass of ImageData.
Definition: vtkStructuredPoints.h:40
vtkPassInputTypeAlgorithm::AddInputData
void AddInputData(int, vtkDataObject *)
vtkPassInputTypeAlgorithm::RequestDataObject
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...
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:60
vtkRectilinearGrid
a dataset that is topologically regular with variable spacing in the three coordinate directions
Definition: vtkRectilinearGrid.h:57
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:42
vtkTable
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:69
vtkPassInputTypeAlgorithm::RequestUpdateTime
virtual int RequestUpdateTime(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Definition: vtkPassInputTypeAlgorithm.h:134
vtkPassInputTypeAlgorithm::ProcessRequest
int ProcessRequest(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
see vtkAlgorithm for details
vtkStructuredGrid
topologically regular array of data
Definition: vtkStructuredGrid.h:64
vtkPassInputTypeAlgorithm::GetImageDataOutput
vtkImageData * GetImageDataOutput()
vtkPassInputTypeAlgorithm::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkPassInputTypeAlgorithm::GetMoleculeOutput
vtkMolecule * GetMoleculeOutput()
vtkPassInputTypeAlgorithm::AddInputData
void AddInputData(vtkDataObject *)
Assign a data object as input.
vtkAlgorithm.h
vtkPassInputTypeAlgorithm::SetInputData
void SetInputData(vtkDataObject *)
Assign a data object as input.
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkPassInputTypeAlgorithm::SetInputData
void SetInputData(int, vtkDataObject *)
vtkPassInputTypeAlgorithm::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
Definition: vtkPassInputTypeAlgorithm.h:178
vtkPassInputTypeAlgorithm::GetStructuredPointsOutput
vtkStructuredPoints * GetStructuredPointsOutput()
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:46
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkPassInputTypeAlgorithm::GetInput
vtkDataObject * GetInput()
Get the input data object.
vtkPassInputTypeAlgorithm::GetStructuredGridOutput
vtkStructuredGrid * GetStructuredGridOutput()
vtkPassInputTypeAlgorithm::GetPolyDataOutput
vtkPolyData * GetPolyDataOutput()
Get the output as a concrete type.
vtkPassInputTypeAlgorithm::GetRectilinearGridOutput
vtkRectilinearGrid * GetRectilinearGridOutput()
vtkMolecule
class describing a molecule
Definition: vtkMolecule.h:95
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:87
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkPassInputTypeAlgorithm::~vtkPassInputTypeAlgorithm
~vtkPassInputTypeAlgorithm() override
Definition: vtkPassInputTypeAlgorithm.h:120
vtkPassInputTypeAlgorithm::New
static vtkPassInputTypeAlgorithm * New()
vtkPolyData
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:86
vtkPassInputTypeAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPassInputTypeAlgorithm::FillOutputPortInformation
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
vtkPassInputTypeAlgorithm::RequestUpdateTimeDependentInformation
virtual int RequestUpdateTimeDependentInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Definition: vtkPassInputTypeAlgorithm.h:138
vtkPassInputTypeAlgorithm::GetTableOutput
vtkTable * GetTableOutput()
vtkUnstructuredGrid
dataset represents arbitrary combinations of all possible cell types
Definition: vtkUnstructuredGrid.h:89
vtkPassInputTypeAlgorithm::RequestUpdateExtent
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when each filter in the pipeline decides what portion of its inp...
Definition: vtkPassInputTypeAlgorithm.h:150
vtkGraph
Base class for graph data types.
Definition: vtkGraph.h:288
vtkPassInputTypeAlgorithm::vtkPassInputTypeAlgorithm
vtkPassInputTypeAlgorithm()
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:65
vtkPassInputTypeAlgorithm::GetOutput
vtkDataObject * GetOutput()
Get the output data object for a port on this algorithm.
vtkPassInputTypeAlgorithm::RequestInformation
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks for Information.
Definition: vtkPassInputTypeAlgorithm.h:129
vtkPassInputTypeAlgorithm
Superclass for algorithms that produce output of the same type as input.
Definition: vtkPassInputTypeAlgorithm.h:55