VTK  9.1.0
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=========================================================================*/
24#ifndef vtkMultiBlockDataSetAlgorithm_h
25#define vtkMultiBlockDataSetAlgorithm_h
26
27#include "vtkAlgorithm.h"
28#include "vtkCommonExecutionModelModule.h" // For export macro
29
31
32class VTKCOMMONEXECUTIONMODEL_EXPORT vtkMultiBlockDataSetAlgorithm : public vtkAlgorithm
33{
34public:
37 void PrintSelf(ostream& os, vtkIndent indent) override;
38
40
46
48
56
61 vtkInformationVector* outputVector) override;
62
63protected:
65 ~vtkMultiBlockDataSetAlgorithm() override = default;
66
72 {
73 return 1;
74 }
75
81 {
82 return 1;
83 }
84
90 {
91 return 1;
92 }
93
95
100 {
101 return 1;
102 }
104
105 // Create a default executive.
107
108 // see algorithm for more info
109 int FillOutputPortInformation(int port, vtkInformation* info) override;
110 int FillInputPortInformation(int port, vtkInformation* info) override;
111
113
114private:
116 void operator=(const vtkMultiBlockDataSetAlgorithm&) = delete;
117};
118
119#endif
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:123
general representation of visualization data
Superclass for all pipeline executives in VTK.
Definition: vtkExecutive.h:76
a simple class to control print indentation
Definition: vtkIndent.h:113
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