VTK  9.1.0
vtkExplicitStructuredGridAlgorithm.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkExplicitStructuredGridAlgorithm.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 =========================================================================*/
21 #ifndef vtkExplicitStructuredGridAlgorithm_h
22 #define vtkExplicitStructuredGridAlgorithm_h
23 
24 #include "vtkAlgorithm.h"
25 #include "vtkCommonExecutionModelModule.h" // For export macro
26 
27 class vtkDataSet;
29 
30 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkExplicitStructuredGridAlgorithm : public vtkAlgorithm
31 {
32 public:
35  void PrintSelf(ostream& os, vtkIndent indent) override;
36 
38 
43  virtual void SetOutput(vtkDataObject* d);
45 
51 
52  // this method is not recommended for use, but lots of old style filters
53  // use it
57 
59 
67 
69 
77 
78 protected:
81 
82  // convenience method
83  virtual int RequestInformation(vtkInformation* request, vtkInformationVector** inputVector,
84  vtkInformationVector* outputVector);
85 
90  virtual int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
91  vtkInformationVector* outputVector);
92 
98 
99  // see algorithm for more info
102 
103 private:
105  void operator=(const vtkExplicitStructuredGridAlgorithm&) = delete;
106 };
107 
108 #endif
vtkExplicitStructuredGridAlgorithm::~vtkExplicitStructuredGridAlgorithm
~vtkExplicitStructuredGridAlgorithm() override=default
vtkExplicitStructuredGridAlgorithm::vtkExplicitStructuredGridAlgorithm
vtkExplicitStructuredGridAlgorithm()
vtkExplicitStructuredGridAlgorithm::RequestUpdateExtent
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
vtkAlgorithm
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:123
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:145
vtkExplicitStructuredGridAlgorithm::AddInputData
void AddInputData(vtkDataObject *)
Assign a data object as input.
vtkExplicitStructuredGridAlgorithm::FillOutputPortInformation
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
vtkExplicitStructuredGridAlgorithm::AddInputData
void AddInputData(int, vtkDataObject *)
Assign a data object as input.
vtkAlgorithm.h
vtkX3D::port
@ port
Definition: vtkX3D.h:453
vtkExplicitStructuredGridAlgorithm::GetInput
vtkDataObject * GetInput(int port)
vtkExplicitStructuredGridAlgorithm::ProcessRequest
vtkTypeBool ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
see vtkAlgorithm for details
vtkExplicitStructuredGridAlgorithm::RequestInformation
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkExplicitStructuredGridAlgorithm::GetExplicitStructuredGridInput
vtkExplicitStructuredGrid * GetExplicitStructuredGridInput(int port)
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:113
vtkExplicitStructuredGridAlgorithm::GetOutput
vtkExplicitStructuredGrid * GetOutput(int)
Get the output data object for a port on this algorithm.
vtkExplicitStructuredGridAlgorithm::GetInput
vtkDataObject * GetInput()
vtkExplicitStructuredGridAlgorithm::SetInputData
void SetInputData(int, vtkDataObject *)
Assign a data object as input.
vtkDataSet
abstract class to specify dataset behavior
Definition: vtkDataSet.h:166
vtkExplicitStructuredGridAlgorithm::SetOutput
virtual void SetOutput(vtkDataObject *d)
Get the output data object for a port on this algorithm.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:183
vtkX3D::info
@ info
Definition: vtkX3D.h:382
vtkExplicitStructuredGridAlgorithm
Superclass for algorithms that produce only explicit structured grid as output.
Definition: vtkExplicitStructuredGridAlgorithm.h:31
vtkExplicitStructuredGridAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkExplicitStructuredGridAlgorithm::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkExplicitStructuredGridAlgorithm::New
static vtkExplicitStructuredGridAlgorithm * New()
vtkExplicitStructuredGrid
structured grid with explicit topology and geometry
Definition: vtkExplicitStructuredGrid.h:97
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:169
vtkExplicitStructuredGridAlgorithm::SetInputData
void SetInputData(vtkDataObject *)
Assign a data object as input.
vtkExplicitStructuredGridAlgorithm::GetOutput
vtkExplicitStructuredGrid * GetOutput()
Get the output data object for a port on this algorithm.
vtkTypeBool
int vtkTypeBool
Definition: vtkABI.h:69
vtkExplicitStructuredGridAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.