VTK  9.7.1
vtkPartitionedDataSetAlgorithm.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
11 #ifndef vtkPartitionedDataSetAlgorithm_h
12 #define vtkPartitionedDataSetAlgorithm_h
13 
14 #include "vtkAlgorithm.h"
15 #include "vtkCommonExecutionModelModule.h" // For export macro
16 #include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
17 
18 VTK_ABI_NAMESPACE_BEGIN
20 
21 class VTKCOMMONEXECUTIONMODEL_EXPORT VTK_MARSHALAUTO vtkPartitionedDataSetAlgorithm
22  : public vtkAlgorithm
23 {
24 public:
26  void PrintSelf(ostream& os, vtkIndent indent) override;
27 
29 
34  void SetInputData(vtkDataObject*);
35  void SetInputData(int, vtkDataObject*);
37 
39 
42  vtkPartitionedDataSet* GetOutput();
43  vtkPartitionedDataSet* GetOutput(int);
45 
47  vtkInformation* request, vtkInformationVector** inInfo, vtkInformationVector* outInfo) override;
48 
49 protected:
52 
54 
58  {
59  return 1;
60  }
62  {
63  return 1;
64  }
66  {
67  return 1;
68  }
70  {
71  return 1;
72  }
74  {
75  return 1;
76  }
78 
81 
82 private:
84  void operator=(const vtkPartitionedDataSetAlgorithm&) = delete;
85 };
86 
87 VTK_ABI_NAMESPACE_END
88 #endif
composite dataset to encapsulates a dataset consisting of partitions.
Superclass for algorithms that produce vtkPartitionedDataSetAlgorithm.
Store vtkAlgorithm input/output information.
virtual int RequestUpdateTime(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Methods for subclasses to override to handle different pipeline requests.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int vtkTypeBool
Definition: vtkABI.h:64
virtual vtkTypeBool ProcessRequest(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
Upstream/Downstream requests form the generalized interface through which executives invoke a algorit...
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:53
virtual int FillOutputPortInformation(int port, vtkInformation *info)
Fill the output port information objects for this algorithm.
a simple class to control print indentation
Definition: vtkIndent.h:28
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Methods for subclasses to override to handle different pipeline requests.
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Methods for subclasses to override to handle different pipeline requests.
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Methods for subclasses to override to handle different pipeline requests.
Store zero or more vtkInformation instances.
#define VTK_MARSHALAUTO
general representation of visualization data
Definition: vtkDataObject.h:55
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Methods for subclasses to override to handle different pipeline requests.