octree.cc
Go to the documentation of this file.
1 
2 #include "fcl.hh"
3 
4 #include <hpp/fcl/fwd.hh>
5 #include <hpp/fcl/octree.h>
6 
7 #ifdef HPP_FCL_HAS_DOXYGEN_AUTODOC
8 #include "doxygen_autodoc/functions.h"
9 #endif
10 
11 void exposeOctree() {
12  using namespace hpp::fcl;
13  namespace bp = boost::python;
14  namespace dv = doxygen::visitor;
15 
16  bp::class_<OcTree, bp::bases<CollisionGeometry>, shared_ptr<OcTree> >(
17  "OcTree", doxygen::class_doc<OcTree>(), bp::no_init)
18  .def(dv::init<OcTree, FCL_REAL>())
19  .def(dv::member_func("getTreeDepth", &OcTree::getTreeDepth))
20  .def(dv::member_func("getOccupancyThres", &OcTree::getOccupancyThres))
21  .def(dv::member_func("getFreeThres", &OcTree::getFreeThres))
22  .def(dv::member_func("getDefaultOccupancy", &OcTree::getDefaultOccupancy))
23  .def(dv::member_func("setCellDefaultOccupancy",
25  .def(dv::member_func("setOccupancyThres", &OcTree::setOccupancyThres))
26  .def(dv::member_func("setFreeThres", &OcTree::setFreeThres))
27  .def(dv::member_func("getRootBV", &OcTree::getRootBV));
28 
29  doxygen::def("makeOctree", &makeOctree);
30 }
boost::python
hpp::fcl::OcTree::getFreeThres
FCL_REAL getFreeThres() const
the threshold used to decide whether one node is free, this is NOT the octree free_threshold
Definition: octree.h:169
exposeOctree
void exposeOctree()
Definition: octree.cc:11
hpp::fcl::OcTree::setFreeThres
void setFreeThres(FCL_REAL d)
Definition: octree.h:177
doxygen::visitor
Definition: doxygen-boost.hh:12
hpp::fcl::OcTree::setCellDefaultOccupancy
void setCellDefaultOccupancy(FCL_REAL d)
Definition: octree.h:173
hpp::fcl::OcTree::getOccupancyThres
FCL_REAL getOccupancyThres() const
the threshold used to decide whether one node is occupied, this is NOT the octree occupied_thresold
Definition: octree.h:165
fcl.hh
doxygen::def
void def(const char *name, Func func)
Definition: doxygen-boost.hh:106
hpp::fcl::makeOctree
HPP_FCL_DLLAPI OcTreePtr_t makeOctree(const Eigen::Matrix< FCL_REAL, Eigen::Dynamic, 3 > &point_cloud, const FCL_REAL resolution)
Build an OcTree from a point cloud and a given resolution.
Definition: src/octree.cpp:185
hpp::fcl::OcTree::getRootBV
AABB getRootBV() const
get the bounding volume for the root
Definition: octree.h:107
doxygen::visitor::member_func
member_func_impl< function_type > member_func(const char *name, const function_type &function)
Definition: doxygen-boost.hh:49
hpp::fcl
Definition: broadphase_bruteforce.h:45
hpp::fcl::OcTree::setOccupancyThres
void setOccupancyThres(FCL_REAL d)
Definition: octree.h:175
hpp::fcl::OcTree::getDefaultOccupancy
FCL_REAL getDefaultOccupancy() const
Definition: octree.h:171
fwd.hh
octree.h
hpp::fcl::OcTree::getTreeDepth
unsigned int getTreeDepth() const
Returns the depth of octree.
Definition: octree.h:115


hpp-fcl
Author(s):
autogenerated on Fri Jan 26 2024 03:46:14