fw4spl
patch/fwMDSemanticPatch/include/fwMDSemanticPatch/V10/V09ALA/fwData/Image.hpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2017.
3  * Distributed under the terms of the GNU Lesser General Public License (LGPL) as
4  * published by the Free Software Foundation.
5  * ****** END LICENSE BLOCK ****** */
6 
7 #ifndef __FWMDSEMANTICPATCH_V10_V09ALA_FWDATA_IMAGE_HPP__
8 #define __FWMDSEMANTICPATCH_V10_V09ALA_FWDATA_IMAGE_HPP__
9 
10 #include "fwMDSemanticPatch/config.hpp"
11 
12 #include <fwAtomsPatch/ISemanticPatch.hpp>
13 
14 namespace fwMDSemanticPatch
15 {
16 namespace V10
17 {
18 namespace V09ALA
19 {
20 namespace fwData
21 {
22 
24 class FWMDSEMANTICPATCH_CLASS_API Image : public ::fwAtomsPatch::ISemanticPatch
25 {
26 public:
29 
31  FWMDSEMANTICPATCH_API Image();
32 
34  FWMDSEMANTICPATCH_API ~Image();
35 
37  FWMDSEMANTICPATCH_API Image( const Image& cpy );
38 
44  FWMDSEMANTICPATCH_API virtual void apply(
45  const ::fwAtoms::Object::sptr& previous,
46  const ::fwAtoms::Object::sptr& current,
47  ::fwAtomsPatch::IPatch::NewVersionsType& newVersions) override;
48 
49 };
50 
51 } // namespace fwData
52 } // namespace V09ALA
53 } // namespace V10
54 } // namespace fwMDSemanticPatch
55 
56 #endif /* __FWMDSEMANTICPATCH_V10_V09ALA_FWDATA_IMAGE_HPP__ */
57 
Patch the &#39;landmarks&#39; field of an image from version &#39;V10&#39; to &#39;V09ALA&#39; within &#39;MedicalData&#39; context...
Contains the semantic patches within the context "MedicalData".
#define fwCoreClassDefinitionsWithFactoryMacro(_classinfo_, _parameters_, _factory_)
Generate common construction methods for classes with one factory.
Base class of contextual patches.
Contains the representation of the data objects used in the framework.