11 #include <OGRE/OgreMaterial.h> 12 #include <OGRE/OgreSharedPtr.h> 14 #include <grid_map_msgs/GridMap.h> 34 GridMapVisual(Ogre::SceneManager* sceneManager, Ogre::SceneNode* parentNode);
38 void setMessage(
const grid_map_msgs::GridMap::ConstPtr& msg);
40 void computeVisualization(
float alpha,
bool showGridLines,
bool flatTerrain, std::string heightLayer,
bool flatColor,
41 bool noColor, Ogre::ColourValue meshColor,
bool mapLayerColor, std::string colorLayer,
42 bool useRainbow,
bool invertRainbow, Ogre::ColourValue minColor, Ogre::ColourValue maxColor,
43 bool autocomputeIntensity,
float minIntensity,
float maxIntensity);
46 void setFramePosition(
const Ogre::Vector3& position);
47 void setFrameOrientation(
const Ogre::Quaternion& orientation);
50 std::vector<std::string> getLayerNames();
69 void normalizeIntensity(
float& intensity,
float minIntensity,
float maxIntensity);
70 Ogre::ColourValue getRainbowColor(
float intensity);
71 Ogre::ColourValue getInterpolatedColor(
float intensity, Ogre::ColourValue minColor,
72 Ogre::ColourValue maxColor);
boost::shared_ptr< rviz::BillboardLine > meshLines_
Ogre::SceneManager * sceneManager_
Ogre::MaterialPtr material_
Ogre::ManualObject * manualObject_
std::string materialName_
Ogre::SceneNode * frameNode_