7 #ifndef __FWSTRUCTURALPATCH_FWDATA_IMAGE_V1TOV2_HPP__ 8 #define __FWSTRUCTURALPATCH_FWDATA_IMAGE_V1TOV2_HPP__ 10 #include "fwStructuralPatch/config.hpp" 12 #include <fwAtomsPatch/IStructuralPatch.hpp> 31 FWSTRUCTURALPATCH_API
V1ToV2();
34 FWSTRUCTURALPATCH_API ~
V1ToV2();
44 FWSTRUCTURALPATCH_API
virtual void apply(
45 const ::fwAtoms::Object::sptr& previous,
46 const ::fwAtoms::Object::sptr& current,
47 ::fwAtomsPatch::IPatch::NewVersionsType& newVersions)
override;
Structural patch to convert a fwData::Image from version '1' to version '2'.
Contains creators and structural patches.
#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.