VTK  9.4.20241121
vtkMultiBlockDataSetAlgorithm.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
15#ifndef vtkMultiBlockDataSetAlgorithm_h
16#define vtkMultiBlockDataSetAlgorithm_h
17
18#include "vtkAlgorithm.h"
19#include "vtkCommonExecutionModelModule.h" // For export macro
20
21VTK_ABI_NAMESPACE_BEGIN
23
24class VTKCOMMONEXECUTIONMODEL_EXPORT vtkMultiBlockDataSetAlgorithm : public vtkAlgorithm
25{
26public:
29 void PrintSelf(ostream& os, vtkIndent indent) override;
30
32
38
40
48
53 vtkInformationVector* outputVector) override;
54
55protected:
57 ~vtkMultiBlockDataSetAlgorithm() override = default;
58
64 {
65 return 1;
66 }
67
73 {
74 return 1;
75 }
76
82 {
83 return 1;
84 }
85
87
92 {
93 return 1;
94 }
96
98 {
99 return 1;
100 }
101
102 // Create a default executive.
104
105 // see algorithm for more info
106 int FillOutputPortInformation(int port, vtkInformation* info) override;
107 int FillInputPortInformation(int port, vtkInformation* info) override;
108
110
111private:
113 void operator=(const vtkMultiBlockDataSetAlgorithm&) = delete;
114};
115
116VTK_ABI_NAMESPACE_END
117#endif
Superclass for all sources, filters, and sinks in VTK.
general representation of visualization data
Superclass for all pipeline executives in VTK.
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
~vtkMultiBlockDataSetAlgorithm() override=default
vtkExecutive * CreateDefaultExecutive() override
Create a default executive.
virtual int RequestUpdateTime(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
vtkTypeBool ProcessRequest(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
see vtkAlgorithm for details
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
vtkDataObject * GetInput(int port)
vtkMultiBlockDataSet * GetOutput()
Get the output data object for a port on this algorithm.
vtkMultiBlockDataSet * GetOutput(int)
Get the output data object for a port on this algorithm.
void SetInputData(vtkDataObject *)
Assign a data object as input.
void SetInputData(int, vtkDataObject *)
Assign a data object as input.
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
static vtkMultiBlockDataSetAlgorithm * New()
Composite dataset that organizes datasets into blocks.
int vtkTypeBool
Definition vtkABI.h:64