#include <mock_context.h>
Public Member Functions | |
virtual uint32_t | getDefaultVisibilityBit () const |
virtual DisplayFactory * | getDisplayFactory () const |
Return a factory for creating Display subclasses based on a class id string. | |
virtual QString | getFixedFrame () const |
Return the fixed frame name. | |
virtual uint64_t | getFrameCount () const |
Return the current value of the frame count. | |
virtual FrameManager * | getFrameManager () const |
Return the FrameManager instance. | |
virtual DisplayGroup * | getRootDisplayGroup () const |
virtual Ogre::SceneManager * | getSceneManager () const |
Returns the Ogre::SceneManager used for the main RenderPanel. | |
virtual SelectionManager * | getSelectionManager () const |
Return a pointer to the SelectionManager. | |
virtual tf::TransformListener * | getTFClient () const |
Convenience function: returns getFrameManager()->getTFClient(). | |
virtual ros::CallbackQueueInterface * | getThreadedQueue () |
Return a CallbackQueue using a different thread than the main GUI one. | |
virtual ToolManager * | getToolManager () const |
Return the ToolManager. | |
virtual ros::CallbackQueueInterface * | getUpdateQueue () |
Return the CallbackQueue using the main GUI thread. | |
virtual ViewManager * | getViewManager () const |
Return the ViewManager. | |
virtual WindowManagerInterface * | getWindowManager () const |
Return the window manager, if any. | |
virtual void | handleChar (QKeyEvent *event, RenderPanel *panel) |
Handle a single key event for a given RenderPanel. | |
virtual void | handleMouseEvent (const ViewportMouseEvent &event) |
Handle a mouse event. | |
MockContext () | |
virtual void | queueRender () |
Queues a render. Multiple calls before a render happens will only cause a single render. | |
virtual void | setStatus (const QString &message) |
virtual BitAllocator * | visibilityBits () |
Private Attributes | |
DisplayFactory * | display_factory_ |
Definition at line 37 of file mock_context.h.
Definition at line 37 of file mock_context.cpp.
virtual uint32_t rviz::MockContext::getDefaultVisibilityBit | ( | ) | const [inline, virtual] |
Implements rviz::DisplayContext.
Definition at line 57 of file mock_context.h.
virtual DisplayFactory* rviz::MockContext::getDisplayFactory | ( | ) | const [inline, virtual] |
Return a factory for creating Display subclasses based on a class id string.
Implements rviz::DisplayContext.
Definition at line 49 of file mock_context.h.
virtual QString rviz::MockContext::getFixedFrame | ( | ) | const [inline, virtual] |
Return the fixed frame name.
Implements rviz::DisplayContext.
Definition at line 47 of file mock_context.h.
virtual uint64_t rviz::MockContext::getFrameCount | ( | ) | const [inline, virtual] |
Return the current value of the frame count.
The frame count is just a number which increments each time a frame is rendered. This lets clients check if a new frame has been rendered since the last time they did something.
Implements rviz::DisplayContext.
Definition at line 48 of file mock_context.h.
virtual FrameManager* rviz::MockContext::getFrameManager | ( | ) | const [inline, virtual] |
Return the FrameManager instance.
Implements rviz::DisplayContext.
Definition at line 45 of file mock_context.h.
virtual DisplayGroup* rviz::MockContext::getRootDisplayGroup | ( | ) | const [inline, virtual] |
Implements rviz::DisplayContext.
Definition at line 56 of file mock_context.h.
virtual Ogre::SceneManager* rviz::MockContext::getSceneManager | ( | ) | const [inline, virtual] |
Returns the Ogre::SceneManager used for the main RenderPanel.
Implements rviz::DisplayContext.
Definition at line 42 of file mock_context.h.
virtual SelectionManager* rviz::MockContext::getSelectionManager | ( | ) | const [inline, virtual] |
Return a pointer to the SelectionManager.
Implements rviz::DisplayContext.
Definition at line 44 of file mock_context.h.
virtual tf::TransformListener* rviz::MockContext::getTFClient | ( | ) | const [inline, virtual] |
Convenience function: returns getFrameManager()->getTFClient().
Implements rviz::DisplayContext.
Definition at line 46 of file mock_context.h.
virtual ros::CallbackQueueInterface* rviz::MockContext::getThreadedQueue | ( | ) | [inline, virtual] |
Return a CallbackQueue using a different thread than the main GUI one.
Implements rviz::DisplayContext.
Definition at line 51 of file mock_context.h.
virtual ToolManager* rviz::MockContext::getToolManager | ( | ) | const [inline, virtual] |
Return the ToolManager.
Implements rviz::DisplayContext.
Definition at line 54 of file mock_context.h.
virtual ros::CallbackQueueInterface* rviz::MockContext::getUpdateQueue | ( | ) | [inline, virtual] |
Return the CallbackQueue using the main GUI thread.
Implements rviz::DisplayContext.
Definition at line 50 of file mock_context.h.
virtual ViewManager* rviz::MockContext::getViewManager | ( | ) | const [inline, virtual] |
Return the ViewManager.
Implements rviz::DisplayContext.
Definition at line 55 of file mock_context.h.
virtual WindowManagerInterface* rviz::MockContext::getWindowManager | ( | ) | const [inline, virtual] |
Return the window manager, if any.
Implements rviz::DisplayContext.
Definition at line 43 of file mock_context.h.
virtual void rviz::MockContext::handleChar | ( | QKeyEvent * | event, |
RenderPanel * | panel | ||
) | [inline, virtual] |
Handle a single key event for a given RenderPanel.
Implements rviz::DisplayContext.
Definition at line 52 of file mock_context.h.
virtual void rviz::MockContext::handleMouseEvent | ( | const ViewportMouseEvent & | event | ) | [inline, virtual] |
Handle a mouse event.
Implements rviz::DisplayContext.
Definition at line 53 of file mock_context.h.
virtual void rviz::MockContext::queueRender | ( | ) | [inline, virtual] |
Queues a render. Multiple calls before a render happens will only cause a single render.
Implements rviz::DisplayContext.
Definition at line 61 of file mock_context.h.
virtual void rviz::MockContext::setStatus | ( | const QString & | message | ) | [inline, virtual] |
Set the message displayed in the status bar
Implements rviz::DisplayContext.
Definition at line 59 of file mock_context.h.
virtual BitAllocator* rviz::MockContext::visibilityBits | ( | ) | [inline, virtual] |
Implements rviz::DisplayContext.
Definition at line 58 of file mock_context.h.
Definition at line 64 of file mock_context.h.