VTK  9.1.0
vtkCompositeDataSetAlgorithm.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkCompositeDataSetAlgorithm.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 vtkCompositeDataSetAlgorithm_h
25#define vtkCompositeDataSetAlgorithm_h
26
27#include "vtkAlgorithm.h"
28#include "vtkCommonExecutionModelModule.h" // For export macro
29
31
32class VTKCOMMONEXECUTIONMODEL_EXPORT vtkCompositeDataSetAlgorithm : public vtkAlgorithm
33{
34public:
37 void PrintSelf(ostream& os, vtkIndent indent) override;
38
40
46
48
56
61 vtkInformationVector* outputVector) override;
62
63protected:
65 ~vtkCompositeDataSetAlgorithm() 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
111
113
114private:
116 void operator=(const vtkCompositeDataSetAlgorithm&) = delete;
117};
118
119#endif
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:114
Superclass for algorithms that produce only vtkCompositeDataSet as output.
vtkCompositeDataSet * GetOutput()
Get the output data object for a port on this algorithm.
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
vtkCompositeDataSet * GetOutput(int)
Get the output data object for a port on this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkExecutive * CreateDefaultExecutive() override
Create a default executive.
vtkTypeBool ProcessRequest(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
see vtkAlgorithm for details
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
virtual int RequestDataObject(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.
static vtkCompositeDataSetAlgorithm * New()
~vtkCompositeDataSetAlgorithm() override=default
vtkDataObject * GetInput(int port)
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
void SetInputData(vtkDataObject *)
Assign a data object as input.
void SetInputData(int, vtkDataObject *)
Assign a data object as input.
abstract superclass for composite (multi-block or AMR) datasets
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.
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453
int vtkTypeBool
Definition: vtkABI.h:69