#include <octomap_render.h>
Public Member Functions | |
OcTreeRender (const std::shared_ptr< const octomap::OcTree > &octree, OctreeVoxelRenderMode octree_voxel_rendering, OctreeVoxelColorMode octree_color_mode, std::size_t max_octree_depth, Ogre::SceneManager *scene_manager, Ogre::SceneNode *parent_node) | |
void | setOrientation (const Ogre::Quaternion &orientation) |
void | setPosition (const Ogre::Vector3 &position) |
virtual | ~OcTreeRender () |
Private Member Functions | |
void | octreeDecoding (const std::shared_ptr< const octomap::OcTree > &octree, OctreeVoxelRenderMode octree_voxel_rendering, OctreeVoxelColorMode octree_color_mode) |
void | setColor (double z_pos, double min_z, double max_z, double color_factor, rviz::PointCloud::Point *point) |
void | setProbColor (double prob, rviz::PointCloud::Point *point) |
Private Attributes | |
std::vector< rviz::PointCloud * > | cloud_ |
double | colorFactor_ |
std::shared_ptr< const octomap::OcTree > | octree_ |
std::size_t | octree_depth_ |
Ogre::SceneManager * | scene_manager_ |
Ogre::SceneNode * | scene_node_ |
Definition at line 74 of file octomap_render.h.
moveit_rviz_plugin::OcTreeRender::OcTreeRender | ( | const std::shared_ptr< const octomap::OcTree > & | octree, |
OctreeVoxelRenderMode | octree_voxel_rendering, | ||
OctreeVoxelColorMode | octree_color_mode, | ||
std::size_t | max_octree_depth, | ||
Ogre::SceneManager * | scene_manager, | ||
Ogre::SceneNode * | parent_node = NULL |
||
) |
Definition at line 52 of file octomap_render.cpp.
|
virtual |
Definition at line 89 of file octomap_render.cpp.
|
private |
Definition at line 157 of file octomap_render.cpp.
|
private |
Definition at line 110 of file octomap_render.cpp.
void moveit_rviz_plugin::OcTreeRender::setOrientation | ( | const Ogre::Quaternion & | orientation | ) |
Definition at line 104 of file octomap_render.cpp.
void moveit_rviz_plugin::OcTreeRender::setPosition | ( | const Ogre::Vector3 & | position | ) |
Definition at line 99 of file octomap_render.cpp.
|
private |
|
private |
Definition at line 93 of file octomap_render.h.
|
private |
Definition at line 99 of file octomap_render.h.
|
private |
Definition at line 94 of file octomap_render.h.
|
private |
Definition at line 100 of file octomap_render.h.
|
private |
Definition at line 97 of file octomap_render.h.
|
private |
Definition at line 96 of file octomap_render.h.