Public Member Functions | Private Member Functions | Private Attributes
moveit_rviz_plugin::OcTreeRender Class Reference

#include <octomap_render.h>

List of all members.

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_

Detailed Description

Definition at line 71 of file octomap_render.h.


Constructor & Destructor Documentation

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.

Definition at line 89 of file octomap_render.cpp.


Member Function Documentation

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]

Member Data Documentation

Definition at line 87 of file octomap_render.h.

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.

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.

Definition at line 90 of file octomap_render.h.


The documentation for this class was generated from the following files:


visualization
Author(s): Ioan Sucan , Dave Coleman , Sachin Chitta
autogenerated on Mon Jul 24 2017 02:22:14