NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
niftkPCLData.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 niftkPCLData_h
16 #define niftkPCLData_h
17 
18 #include "niftkPCLExports.h"
19 #include <mitkBaseData.h>
20 #include <pcl/point_cloud.h>
21 #include <pcl/point_types.h>
22 
23 
24 namespace niftk
25 {
26 
27 class NIFTKPCL_EXPORT PCLData : public mitk::BaseData
28 {
29 public:
30  mitkClassMacro(PCLData, mitk::BaseData)
31 
32  itkFactorylessNewMacro(Self)
33 
34 
35 
38  virtual void SetRequestedRegionToLargestPossibleRegion();
40  virtual bool RequestedRegionIsOutsideOfTheBufferedRegion();
42  virtual bool VerifyRequestedRegion();
44  virtual void SetRequestedRegion(const itk::DataObject* data);
46 
47 
48  void SetCloud(const pcl::PointCloud<pcl::PointXYZRGB>::Ptr& cloud);
49  pcl::PointCloud<pcl::PointXYZRGB>::ConstPtr GetCloud() const;
50 
51 
52 protected:
53  PCLData();
54  virtual ~PCLData();
55 
56 
59 private:
60  PCLData(const PCLData& copyme);
61  PCLData& operator=(const PCLData& assignme);
63 
64 
65 private:
66  pcl::PointCloud<pcl::PointXYZRGB>::Ptr m_Cloud;
67 };
68 
69 
70 } // namespace
71 
72 #endif
GLint GLenum GLsizei GLint GLsizei const GLvoid * data
Definition: glew.h:1363
Definition: niftkPCLData.h:27
Definition: niftkExceptionObject.h:21