#include <ColorOctomapServer.h>

Public Member Functions | |
| ColorOctomapServer () | |
| virtual void | insertCloudCallback (const pointcloud_type::ConstPtr cloud, double max_range=-1.0) |
| virtual void | insertCloudCallbackCommon (boost::shared_ptr< octomap::Pointcloud > cloud, pointcloud_type::ConstPtr colors, const octomap::point3d &origin, double max_range=-1.0) |
| void | occupancyFilter (pointcloud_type::ConstPtr input, pointcloud_type::Ptr output, double occupancy_threshold) |
| Filter cloud by occupancy of voxels, e.g. remove points in free space. | |
| virtual void | render () |
| void | reset () |
| Clear octomap and reset values to paramters from parameter server. | |
| bool | save (const char *filename) const |
| virtual | ~ColorOctomapServer () |
Protected Attributes | |
| octomap::ColorOcTree | m_octoMap |
| QFuture< void > | rendering |
Definition at line 14 of file ColorOctomapServer.h.
partly taken from the ros octomap server.
Definition at line 18 of file ColorOctomapServer.cpp.
| ColorOctomapServer::~ColorOctomapServer | ( | ) | [virtual] |
Definition at line 24 of file ColorOctomapServer.cpp.
| void ColorOctomapServer::insertCloudCallback | ( | const pointcloud_type::ConstPtr | cloud, |
| double | max_range = -1.0 |
||
| ) | [virtual] |
Raycas cloud into the octomap
| cloud | pointcloud in arbitrary frame (specified in the clouds header) |
Definition at line 61 of file ColorOctomapServer.cpp.
| void ColorOctomapServer::insertCloudCallbackCommon | ( | boost::shared_ptr< octomap::Pointcloud > | cloud, |
| pointcloud_type::ConstPtr | colors, | ||
| const octomap::point3d & | origin, | ||
| double | max_range = -1.0 |
||
| ) | [virtual] |
Raycast cloud into the octomap
| cloud | pointcloud in map frame |
| origin | sensor location in map frame |
Definition at line 93 of file ColorOctomapServer.cpp.
| void ColorOctomapServer::occupancyFilter | ( | pointcloud_type::ConstPtr | input, |
| pointcloud_type::Ptr | output, | ||
| double | occupancy_threshold | ||
| ) |
Filter cloud by occupancy of voxels, e.g. remove points in free space.
Definition at line 132 of file ColorOctomapServer.cpp.
| void ColorOctomapServer::render | ( | ) | [virtual] |
Implements Renderable.
Definition at line 187 of file ColorOctomapServer.cpp.
| void ColorOctomapServer::reset | ( | ) |
Clear octomap and reset values to paramters from parameter server.
Definition at line 26 of file ColorOctomapServer.cpp.
| bool ColorOctomapServer::save | ( | const char * | filename | ) | const |
Definition at line 38 of file ColorOctomapServer.cpp.
octomap::ColorOcTree ColorOctomapServer::m_octoMap [protected] |
Definition at line 38 of file ColorOctomapServer.h.
QFuture<void> ColorOctomapServer::rendering [mutable, protected] |
Definition at line 40 of file ColorOctomapServer.h.