Go to the documentation of this file.
   32 #include <OgreCamera.h> 
   33 #include <OgreSceneManager.h> 
   34 #include <OgreSceneNode.h> 
   36 #include <OgreQuaternion.h> 
   44   : scene_manager_(scene_manager), relative_node_(nullptr)
 
   47   static uint32_t count = 0;
 
   48   ss << 
"CameraBase" << count++;
 
   73   setOrientation(orientation.x, orientation.y, orientation.z, orientation.w);
 
  
virtual void setPosition(const Ogre::Vector3 &position)
Set the position of the camera.
Ogre::Camera * camera_
Ogre camera associated with this camera object.
Ogre::SceneNode * relative_node_
void setRelativeNode(Ogre::SceneNode *node)
Set a scene node that all camera transformations should be relative to.
CameraBase(Ogre::SceneManager *scene_manager)
Constructor.
virtual void setOrientation(const Ogre::Quaternion &orientation)
Set the orientation of the camera.
virtual void relativeNodeChanged()
Called when the relative node changes.
Ogre::SceneManager * scene_manager_
Scene manager this camera is part of.
rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust, William Woodall 
autogenerated on Sun May 4 2025 02:31:26