All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CameraVisual.hh
Go to the documentation of this file.
1 /*
2  * Copyright 2012 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 /* Desc: Camera Visualization Class
18  * Author: Nate Koenig
19  */
20 
21 #ifndef CAMERAVISUAL_HH
22 #define CAMERAVISUAL_HH
23 
24 #include <string>
25 
27 
28 namespace gazebo
29 {
30  namespace rendering
31  {
34 
35  class Camera;
36 
43  class CameraVisual : public Visual
44  {
48  public: CameraVisual(const std::string &_name, VisualPtr _vis);
49 
51  public: virtual ~CameraVisual();
52 
56  public: void Load(unsigned int _width, unsigned int _height);
57 
58  private: CameraPtr camera;
59  };
61  }
62 }
63 #endif