fw4spl
V1ToFwMedDataImageSeriesV1.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 __FWSTRUCTURALPATCH_FWDATA_ACQUISITION_V1TOFWMEDDATAIMAGESERIESV1_HPP__
8 #define __FWSTRUCTURALPATCH_FWDATA_ACQUISITION_V1TOFWMEDDATAIMAGESERIESV1_HPP__
9 
10 #include "fwStructuralPatch/config.hpp"
11 
12 #include <fwAtomsPatch/IStructuralPatch.hpp>
13 
14 namespace fwStructuralPatch
15 {
16 
17 namespace fwData
18 {
19 
20 namespace Acquisition
21 {
22 
24 class FWSTRUCTURALPATCH_CLASS_API V1ToFwMedDataImageSeriesV1 : public ::fwAtomsPatch::IStructuralPatch
25 {
26 public:
29  (()),
31 
33  FWSTRUCTURALPATCH_API V1ToFwMedDataImageSeriesV1();
34 
36  FWSTRUCTURALPATCH_API ~V1ToFwMedDataImageSeriesV1();
37 
39  FWSTRUCTURALPATCH_API V1ToFwMedDataImageSeriesV1( const V1ToFwMedDataImageSeriesV1& cpy );
40 
47  FWSTRUCTURALPATCH_API virtual void apply(
48  const ::fwAtoms::Object::sptr& previous,
49  const ::fwAtoms::Object::sptr& current,
50  ::fwAtomsPatch::IPatch::NewVersionsType& newVersions) override;
51 
52 };
53 
54 } // namespace Acquisition
55 
56 } // namespace fwData
57 
58 } // namespace fwStructuralPatch
59 
60 #endif /* __FWSTRUCTURALPATCH_FWDATA_ACQUISITION_V1TOFWMEDDATAIMAGESERIESV1_HPP__ */
61 
Transforms an acquisition in version &#39;1&#39; to an image series in version &#39;1&#39;.
Contains creators and structural patches.
Definition: Landmarks1.hpp:13
#define fwCoreClassDefinitionsWithFactoryMacro(_classinfo_, _parameters_, _factory_)
Generate common construction methods for classes with one factory.
Base class of all structural patches.
Contains the representation of the data objects used in the framework.