VideoVisualPrivate.hh
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2012-2015 Open Source Robotics Foundation
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16 */
17 
18 #ifndef _VIDEO_VISUAL_PRIVATE_HH_
19 #define _VIDEO_VISUAL_PRIVATE_HH_
20 
21 #include <string>
22 #include <vector>
24 
25 namespace gazebo
26 {
27  namespace common
28  {
29  class Video;
30  }
31 
32  namespace rendering
33  {
36  {
38  public: common::Video *video;
39 
41  public: std::vector<event::ConnectionPtr> connections;
42 
44  public: Ogre::TexturePtr texture;
45 
47  public: unsigned char *imageBuffer;
48 
50  public: int width;
51 
53  public: int height;
54  };
55  }
56 }
57 #endif
Private data for the Visual class.
Definition: VisualPrivate.hh:56
Ogre::TexturePtr texture
Texture to draw the video onto.
Definition: VideoVisualPrivate.hh:44
unsigned char * imageBuffer
One frame of the viedeo.
Definition: VideoVisualPrivate.hh:47
int width
Width of the video.
Definition: VideoVisualPrivate.hh:50
Handle video encoding and decoding using libavcodec.
Definition: Video.hh:38
common::Video * video
Load a video.
Definition: VideoVisualPrivate.hh:38
Private data for the Video Visual class.
Definition: VideoVisualPrivate.hh:35
std::vector< event::ConnectionPtr > connections
All the event connections.
Definition: VideoVisualPrivate.hh:41
int height
Height of the video.
Definition: VideoVisualPrivate.hh:53