Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkIGTLMessageCommon.h
Go to the documentation of this file.
1 /*===================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 
18 #ifndef MITKIGTLMESSAGECOMMONH_HEADER_INCLUDED_
19 #define MITKIGTLMESSAGECOMMONH_HEADER_INCLUDED_
20 
21 #include <itkDataObject.h>
22 #include "MitkOpenIGTLinkExports.h"
23 #include <mitkNumericTypes.h>
24 #include <mitkCommon.h>
25 
26 #include "igtlMessageBase.h"
27 #include "igtlTransformMessage.h"
28 
29 namespace mitk {
30 
37  class MITKOPENIGTLINK_EXPORT IGTLMessageCommon : public itk::DataObject
38  {
39  public:
41  itkFactorylessNewMacro(Self);
42  itkCloneMacro(Self);
43 
48 // static igtl::MessageBase::Pointer Clone(igtl::TransformMessage::Pointer original);
49 
54 // static igtl::MessageBase::Pointer Clone(igtl::MessageBase::Pointer original);
55 
56 
57  protected:
59 
63 // IGTLMessageCommon(const mitk::IGTLMessageCommon& toCopy);
64 
65  virtual ~IGTLMessageCommon();
66 
67  private:
68 
69  };
70 
71 
72 } // namespace mitk
73 #endif /* MITKIGTLMESSAGECOMMONH_HEADER_INCLUDED_ */
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacroItkParent(className, SuperClassName)
Definition: mitkCommon.h:53
Helper class for copying OpenIGTLink messages.