Loading [MathJax]/extensions/tex2jax.js
VTK  9.4.20250324
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
35VTK_ABI_NAMESPACE_BEGIN
36class VTKFILTERSCORE_EXPORT vtkMergeDataObjectFilter : public vtkDataSetAlgorithm
37{
38public:
41 void PrintSelf(ostream& os, vtkIndent indent) override;
42
44
50
52
58 vtkSetMacro(OutputField, int);
59 vtkGetMacro(OutputField, int);
64
65protected:
68
69 // Usual data generation method
71 int FillInputPortInformation(int port, vtkInformation* info) override;
72
73 int OutputField; // which output field
74
75private:
77 void operator=(const vtkMergeDataObjectFilter&) = delete;
78};
79
80VTK_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
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.