#include <octomap_render.h>
Public Member Functions | |
OcTreeRender (const boost::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) | |
virtual | ~OcTreeRender () |
Private Member Functions | |
void | octreeDecoding (const boost::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_ |
boost::shared_ptr< const octomap::OcTree > | octree_ |
std::size_t | octree_depth_ |
Ogre::SceneManager * | scene_manager_ |
Ogre::SceneNode * | scene_node_ |
Definition at line 71 of file octomap_render.h.
moveit_rviz_plugin::OcTreeRender::OcTreeRender | ( | const boost::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.
moveit_rviz_plugin::OcTreeRender::~OcTreeRender | ( | ) | [virtual] |
Definition at line 89 of file octomap_render.cpp.
void moveit_rviz_plugin::OcTreeRender::octreeDecoding | ( | const boost::shared_ptr< const octomap::OcTree > & | octree, |
OctreeVoxelRenderMode | octree_voxel_rendering, | ||
OctreeVoxelColorMode | octree_color_mode | ||
) | [private] |
Definition at line 147 of file octomap_render.cpp.
void moveit_rviz_plugin::OcTreeRender::setColor | ( | double | z_pos, |
double | min_z, | ||
double | max_z, | ||
double | color_factor, | ||
rviz::PointCloud::Point * | point | ||
) | [private] |
Definition at line 100 of file octomap_render.cpp.
void moveit_rviz_plugin::OcTreeRender::setProbColor | ( | double | prob, |
rviz::PointCloud::Point * | point | ||
) | [private] |
std::vector<rviz::PointCloud*> moveit_rviz_plugin::OcTreeRender::cloud_ [private] |
Definition at line 87 of file octomap_render.h.
double moveit_rviz_plugin::OcTreeRender::colorFactor_ [private] |
Definition at line 93 of file octomap_render.h.
boost::shared_ptr<const octomap::OcTree> moveit_rviz_plugin::OcTreeRender::octree_ [private] |
Definition at line 88 of file octomap_render.h.
std::size_t moveit_rviz_plugin::OcTreeRender::octree_depth_ [private] |
Definition at line 94 of file octomap_render.h.
Ogre::SceneManager* moveit_rviz_plugin::OcTreeRender::scene_manager_ [private] |
Definition at line 91 of file octomap_render.h.
Ogre::SceneNode* moveit_rviz_plugin::OcTreeRender::scene_node_ [private] |
Definition at line 90 of file octomap_render.h.