VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filters
Core
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
46
class
VTKFILTERSCORE_EXPORT
vtkMergeDataObjectFilter
:
public
vtkDataSetAlgorithm
47
{
48
public
:
49
static
vtkMergeDataObjectFilter
*
New
();
50
vtkTypeMacro(
vtkMergeDataObjectFilter
,
vtkDataSetAlgorithm
);
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
:
72
vtkMergeDataObjectFilter
();
73
~
vtkMergeDataObjectFilter
();
74
75
// Usual data generation method
76
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
77
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
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
Generated on Thu May 24 2012 22:22:14 for VTK by
1.8.1