17 #ifndef _SELECTIONBUFFER_HH_
18 #define _SELECTIONBUFFER_HH_
37 class MaterialSwitcher;
38 class SelectionRenderListener;
49 Ogre::SceneManager *_mgr, Ogre::RenderTarget *_renderTarget);
58 public: Ogre::Entity *OnSelectionClick(
int _x,
int _y);
62 public:
void ShowOverlay(
bool _show);
65 public:
void Update();
68 private:
void DeleteRTTBuffer();
71 private:
void CreateRTTBuffer();
74 private:
void CreateRTTOverlays();
77 private:
void UpdateBufferSize();
86 private: Ogre::SceneManager *sceneMgr;
87 private: Ogre::Camera *camera;
88 private: Ogre::RenderTarget *renderTarget;
89 private: Ogre::TexturePtr texture;
90 private: Ogre::RenderTexture *renderTexture;
91 private: uint8_t *buffer;
92 private: Ogre::PixelBox *pixelBox;
93 private: Ogre::Overlay *selectionDebugOverlay;
Definition: SelectionRenderListener.hh:32
Definition: MaterialSwitcher.hh:40
Definition: SelectionBuffer.hh:41
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:48