Namespaces | Classes | Functions

OpenTissue::skeleton Namespace Reference

Namespaces

namespace  detail

Classes

class  Bone
class  BoneAccess
class  DefaultBoneTraits
class  Skeleton
class  Types

Functions

template<typename skeleton_type >
bool cal3d_xml_read (std::string const &filename, skeleton_type &skeleton)
template<typename skeleton_type >
bool xml_read (std::string const &filename, skeleton_type &skeleton)
template<typename skeleton_type >
bool xml_write (std::string const &filename, skeleton_type const &skeleton)

Function Documentation

template<typename skeleton_type >
bool OpenTissue::skeleton::cal3d_xml_read ( std::string const &  filename,
skeleton_type skeleton 
)

Read Cal3D XML file.

Parameters:
filename The name and path of the cal3d xml file.
skeleton Upon return this skeleton contains the read data.
Returns:
If data was read succesfully then the return value is true otherwise it is false.
template<typename skeleton_type >
bool OpenTissue::skeleton::xml_read ( std::string const &  filename,
skeleton_type skeleton 
)

Read Skeleton.

Parameters:
filename The filename wherefrom the skeleton should be read.
skeleton Upon return this argument holds the skeleton that was read.
Returns:
If skeleton was read succesfully then the return value is true otherwise it is false.
template<typename skeleton_type >
bool OpenTissue::skeleton::xml_write ( std::string const &  filename,
skeleton_type const &  skeleton 
)

Write Skeleton.

Parameters:
filename The filename of the XML document that should be written.
skeleton This argument holds the skeleton that should be written to the XML file.
Returns:
If skeleton was written succesfully then the return value is true otherwise it is false.