fw4spl
fwAtomConversion/include/fwAtomConversion/mapper/Landmarks.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 __FWATOMCONVERSION_MAPPER_LANDMARKS_HPP__
8 #define __FWATOMCONVERSION_MAPPER_LANDMARKS_HPP__
9 
10 #include "fwAtomConversion/AtomVisitor.hpp"
11 #include "fwAtomConversion/config.hpp"
12 #include "fwAtomConversion/mapper/Base.hpp"
13 
14 namespace fwAtoms
15 {
16 class Object;
17 }
18 
19 namespace fwData
20 {
21 class Object;
22 }
23 
24 namespace fwAtomConversion
25 {
26 namespace mapper
27 {
28 
36 class FWATOMCONVERSION_CLASS_API Landmarks : public Base
37 {
38 public:
39 
45  FWATOMCONVERSION_API virtual SPTR(::fwAtoms::Object) convert( SPTR(::fwData::Object) object,
46  DataVisitor::AtomCacheType & cache );
47 
54  FWATOMCONVERSION_API virtual SPTR(::fwData::Object) convert( SPTR(::fwAtoms::Object) atom,
55  AtomVisitor::DataCacheType & cache,
56  const AtomVisitor::IReadPolicy &uuidPolicy
57  );
58 
59 };
60 
61 }
62 }
63 
64 #endif /* __FWATOMCONVERSION_MAPPER_LANDMARKS_HPP__*/
#define SPTR(_cls_)
fwAtoms contains basic objects to represent any other kind of object
This namespace contains the necessary class for fwData <-> fwAtoms conversion.
Visitor UUID Management policies.
Definition: AtomVisitor.hpp:40
Class represented a fwData::Object.
FWATOMCONVERSION_API std::shared_ptr< ::fwAtoms::Object > convert(const std::shared_ptr< ::fwData::Object > &data)
Helper to convert a fwData::Object to a fwAtoms::Object.
Base class for each data object.
Contains the representation of the data objects used in the framework.
Base class of custom mapper between fwData and fwAtoms.