VTK  9.3.20240329
vtkCompositeDataSetAlgorithm.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
12 #ifndef vtkCompositeDataSetAlgorithm_h
13 #define vtkCompositeDataSetAlgorithm_h
14 
15 #include "vtkAlgorithm.h"
16 #include "vtkCommonExecutionModelModule.h" // For export macro
17 
18 VTK_ABI_NAMESPACE_BEGIN
20 
21 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkCompositeDataSetAlgorithm : public vtkAlgorithm
22 {
23 public:
26  void PrintSelf(ostream& os, vtkIndent indent) override;
27 
29 
35 
37 
45 
50  vtkInformationVector* outputVector) override;
51 
52 protected:
54  ~vtkCompositeDataSetAlgorithm() override = default;
55 
61  {
62  return 1;
63  }
64 
70  {
71  return 1;
72  }
73 
79  {
80  return 1;
81  }
82 
84 
89  {
90  return 1;
91  }
93 
95  {
96  return 1;
97  }
98 
99  // Create a default executive.
101 
102  // see algorithm for more info
105 
107 
108 private:
110  void operator=(const vtkCompositeDataSetAlgorithm&) = delete;
111 };
112 
113 VTK_ABI_NAMESPACE_END
114 #endif
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:162
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.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
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.
static vtkCompositeDataSetAlgorithm * New()
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkDataObject * GetInput(int port)
vtkExecutive * CreateDefaultExecutive() override
Create a default executive.
~vtkCompositeDataSetAlgorithm() override=default
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
void SetInputData(vtkDataObject *)
Assign a data object as input.
vtkCompositeDataSet * GetOutput(int)
Get the output data object for a port on this algorithm.
void SetInputData(int, vtkDataObject *)
Assign a data object as input.
virtual int RequestUpdateTime(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
abstract superclass for composite (multi-block or AMR) datasets
general representation of visualization data
Superclass for all pipeline executives in VTK.
Definition: vtkExecutive.h:69
a simple class to control print indentation
Definition: vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447
int vtkTypeBool
Definition: vtkABI.h:64