VTK  9.3.20240328
vtkMergeDataObjectFilter.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
29 #ifndef vtkMergeDataObjectFilter_h
30 #define vtkMergeDataObjectFilter_h
31 
32 #include "vtkDataSetAlgorithm.h"
33 #include "vtkFiltersCoreModule.h" // For export macro
34 
35 VTK_ABI_NAMESPACE_BEGIN
36 class VTKFILTERSCORE_EXPORT vtkMergeDataObjectFilter : public vtkDataSetAlgorithm
37 {
38 public:
41  void PrintSelf(ostream& os, vtkIndent indent) override;
42 
44 
50 
52 
58  vtkSetMacro(OutputField, int);
59  vtkGetMacro(OutputField, int);
64 
65 protected:
68 
69  // Usual data generation method
72 
73  int OutputField; // which output field
74 
75 private:
77  void operator=(const vtkMergeDataObjectFilter&) = delete;
78 };
79 
80 VTK_ABI_NAMESPACE_END
81 #endif
general representation of visualization data
Superclass for algorithms that produce output of the same type as input.
a simple class to control print indentation
Definition: vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
merge dataset and data object field to create dataset with attribute data
void SetOutputFieldToPointDataField()
Specify where to place the field data during the merge process.
void SetDataObjectInputData(vtkDataObject *object)
Specify the data object to merge with the input dataset.
vtkDataObject * GetDataObject()
Specify the data object to merge with the input dataset.
void SetOutputFieldToDataObjectField()
Specify where to place the field data during the merge process.
static vtkMergeDataObjectFilter * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkMergeDataObjectFilter() override
void SetOutputFieldToCellDataField()
Specify where to place the field data during the merge process.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447