41 #include <geometric_shapes/shapes.h>
42 #include <rviz_common/properties/color_property.hpp>
43 #include <rviz_common/display_context.hpp>
44 #include <rviz_rendering/objects/shape.hpp>
45 #include <OgreColourValue.h>
46 #include <Eigen/Geometry>
60 void renderShape(Ogre::SceneNode* node,
const shapes::Shape* s,
const Eigen::Isometry3d&
p,
62 const Ogre::ColourValue& color,
float alpha);
67 rviz_common::DisplayContext* context_;
69 std::vector<std::unique_ptr<rviz_rendering::Shape> > scene_shapes_;
70 std::vector<OcTreeRenderPtr> octree_voxel_grids_;
void renderShape(Ogre::SceneNode *node, const shapes::Shape *s, const Eigen::Isometry3d &p, OctreeVoxelRenderMode octree_voxel_rendering, OctreeVoxelColorMode octree_color_mode, const Ogre::ColourValue &color, float alpha)
RenderShapes(rviz_common::DisplayContext *context)
void updateShapeColors(float r, float g, float b, float a)
MOVEIT_CLASS_FORWARD(RobotStateVisualization)