fw4spl
fwData::StructureTraitsHelper Class Reference

This class defines some helper for the structure traits. More...

#include <StructureTraitsHelper.hpp>

+ Collaboration diagram for fwData::StructureTraitsHelper:

Public Types

typedef ::boost::bimaps::bimap< ::fwData::StructureTraits::StructureClass, std::string > ClassTranslatorType
 
typedef ::boost::bimaps::bimap< ::fwData::StructureTraits::Category, std::string > CategoryTranslatorType
 

Static Public Attributes

static FWDATA_API const ClassTranslatorType s_CLASSTRANSLATOR
 Map to translate structure class (string vs enum) More...
 
static FWDATA_API const CategoryTranslatorType s_CATEGORYTRANSLATOR
 Map to translate structure categories (string vs enum) More...
 

Detailed Description

This class defines some helper for the structure traits.

Definition at line 21 of file StructureTraitsHelper.hpp.

Member Data Documentation

const StructureTraitsHelper::CategoryTranslatorType fwData::StructureTraitsHelper::s_CATEGORYTRANSLATOR
static
Initial value:
=
::boost::assign::list_of< StructureTraitsHelper::CategoryTranslatorType::relation >
( ::fwData::StructureTraits::BODY, std::string("Body"))
( ::fwData::StructureTraits::HEAD, std::string("Head"))
( ::fwData::StructureTraits::NECK, std::string("Neck"))
( ::fwData::StructureTraits::THORAX, std::string("Thorax"))
( ::fwData::StructureTraits::ABDOMEN, std::string("Abdomen"))
( ::fwData::StructureTraits::PELVIS, std::string("Pelvis"))
( ::fwData::StructureTraits::ARM, std::string("Arm"))
( ::fwData::StructureTraits::LEG, std::string("Leg"))
( ::fwData::StructureTraits::LIVER_SEGMENTS, std::string("Liver_segments"))
( ::fwData::StructureTraits::OTHER, std::string("Other"))

Map to translate structure categories (string vs enum)

Definition at line 32 of file StructureTraitsHelper.hpp.

Referenced by fwDataIO::reader::DictionaryReader::read().

const StructureTraitsHelper::ClassTranslatorType fwData::StructureTraitsHelper::s_CLASSTRANSLATOR
static
Initial value:
=
::boost::assign::list_of< StructureTraitsHelper::ClassTranslatorType::relation >
( ::fwData::StructureTraits::TOOL, std::string("Tool"))
( ::fwData::StructureTraits::ENVIRONMENT, std::string("Environment"))
( ::fwData::StructureTraits::VESSEL, std::string("Vessel"))
( ::fwData::StructureTraits::LESION, std::string("Lesion"))
( ::fwData::StructureTraits::ORGAN, std::string("Organ"))
( ::fwData::StructureTraits::FUNCTIONAL, std::string("Functional"))
( ::fwData::StructureTraits::NO_CONSTRAINT, std::string("No_constraint"))

Map to translate structure class (string vs enum)

Definition at line 28 of file StructureTraitsHelper.hpp.

Referenced by fwDataIO::reader::DictionaryReader::read().


The documentation for this class was generated from the following files: