#include <gazebo_ros_video.h>
Public Member Functions | |
void | render (const cv::Mat &image) |
PreRender event callback. | |
VideoVisual (const std::string &_name, rendering::VisualPtr _parent, int h, int w) | |
Constructor. | |
virtual | ~VideoVisual () |
Destructor. | |
Private Attributes | |
int | height |
Width and height of the video. | |
Ogre::TexturePtr | texture |
Texture to draw the video onto. | |
int | width |
Definition at line 45 of file gazebo_ros_video.h.
gazebo::VideoVisual::VideoVisual | ( | const std::string & | _name, |
rendering::VisualPtr | _parent, | ||
int | h, | ||
int | w | ||
) | [inline] |
Constructor.
[in] | _name | Name of the video visual. |
[in] | _parent | Parent of the video visual. |
Definition at line 50 of file gazebo_ros_video.h.
virtual gazebo::VideoVisual::~VideoVisual | ( | ) | [inline, virtual] |
Destructor.
Definition at line 104 of file gazebo_ros_video.h.
void gazebo::VideoVisual::render | ( | const cv::Mat & | image | ) | [inline] |
PreRender event callback.
Definition at line 107 of file gazebo_ros_video.h.
int gazebo::VideoVisual::height [private] |
Width and height of the video.
Definition at line 148 of file gazebo_ros_video.h.
Ogre::TexturePtr gazebo::VideoVisual::texture [private] |
Texture to draw the video onto.
Definition at line 145 of file gazebo_ros_video.h.
int gazebo::VideoVisual::width [private] |
Definition at line 148 of file gazebo_ros_video.h.