NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
niftkUltrasonixDataType.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 niftkUltrasonixDataType_h
16 #define niftkUltrasonixDataType_h
17 
18 #include <niftkIGIDataType.h>
19 #include <cv.h>
20 
21 namespace niftk
22 {
23 
29 {
30 public:
31 
33  itkNewMacro(UltrasonixDataType)
34 
35 
38  void CloneImage(const IplImage *image);
39 
43  const IplImage* GetImage();
44 
45 protected:
46 
47  UltrasonixDataType(); // Purposefully hidden.
48  virtual ~UltrasonixDataType(); // Purposefully hidden.
49 
50  UltrasonixDataType(const UltrasonixDataType&); // Purposefully not implemented.
51  UltrasonixDataType& operator=(const UltrasonixDataType&); // Purposefully not implemented.
52 
53 private:
54 
55  IplImage *m_Image;
56 
57 };
58 
59 } // end namespace
60 
61 #endif
UltrasonixDataType & operator=(const UltrasonixDataType &)
UltrasonixDataType()
Definition: niftkUltrasonixDataType.cxx:21
const IplImage * GetImage()
Returns the internal image, so do not modify it.
Definition: niftkUltrasonixDataType.cxx:49
GLenum GLsizei GLenum GLenum const GLvoid * image
Definition: glew.h:4052
Abstract base class for IGI Data, such as objects containing tracking data, video frames or ultrasoun...
Definition: niftkIGIDataType.h:35
void CloneImage(const IplImage *image)
Used for loading in an image.
Definition: niftkUltrasonixDataType.cxx:38
virtual ~UltrasonixDataType()
Definition: niftkUltrasonixDataType.cxx:28
Class to represent ultrasound frame data from Ultrasonix.
Definition: niftkUltrasonixDataType.h:28
mitkClassMacro(UltrasonixDataType, IGIDataType) static Pointer New()
Definition: niftkExceptionObject.h:21