fw4spl
patch/fwMDSemanticPatch/include/fwMDSemanticPatch/V2/V03AGO/fwData/Image.hpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-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_V2_V03AGO_FWDATA_IMAGE_HPP__
8 #define __FWMDSEMANTICPATCH_V2_V03AGO_FWDATA_IMAGE_HPP__
9 
10 #include "fwMDSemanticPatch/config.hpp"
11 
12 #include <fwAtomsPatch/ISemanticPatch.hpp>
13 
14 namespace fwMDSemanticPatch
15 {
16 namespace V2
17 {
18 namespace V03AGO
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 V03AGO
53 } // namespace V2
54 } // namespace fwMDSemanticPatch
55 
56 #endif /* __FWMDSEMANTICPATCH_V2_V03AGO_FWDATA_IMAGE_HPP__ */
57 
Contains the semantic patches within the context "MedicalData".
Patch an image from version &#39;V2&#39; to &#39;V03AGO&#39; within &#39;MedicalData&#39; context.
#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.