VTK  9.2.6
vtkMultiBlockDataSetAlgorithm.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkMultiBlockDataSetAlgorithm.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=========================================================================*/
27#ifndef vtkMultiBlockDataSetAlgorithm_h
28#define vtkMultiBlockDataSetAlgorithm_h
29
30#include "vtkAlgorithm.h"
31#include "vtkCommonExecutionModelModule.h" // For export macro
32
34
35class VTKCOMMONEXECUTIONMODEL_EXPORT vtkMultiBlockDataSetAlgorithm : public vtkAlgorithm
36{
37public:
40 void PrintSelf(ostream& os, vtkIndent indent) override;
41
43
49
51
59
64 vtkInformationVector* outputVector) override;
65
66protected:
68 ~vtkMultiBlockDataSetAlgorithm() override = default;
69
78
87
93 {
94 return 1;
95 }
96
98
107
108 // Create a default executive.
110
111 // see algorithm for more info
112 int FillOutputPortInformation(int port, vtkInformation* info) override;
113 int FillInputPortInformation(int port, vtkInformation* info) override;
114
116
117private:
119 void operator=(const vtkMultiBlockDataSetAlgorithm&) = delete;
120};
121
122#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:40
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.
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:69