MultiBodyTreeDebugGraph.hpp 701 B

123456789101112131415161718
  1. #ifndef MULTIBODYTREEDEBUGGRAPH_HPP_
  2. #define MULTIBODYTREEDEBUGGRAPH_HPP_
  3. #include "BulletInverseDynamics/IDConfig.hpp"
  4. #include "BulletInverseDynamics/MultiBodyTree.hpp"
  5. #include "MultiBodyNameMap.hpp"
  6. namespace btInverseDynamics
  7. {
  8. /// generate a dot-file of the multibody tree for generating a graph using graphviz' dot tool
  9. /// @param tree the multibody tree
  10. /// @param map to add names of links (if 0x0, no names will be added)
  11. /// @param filename name for the output file
  12. /// @return 0 on success, -1 on error
  13. int writeGraphvizDotFile(const MultiBodyTree* tree, const MultiBodyNameMap* map,
  14. const char* filename);
  15. } // namespace btInverseDynamics
  16. #endif // MULTIBODYTREEDEBUGGRAPH_HPP