VMTK
vtkvmtkAppendFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3 Program: VMTK
4 Module: $RCSfile: vtkvmtkAppendFilter.h,v $
5 Language: C++
6 
7  Copyright (c) Luca Antiga, David Steinman. All rights reserved.
8  See LICENSE file for details.
9 
10  Portions of this code are covered under the VTK copyright.
11  See VTKCopyright.txt or http://www.kitware.com/VTKCopyright.htm
12  for details.
13 
14  This software is distributed WITHOUT ANY WARRANTY; without even
15  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
16  PURPOSE. See the above copyright notices for more information.
17 
18 =========================================================================*/
29 #ifndef __vtkvmtkAppendFilter_h
30 #define __vtkvmtkAppendFilter_h
31 
32 #include "vtkAppendFilter.h"
33 #include "vtkvmtkWin32Header.h"
34 
35 class vtkDataSetCollection;
36 
37 class VTK_VMTK_COMPUTATIONAL_GEOMETRY_EXPORT vtkvmtkAppendFilter : public vtkAppendFilter
38 {
39 public:
40  static vtkvmtkAppendFilter *New();
41 
42  vtkTypeMacro(vtkvmtkAppendFilter,vtkAppendFilter);
43  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
44 
45  vtkSetMacro(MergeDuplicatePoints,int);
46  vtkGetMacro(MergeDuplicatePoints,int);
47  vtkBooleanMacro(MergeDuplicatePoints,int);
48 
49 protected:
52 
53  // Usual data generation method
54  virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
55 
57 
58 private:
59  vtkvmtkAppendFilter(const vtkvmtkAppendFilter&); // Not implemented.
60  void operator=(const vtkvmtkAppendFilter&); // Not implemented.
61 };
62 
63 #endif
merges points, point data, and cell data.