NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
niftkCUDAImageProperty.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 niftkCUDAImageProperty_h
16 #define niftkCUDAImageProperty_h
17 
18 #include "niftkCUDAExports.h"
20 #include <mitkBaseProperty.h>
21 
22 namespace niftk
23 {
24 
29 class NIFTKCUDA_EXPORT CUDAImageProperty : public mitk::BaseProperty
30 {
31 public:
32  mitkClassMacro(CUDAImageProperty, mitk::BaseProperty)
33  itkFactorylessNewMacro(Self)
34  itkCloneMacro(Self)
35 
36 
37  LightweightCUDAImage Get() const;
38  void Set(LightweightCUDAImage lwci);
39 
40 
43 public:
44  using BaseProperty::operator=;
45 
46 private:
47  CUDAImageProperty& operator=(const CUDAImageProperty&);
48 
49  virtual bool IsEqual(const mitk::BaseProperty& property) const;
50  virtual bool Assign(const mitk::BaseProperty& property);
52 
53 
54 private:
55  LightweightCUDAImage m_LWCI;
56 };
57 
58 } // end namespace
59 
60 #endif
INT property
Definition: wglew.h:144
Definition: niftkCUDAImageProperty.h:29
Definition: niftkLightweightCUDAImage.h:33
Definition: niftkExceptionObject.h:21