fw4spl
fwVtkIO::TypeTranslator Struct Reference
+ Collaboration diagram for fwVtkIO::TypeTranslator:

Public Types

typedef std::map< ::fwTools::Type, int > fwToolsToVtkMap
 
typedef std::map< int,::fwTools::TypeVtkTofwToolsMap
 

Static Public Member Functions

static FWVTKIO_API fwToolsToVtkMap::mapped_type translate (const fwToolsToVtkMap::key_type &key)
 
static FWVTKIO_API VtkTofwToolsMap::mapped_type translate (const VtkTofwToolsMap::key_type &key)
 

Static Public Attributes

static const fwToolsToVtkMap s_toVtk
 
static const VtkTofwToolsMap s_fromVtk
 

Detailed Description

Definition at line 27 of file vtk.hpp.

Member Data Documentation

const TypeTranslator::VtkTofwToolsMap fwVtkIO::TypeTranslator::s_fromVtk
static
Initial value:
= boost::assign::map_list_of
( VTK_SIGNED_CHAR, fwTools::Type::create("int8" ) )
( VTK_CHAR, fwTools::Type::create("int8" ) )
( VTK_UNSIGNED_CHAR, fwTools::Type::create("uint8" ) )
( VTK_SHORT, fwTools::Type::create("int16") )
( VTK_UNSIGNED_SHORT, fwTools::Type::create("uint16") )
( VTK_INT, fwTools::Type::create("int32") )
( VTK_UNSIGNED_INT, fwTools::Type::create("uint32") )
( VTK_FLOAT, fwTools::Type::create("float" ) )
( VTK_DOUBLE, fwTools::Type::create("double") )
( VTK_LONG, fwTools::Type::create("int32") )
( VTK_UNSIGNED_LONG, fwTools::Type::create("uint32") )

Definition at line 37 of file vtk.hpp.

const TypeTranslator::fwToolsToVtkMap fwVtkIO::TypeTranslator::s_toVtk
static
Initial value:
= boost::assign::map_list_of
( fwTools::Type::create("int8" ), VTK_CHAR )
( fwTools::Type::create("uint8" ), VTK_UNSIGNED_CHAR )
( fwTools::Type::create("int16"), VTK_SHORT )
( fwTools::Type::create("uint16"), VTK_UNSIGNED_SHORT )
( fwTools::Type::create("int32"), VTK_INT )
( fwTools::Type::create("uint32"), VTK_UNSIGNED_INT )
( fwTools::Type::create("float" ), VTK_FLOAT )
( fwTools::Type::create("double"), VTK_DOUBLE )

Definition at line 36 of file vtk.hpp.


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