VTK  9.5.20250913
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#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
35
36VTK_ABI_NAMESPACE_BEGIN
38{
39public:
42 void PrintSelf(ostream& os, vtkIndent indent) override;
43
45
51
53
59 vtkSetMacro(OutputField, int);
60 vtkGetMacro(OutputField, int);
65
66protected:
69
70 // Usual data generation method
72 int FillInputPortInformation(int port, vtkInformation* info) override;
73
74 int OutputField; // which output field
75
76private:
78 void operator=(const vtkMergeDataObjectFilter&) = delete;
79};
80
81VTK_ABI_NAMESPACE_END
82#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
static vtkMergeDataObjectFilter * New()
void SetOutputFieldToPointDataField()
Specify where to place the field data during the merge process.
vtkDataObject * GetDataObject()
Specify the data object to merge with the input dataset.
void SetDataObjectInputData(vtkDataObject *object)
Specify the data object to merge with the input dataset.
void SetOutputFieldToDataObjectField()
Specify where to place the field data during the merge process.
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.
#define VTK_MARSHALAUTO