VTK
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 =========================================================================*/
40 #ifndef vtkMergeDataObjectFilter_h
41 #define vtkMergeDataObjectFilter_h
42 
43 #include "vtkFiltersCoreModule.h" // For export macro
44 #include "vtkDataSetAlgorithm.h"
45 
47 {
48 public:
49  static vtkMergeDataObjectFilter *New();
51  void PrintSelf(ostream& os, vtkIndent indent);
52 
54 
55  void SetDataObjectInputData(vtkDataObject *object);
56  vtkDataObject *GetDataObject();
58 
60 
64  vtkSetMacro(OutputField,int);
65  vtkGetMacro(OutputField,int);
66  void SetOutputFieldToDataObjectField();
67  void SetOutputFieldToPointDataField();
68  void SetOutputFieldToCellDataField();
70 
71 protected:
74 
75  // Usual data generation method
78 
79  int OutputField; // which output field
80 
81 private:
82  vtkMergeDataObjectFilter(const vtkMergeDataObjectFilter&); // Not implemented.
83  void operator=(const vtkMergeDataObjectFilter&); // Not implemented.
84 };
85 
86 #endif
87 
88 
virtual int FillInputPortInformation(int port, vtkInformation *info)
merge dataset and data object field to create dataset with attribute data
Store vtkAlgorithm input/output information.
#define VTKFILTERSCORE_EXPORT
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce output of the same type as input.
general representation of visualization data
Definition: vtkDataObject.h:64
static vtkDataSetAlgorithm * New()