| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | #ifndef DOXYGEN_AUTODOC_COAL_MESH_LOADER_LOADER_H | ||
| 2 | #define DOXYGEN_AUTODOC_COAL_MESH_LOADER_LOADER_H | ||
| 3 | |||
| 4 | #include "/root/robotpkg/path/py-coal/work/coal-3.0.1/doc/python/doxygen.hh" | ||
| 5 | |||
| 6 | #include <coal/mesh_loader/loader.h> | ||
| 7 | |||
| 8 | namespace doxygen { | ||
| 9 | |||
| 10 | template <> | ||
| 11 | struct class_doc_impl< coal::CachedMeshLoader > | ||
| 12 | { | ||
| 13 | static inline const char* run () | ||
| 14 | { | ||
| 15 | return "Class for building polyhedron from files with cache mechanism. This class builds a new object for each different file. If method CachedMeshLoader::load is called twice with the same arguments, the second call returns the result of the first call. "; | ||
| 16 | } | ||
| 17 | static inline const char* attribute (const char* attrib) | ||
| 18 | { | ||
| 19 | (void)attrib; // turn off unused parameter warning. | ||
| 20 | return ""; | ||
| 21 | } | ||
| 22 | }; | ||
| 23 | |||
| 24 | template <> | ||
| 25 | struct destructor_doc_impl < coal::CachedMeshLoader > | ||
| 26 | { | ||
| 27 | static inline const char* run () | ||
| 28 | { | ||
| 29 | return ""; | ||
| 30 | } | ||
| 31 | }; | ||
| 32 | |||
| 33 | template <> | ||
| 34 | struct constructor_1_impl< coal::CachedMeshLoader, const coal::NODE_TYPE & > | ||
| 35 | { | ||
| 36 | 5 | static inline const char* doc () | |
| 37 | { | ||
| 38 | 5 | return ""; | |
| 39 | } | ||
| 40 | static inline boost::python::detail::keywords<1+1> args () | ||
| 41 | { | ||
| 42 | return (boost::python::arg("self"), boost::python::arg("bvType")); | ||
| 43 | } | ||
| 44 | }; | ||
| 45 | |||
| 46 | inline const char* member_func_doc ( coal::BVHModelPtr_t (coal::CachedMeshLoader::*function_ptr) (const std::string &, const coal::Vec3s &)) | ||
| 47 | { | ||
| 48 | if (function_ptr == static_cast< coal::BVHModelPtr_t (coal::CachedMeshLoader::*) (const std::string &, const coal::Vec3s &)>(&coal::CachedMeshLoader::load)) | ||
| 49 | return ""; | ||
| 50 | return ""; | ||
| 51 | } | ||
| 52 | |||
| 53 | inline boost::python::detail::keywords<3> member_func_args ( coal::BVHModelPtr_t (coal::CachedMeshLoader::*function_ptr) (const std::string &, const coal::Vec3s &)) | ||
| 54 | { | ||
| 55 | if (function_ptr == static_cast< coal::BVHModelPtr_t (coal::CachedMeshLoader::*) (const std::string &, const coal::Vec3s &)>(&coal::CachedMeshLoader::load)) | ||
| 56 | return (boost::python::arg("self"), boost::python::arg("filename"), boost::python::arg("scale")); | ||
| 57 | return (boost::python::arg("self"), boost::python::arg("arg0"), boost::python::arg("arg1")); | ||
| 58 | } | ||
| 59 | |||
| 60 | inline const char* member_func_doc (const coal::CachedMeshLoader::Cache_t & (coal::CachedMeshLoader::*function_ptr) () const) | ||
| 61 | { | ||
| 62 | if (function_ptr == static_cast<const coal::CachedMeshLoader::Cache_t & (coal::CachedMeshLoader::*) () const>(&coal::CachedMeshLoader::cache)) | ||
| 63 | return ""; | ||
| 64 | return ""; | ||
| 65 | } | ||
| 66 | |||
| 67 | inline boost::python::detail::keywords<1> member_func_args (const coal::CachedMeshLoader::Cache_t & (coal::CachedMeshLoader::*function_ptr) () const) | ||
| 68 | { | ||
| 69 | if (function_ptr == static_cast<const coal::CachedMeshLoader::Cache_t & (coal::CachedMeshLoader::*) () const>(&coal::CachedMeshLoader::cache)) | ||
| 70 | return (boost::python::arg("self")); | ||
| 71 | return (boost::python::arg("self")); | ||
| 72 | } | ||
| 73 | } // namespace doxygen | ||
| 74 | #include <coal/mesh_loader/loader.h> | ||
| 75 | |||
| 76 | namespace doxygen { | ||
| 77 | |||
| 78 | template <> | ||
| 79 | struct constructor_2_impl< coal::CachedMeshLoader::Key, const std::string &, const coal::Vec3s & > | ||
| 80 | { | ||
| 81 | static inline const char* doc () | ||
| 82 | { | ||
| 83 | return ""; | ||
| 84 | } | ||
| 85 | static inline boost::python::detail::keywords<2+1> args () | ||
| 86 | { | ||
| 87 | return (boost::python::arg("self"), boost::python::arg("f"), boost::python::arg("s")); | ||
| 88 | } | ||
| 89 | }; | ||
| 90 | |||
| 91 | inline const char* member_func_doc (bool (coal::CachedMeshLoader::Key::*function_ptr) (const coal::CachedMeshLoader::Key &) const) | ||
| 92 | { | ||
| 93 | if (function_ptr == static_cast<bool (coal::CachedMeshLoader::Key::*) (const coal::CachedMeshLoader::Key &) const>(&coal::CachedMeshLoader::Key::operator<)) | ||
| 94 | return ""; | ||
| 95 | return ""; | ||
| 96 | } | ||
| 97 | |||
| 98 | inline boost::python::detail::keywords<2> member_func_args (bool (coal::CachedMeshLoader::Key::*function_ptr) (const coal::CachedMeshLoader::Key &) const) | ||
| 99 | { | ||
| 100 | if (function_ptr == static_cast<bool (coal::CachedMeshLoader::Key::*) (const coal::CachedMeshLoader::Key &) const>(&coal::CachedMeshLoader::Key::operator<)) | ||
| 101 | return (boost::python::arg("self"), boost::python::arg("b")); | ||
| 102 | return (boost::python::arg("self"), boost::python::arg("arg0")); | ||
| 103 | } | ||
| 104 | } // namespace doxygen | ||
| 105 | #include <coal/mesh_loader/loader.h> | ||
| 106 | |||
| 107 | namespace doxygen { | ||
| 108 | |||
| 109 | template <> | ||
| 110 | struct class_doc_impl< coal::MeshLoader > | ||
| 111 | { | ||
| 112 | 10 | static inline const char* run () | |
| 113 | { | ||
| 114 | 10 | return "Base class for building polyhedron from files. This class builds a new object for each file. "; | |
| 115 | } | ||
| 116 | static inline const char* attribute (const char* attrib) | ||
| 117 | { | ||
| 118 | (void)attrib; // turn off unused parameter warning. | ||
| 119 | return ""; | ||
| 120 | } | ||
| 121 | }; | ||
| 122 | |||
| 123 | template <> | ||
| 124 | struct destructor_doc_impl < coal::MeshLoader > | ||
| 125 | { | ||
| 126 | static inline const char* run () | ||
| 127 | { | ||
| 128 | return ""; | ||
| 129 | } | ||
| 130 | }; | ||
| 131 | |||
| 132 | template <> | ||
| 133 | struct constructor_1_impl< coal::MeshLoader, const coal::NODE_TYPE & > | ||
| 134 | { | ||
| 135 | 5 | static inline const char* doc () | |
| 136 | { | ||
| 137 | 5 | return ""; | |
| 138 | } | ||
| 139 | static inline boost::python::detail::keywords<1+1> args () | ||
| 140 | { | ||
| 141 | return (boost::python::arg("self"), boost::python::arg("bvType")); | ||
| 142 | } | ||
| 143 | }; | ||
| 144 | |||
| 145 | 5 | inline const char* member_func_doc ( coal::BVHModelPtr_t (coal::MeshLoader::*function_ptr) (const std::string &, const coal::Vec3s &)) | |
| 146 | { | ||
| 147 |
2/6✓ Branch 0 taken 5 times.
✗ Branch 1 not taken.
✗ Branch 2 not taken.
✓ Branch 3 taken 5 times.
✗ Branch 4 not taken.
✗ Branch 5 not taken.
|
5 | if (function_ptr == static_cast< coal::BVHModelPtr_t (coal::MeshLoader::*) (const std::string &, const coal::Vec3s &)>(&coal::MeshLoader::load)) |
| 148 | 5 | return ""; | |
| 149 | ✗ | return ""; | |
| 150 | } | ||
| 151 | |||
| 152 | inline boost::python::detail::keywords<3> member_func_args ( coal::BVHModelPtr_t (coal::MeshLoader::*function_ptr) (const std::string &, const coal::Vec3s &)) | ||
| 153 | { | ||
| 154 | if (function_ptr == static_cast< coal::BVHModelPtr_t (coal::MeshLoader::*) (const std::string &, const coal::Vec3s &)>(&coal::MeshLoader::load)) | ||
| 155 | return (boost::python::arg("self"), boost::python::arg("filename"), boost::python::arg("scale")); | ||
| 156 | return (boost::python::arg("self"), boost::python::arg("arg0"), boost::python::arg("arg1")); | ||
| 157 | } | ||
| 158 | |||
| 159 | inline const char* member_func_doc ( coal::CollisionGeometryPtr_t (coal::MeshLoader::*function_ptr) (const std::string &)) | ||
| 160 | { | ||
| 161 | if (function_ptr == static_cast< coal::CollisionGeometryPtr_t (coal::MeshLoader::*) (const std::string &)>(&coal::MeshLoader::loadOctree)) | ||
| 162 | return "Create an coal::OcTree from a file in binary octomap format. Todoadd OctreePtr_t "; | ||
| 163 | return ""; | ||
| 164 | } | ||
| 165 | |||
| 166 | inline boost::python::detail::keywords<2> member_func_args ( coal::CollisionGeometryPtr_t (coal::MeshLoader::*function_ptr) (const std::string &)) | ||
| 167 | { | ||
| 168 | if (function_ptr == static_cast< coal::CollisionGeometryPtr_t (coal::MeshLoader::*) (const std::string &)>(&coal::MeshLoader::loadOctree)) | ||
| 169 | return (boost::python::arg("self"), boost::python::arg("filename")); | ||
| 170 | return (boost::python::arg("self"), boost::python::arg("arg0")); | ||
| 171 | } | ||
| 172 | } // namespace doxygen | ||
| 173 | #include <coal/mesh_loader/loader.h> | ||
| 174 | |||
| 175 | namespace doxygen { | ||
| 176 | } // namespace doxygen | ||
| 177 | |||
| 178 | #endif // DOXYGEN_AUTODOC_COAL_MESH_LOADER_LOADER_H | ||
| 179 | |||
| 180 |