VTK  9.1.0
vtkMergeDataObjectFilter.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkMergeDataObjectFilter.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
41#ifndef vtkMergeDataObjectFilter_h
42#define vtkMergeDataObjectFilter_h
43
44#include "vtkDataSetAlgorithm.h"
45#include "vtkFiltersCoreModule.h" // For export macro
46
47class VTKFILTERSCORE_EXPORT vtkMergeDataObjectFilter : public vtkDataSetAlgorithm
48{
49public:
52 void PrintSelf(ostream& os, vtkIndent indent) override;
53
55
61
63
69 vtkSetMacro(OutputField, int);
70 vtkGetMacro(OutputField, int);
75
76protected:
79
80 // Usual data generation method
82 int FillInputPortInformation(int port, vtkInformation* info) override;
83
84 int OutputField; // which output field
85
86private:
88 void operator=(const vtkMergeDataObjectFilter&) = delete;
89};
90
91#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:113
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.