fw4spl
|
Specific mapper used to convert a fwData::Landmarks. More...
#include <Landmarks.hpp>
Public Member Functions | |
virtual FWATOMCONVERSION_API std::shared_ptr< ::fwAtoms::Object > | convert (std::shared_ptr< ::fwData::Object > object, DataVisitor::AtomCacheType &cache) |
Convert a fwData::Object to a fwAtoms::Object. More... | |
virtual FWATOMCONVERSION_API std::shared_ptr< ::fwData::Object > | convert (std::shared_ptr< ::fwAtoms::Object > atom, AtomVisitor::DataCacheType &cache, const AtomVisitor::IReadPolicy &uuidPolicy) |
Convert a fwAtoms::Object to a fwData::Object (which represent a fwData::Landmarks). More... | |
Specific mapper used to convert a fwData::Landmarks.
The attribute ::fwData::Landmarks::m_landmarks is represented in fwAtoms world like a fwAtoms::Map that contains fwAtoms::Object with five attributes "color", "size", "shape", "visibility" and "points". The points are store in a fwAtoms::Sequence.
Definition at line 36 of file fwAtomConversion/include/fwAtomConversion/mapper/Landmarks.hpp.
|
virtual |
Convert a fwData::Object to a fwAtoms::Object.
object | data to convert. It must be a fwData::Landmarks. |
cache | cache to register the data already converted, used when a data is referenced multiple times. |
Implements fwAtomConversion::mapper::Base.
|
virtual |
Convert a fwAtoms::Object to a fwData::Object (which represent a fwData::Landmarks).
atom | atom to convert |
cache | cache to register the atoms already converted, used when an atom is referenced multiple times. |
uuidPolicy | AtomVisitor policy |
Implements fwAtomConversion::mapper::Base.