NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
niftkCUDAImage.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 niftkCUDAImage_h
16 #define niftkCUDAImage_h
17 
18 #include "niftkCUDAExports.h"
20 #include <mitkBaseData.h>
21 
22 namespace niftk
23 {
24 
29 class NIFTKCUDA_EXPORT CUDAImage : public mitk::BaseData
30 {
31 
32 public:
33  mitkClassMacro(CUDAImage, mitk::BaseData)
34  itkFactorylessNewMacro(Self)
35 
36 
39  virtual void SetRequestedRegionToLargestPossibleRegion();
41  virtual bool RequestedRegionIsOutsideOfTheBufferedRegion();
43  virtual bool VerifyRequestedRegion();
45  virtual void SetRequestedRegion(const itk::DataObject* data);
47 
53  LightweightCUDAImage GetLightweightCUDAImage() const;
54 
60  void SetLightweightCUDAImage(const LightweightCUDAImage& lwci);
61 
62 
63 protected:
64  CUDAImage();
65  virtual ~CUDAImage();
66 
67 
70 private:
71  CUDAImage(const CUDAImage& copyme);
72  CUDAImage& operator=(const CUDAImage& assignme);
74 
75 
76 private:
77  LightweightCUDAImage m_LWCImage;
78 };
79 
80 } // end namespace
81 
82 #endif
Definition: niftkCUDAImage.h:29
GLint GLenum GLsizei GLint GLsizei const GLvoid * data
Definition: glew.h:1363
Definition: niftkLightweightCUDAImage.h:33
Definition: niftkExceptionObject.h:21