Public Member Functions | Private Member Functions | Private Attributes | List of all members
moveit_rviz_plugin::OcTreeRender Class Reference

#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::OcTreeoctree_
 
std::size_t octree_depth_
 
Ogre::SceneManager * scene_manager_
 
Ogre::SceneNode * scene_node_
 

Detailed Description

Definition at line 74 of file octomap_render.h.

Constructor & Destructor Documentation

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.

moveit_rviz_plugin::OcTreeRender::~OcTreeRender ( )
virtual

Definition at line 89 of file octomap_render.cpp.

Member Function Documentation

void moveit_rviz_plugin::OcTreeRender::octreeDecoding ( const std::shared_ptr< const octomap::OcTree > &  octree,
OctreeVoxelRenderMode  octree_voxel_rendering,
OctreeVoxelColorMode  octree_color_mode 
)
private

Definition at line 157 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 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.

void moveit_rviz_plugin::OcTreeRender::setProbColor ( double  prob,
rviz::PointCloud::Point point 
)
private

Member Data Documentation

std::vector<rviz::PointCloud*> moveit_rviz_plugin::OcTreeRender::cloud_
private

Definition at line 93 of file octomap_render.h.

double moveit_rviz_plugin::OcTreeRender::colorFactor_
private

Definition at line 99 of file octomap_render.h.

std::shared_ptr<const octomap::OcTree> moveit_rviz_plugin::OcTreeRender::octree_
private

Definition at line 94 of file octomap_render.h.

std::size_t moveit_rviz_plugin::OcTreeRender::octree_depth_
private

Definition at line 100 of file octomap_render.h.

Ogre::SceneManager* moveit_rviz_plugin::OcTreeRender::scene_manager_
private

Definition at line 97 of file octomap_render.h.

Ogre::SceneNode* moveit_rviz_plugin::OcTreeRender::scene_node_
private

Definition at line 96 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 Sun Oct 18 2020 13:19:09