UserCameraPrivate.hh
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2014-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 _USERCAMERA_PRIVATE_HH_
19 #define _USERCAMERA_PRIVATE_HH_
20 
21 namespace gazebo
22 {
23  namespace rendering
24  {
27  {
30 
33 
36 
39 
42 
45 
47  // public: Ogre::SceneNode *axisNode;
48 
51 
54  public: bool isCameraSetInWorldFile;
55 
57  public: bool joyTwistControl;
58 
60  public: bool joyPoseControl;
61 
64  };
65  }
66 }
67 #endif
bool joyTwistControl
Toggle joystick camera move through ~/user_camera/joy_twist.
Definition: UserCameraPrivate.hh:57
First Person Shooter style view controller.
Definition: FPSViewController.hh:34
Private data for the UserCamera class.
Definition: UserCameraPrivate.hh:26
boost::shared_ptr< Subscriber > SubscriberPtr
Definition: TransportTypes.hh:53
Orbit view controller.
Definition: OrbitViewController.hh:36
FPSViewController * fpsViewController
A FPS view controller.
Definition: UserCameraPrivate.hh:44
bool joyPoseControl
Toggle joystick camera move through ~/user_camera/joy_pose.
Definition: UserCameraPrivate.hh:60
transport::SubscriberPtr joySubPose
Subscribes to absolute joystick messages.
Definition: UserCameraPrivate.hh:35
OrbitViewController * orbitViewController
An orbit view controller.
Definition: UserCameraPrivate.hh:41
bool isCameraSetInWorldFile
Flag to detect if the user changed the camera pose in the world file.
Definition: UserCameraPrivate.hh:54
Definition: SelectionBuffer.hh:41
boost::shared_ptr< Node > NodePtr
Definition: TransportTypes.hh:57
transport::SubscriberPtr joySubTwist
Subscribes to relative joystick messages.
Definition: UserCameraPrivate.hh:32
SelectionBuffer * selectionBuffer
Draws a 3D axis in the viewport.
Definition: UserCameraPrivate.hh:50
bool joystickButtonToggleLast
Used to detect joystick button release.
Definition: UserCameraPrivate.hh:63
ViewController * viewController
The currently active view controller.
Definition: UserCameraPrivate.hh:38
transport::NodePtr node
Gazebo communication node pointer.
Definition: UserCameraPrivate.hh:29
Base class for view controllers.
Definition: ViewController.hh:34