NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
niftkMergePointClouds.h
Go to the documentation of this file.
1 /*=============================================================================
2 
3  NifTK: A software platform for medical image computing.
4 
5  Copyright (c) University College London (UCL). All rights reserved.
6 
7  This software is distributed WITHOUT ANY WARRANTY; without even
8  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9  PURPOSE.
10 
11  See LICENSE.txt in the top level directory for details.
12 
13 =============================================================================*/
14 
15 #ifndef niftkMergePointClouds_h
16 #define niftkMergePointClouds_h
17 
18 #include "niftkCoreExports.h"
19 #include <string>
20 #include <ostream>
21 #include <mitkCommon.h>
22 #include <mitkPointSet.h>
23 #include <itkObject.h>
24 #include <itkObjectFactory.h>
25 #include <itkObjectFactoryBase.h>
26 
27 namespace niftk
28 {
29 
32 class NIFTKCORE_EXPORT MergePointClouds : public itk::Object
33 {
34 public:
35  mitkClassMacroItkParent(MergePointClouds, itk::Object)
36  itkNewMacro(MergePointClouds)
37 
38 protected:
40  virtual ~MergePointClouds();
41 
45  MergePointClouds& operator=(const MergePointClouds&);
46 
47 public:
53  void AddPointSet(const std::string& filename);
54 
56  void AddPointSet(const mitk::PointSet::Pointer& pointset);
57 
59  void AddPointSet(const mitk::PointSet::ConstPointer& pointset);
60 
62  mitk::PointSet::Pointer GetOutput() const;
63 
64 private:
65  mitk::PointSet::Pointer m_MergedPointSet;
66 };
67 
68 }
69 
70 #endif
Definition: niftkMergePointClouds.h:32
Definition: niftkExceptionObject.h:21
GLsizei const GLcharARB ** string
Definition: glew.h:5194