OSVR-Core
Public Member Functions | List of all members
osvr::client::ArticulationTreeTraverser Class Reference
Inheritance diagram for osvr::client::ArticulationTreeTraverser:

Public Member Functions

 ArticulationTreeTraverser (osvr::common::RegisteredStringMap *jointMap, osvr::common::RegisteredStringMap *boneMap, InterfaceMap *jointInterfaces, OSVR_ClientContext &ctx)
 Constructor.
 
void operator() (osvr::common::PathNode const &, osvr::common::elements::NullElement const &)
 ignore null element
 
void operator() (osvr::common::PathNode const &node, osvr::common::elements::ArticulationElement const &elt)
 
template<typename T >
void operator() (osvr::common::PathNode const &node, T const &elt)
 Catch-all for other element types.
 

Member Function Documentation

§ operator()()

void osvr::client::ArticulationTreeTraverser::operator() ( osvr::common::PathNode const &  node,
osvr::common::elements::ArticulationElement const &  elt 
)
inline

register joints

register joint ID

get an interface for tracker path

store the id, interface association

Specifying bone name for each joint is optional

register boneId


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