#include <ogre_slice.h>
Public Member Functions | |
OgreSlice (const ::cartographer::mapping::SubmapId &id, int slice_id, Ogre::SceneManager *const scene_manager, Ogre::SceneNode *const submap_node) | |
OgreSlice (const OgreSlice &) | |
OgreSlice & | operator= (const OgreSlice &) |
void | SetAlpha (float alpha) |
void | SetVisibility (bool visibility) |
void | Update (const ::cartographer::io::SubmapTexture &submap_texture) |
void | UpdateOgreNodeVisibility (bool submap_visibility) |
~OgreSlice () | |
Private Attributes | |
const ::cartographer::mapping::SubmapId | id_ |
Ogre::ManualObject *const | manual_object_ |
Ogre::MaterialPtr | material_ |
Ogre::SceneManager *const | scene_manager_ |
const int | slice_id_ |
Ogre::SceneNode *const | slice_node_ |
Ogre::SceneNode *const | submap_node_ |
Ogre::TexturePtr | texture_ |
bool | visibility_ = true |
Definition at line 39 of file ogre_slice.h.
cartographer_rviz::OgreSlice::OgreSlice | ( | const ::cartographer::mapping::SubmapId & | id, |
int | slice_id, | ||
Ogre::SceneManager *const | scene_manager, | ||
Ogre::SceneNode *const | submap_node | ||
) |
Definition at line 55 of file ogre_slice.cc.
Definition at line 77 of file ogre_slice.cc.
cartographer_rviz::OgreSlice::OgreSlice | ( | const OgreSlice & | ) |
void cartographer_rviz::OgreSlice::SetAlpha | ( | float | alpha | ) |
Definition at line 145 of file ogre_slice.cc.
void cartographer_rviz::OgreSlice::SetVisibility | ( | bool | visibility | ) |
Definition at line 151 of file ogre_slice.cc.
void cartographer_rviz::OgreSlice::Update | ( | const ::cartographer::io::SubmapTexture & | submap_texture | ) |
Definition at line 87 of file ogre_slice.cc.
void cartographer_rviz::OgreSlice::UpdateOgreNodeVisibility | ( | bool | submap_visibility | ) |
Definition at line 153 of file ogre_slice.cc.
const ::cartographer::mapping::SubmapId cartographer_rviz::OgreSlice::id_ [private] |
Definition at line 67 of file ogre_slice.h.
Ogre::ManualObject* const cartographer_rviz::OgreSlice::manual_object_ [private] |
Definition at line 72 of file ogre_slice.h.
Ogre::MaterialPtr cartographer_rviz::OgreSlice::material_ [private] |
Definition at line 74 of file ogre_slice.h.
Ogre::SceneManager* const cartographer_rviz::OgreSlice::scene_manager_ [private] |
Definition at line 69 of file ogre_slice.h.
const int cartographer_rviz::OgreSlice::slice_id_ [private] |
Definition at line 68 of file ogre_slice.h.
Ogre::SceneNode* const cartographer_rviz::OgreSlice::slice_node_ [private] |
Definition at line 71 of file ogre_slice.h.
Ogre::SceneNode* const cartographer_rviz::OgreSlice::submap_node_ [private] |
Definition at line 70 of file ogre_slice.h.
Ogre::TexturePtr cartographer_rviz::OgreSlice::texture_ [private] |
Definition at line 73 of file ogre_slice.h.
bool cartographer_rviz::OgreSlice::visibility_ = true [private] |
Definition at line 75 of file ogre_slice.h.