OSVR-Core
|
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. | |
|
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