|  | 
|  | GpuLaser (const std::string &_namePrefix, ScenePtr _scene, bool _autoRender=true) | 
|  | Constructor.  More... 
 | 
|  | 
| virtual | ~GpuLaser () | 
|  | Destructor.  More... 
 | 
|  | 
| template<typename T > | 
| event::ConnectionPtr | ConnectNewLaserFrame (T _subscriber) | 
|  | Connect to a laser frame signal.  More... 
 | 
|  | 
| void | CreateLaserTexture (const std::string &_textureName) | 
|  | Create the texture which is used to render laser data.  More... 
 | 
|  | 
| void | DisconnectNewLaserFrame (event::ConnectionPtr &_c) | 
|  | Disconnect from a laser frame signal.  More... 
 | 
|  | 
| virtual void | Fini () | 
|  | Finalize the camera.  More... 
 | 
|  | 
| double | GetCameraCount () const | 
|  | Get the number of cameras required.  More... 
 | 
|  | 
| double | GetCosHorzFOV () const | 
|  | Get Cos Horz field-of-view.  More... 
 | 
|  | 
| double | GetCosVertFOV () const | 
|  | Get Cos Vert field-of-view.  More... 
 | 
|  | 
| double | GetFarClip () const | 
|  | Get far clip.  More... 
 | 
|  | 
| double | GetHorzFOV () const | 
|  | Get the horizontal field of view of the laser sensor.  More... 
 | 
|  | 
| double | GetHorzHalfAngle () const | 
|  | Get (horizontal_max_angle + horizontal_min_angle) * 0.5.  More... 
 | 
|  | 
| const float * | GetLaserData () | 
|  | All things needed to get back z buffer for laser data.  More... 
 | 
|  | 
| double | GetNearClip () const | 
|  | Get near clip.  More... 
 | 
|  | 
| double | GetRayCountRatio () const | 
|  | Get the ray count ratio (equivalent to aspect ratio)  More... 
 | 
|  | 
| double | GetVertFOV () const | 
|  | Get the vertical field-of-view.  More... 
 | 
|  | 
| double | GetVertHalfAngle () const | 
|  | Get (vertical_max_angle + vertical_min_angle) * 0.5.  More... 
 | 
|  | 
| virtual void | Init () | 
|  | Initialize the camera.  More... 
 | 
|  | 
| bool | IsHorizontal () const | 
|  | Gets if sensor is horizontal.  More... 
 | 
|  | 
| virtual void | Load (sdf::ElementPtr &_sdf) | 
|  | 
| virtual void | Load () | 
|  | Load the camera with default parmeters.  More... 
 | 
|  | 
| virtual void | notifyRenderSingleObject (Ogre::Renderable *_rend, const Ogre::Pass *_p, const Ogre::AutoParamDataSource *_s, const Ogre::LightList *_ll, bool _supp) | 
|  | 
| virtual void | PostRender () | 
|  | Post render.  More... 
 | 
|  | 
| void | SetCameraCount (double _cameraCount) | 
|  | Set the number of cameras required.  More... 
 | 
|  | 
| void | SetCosHorzFOV (double _chfov) | 
|  | Set the Cos Horz FOV.  More... 
 | 
|  | 
| void | SetCosVertFOV (double _cvfov) | 
|  | Set the Cos Horz FOV.  More... 
 | 
|  | 
| void | SetFarClip (double _far) | 
|  | Set the far clip distance.  More... 
 | 
|  | 
| void | SetHorzFOV (double _hfov) | 
|  | Set the horizontal fov.  More... 
 | 
|  | 
| void | SetHorzHalfAngle (double _angle) | 
|  | Set the horizontal half angle.  More... 
 | 
|  | 
| void | SetIsHorizontal (bool _horizontal) | 
|  | Set sensor horizontal or vertical.  More... 
 | 
|  | 
| void | SetNearClip (double _near) | 
|  | Set the near clip distance.  More... 
 | 
|  | 
| void | SetRangeCount (unsigned int _w, unsigned int _h=1) | 
|  | Set the number of laser samples in the width and height.  More... 
 | 
|  | 
| void | SetRayCountRatio (double _rayCountRatio) | 
|  | Sets the ray count ratio (equivalen to aspect ratio)  More... 
 | 
|  | 
| void | SetVertFOV (double _vfov) | 
|  | Set the vertical fov.  More... 
 | 
|  | 
| void | SetVertHalfAngle (double _angle) | 
|  | Set the vertical half angle.  More... 
 | 
|  | 
|  | Camera (const std::string &_namePrefix, ScenePtr _scene, bool _autoRender=true) | 
|  | Constructor.  More... 
 | 
|  | 
| virtual | ~Camera () | 
|  | Destructor.  More... 
 | 
|  | 
| void | AttachToVisual (const std::string &_visualName, bool _inheritOrientation, double _minDist=0.0, double _maxDist=0.0) | 
|  | Attach the camera to a scene node.  More... 
 | 
|  | 
| void | AttachToVisual (uint32_t _id, bool _inheritOrientation, double _minDist=0.0, double _maxDist=0.0) | 
|  | Attach the camera to a scene node.  More... 
 | 
|  | 
| template<typename T > | 
| event::ConnectionPtr | ConnectNewImageFrame (T _subscriber) | 
|  | Connect to the new image signal.  More... 
 | 
|  | 
| void | CreateRenderTexture (const std::string &_textureName) | 
|  | Set the render target.  More... 
 | 
|  | 
| void | DisconnectNewImageFrame (event::ConnectionPtr &_c) | 
|  | Disconnect from an image frame.  More... 
 | 
|  | 
| void | EnableSaveFrame (bool _enable) | 
|  | Enable or disable saving.  More... 
 | 
|  | 
| float | GetAspectRatio () const | 
|  | Get the apect ratio.  More... 
 | 
|  | 
| virtual float | GetAvgFPS () | 
|  | Get the average FPS.  More... 
 | 
|  | 
| void | GetCameraToViewportRay (int _screenx, int _screeny, math::Vector3 &_origin, math::Vector3 &_dir) | 
|  | Get a world space ray as cast from the camera through the viewport.  More... 
 | 
|  | 
| bool | GetCaptureData () const | 
|  | Return the value of this->captureData.  More... 
 | 
|  | 
| math::Vector3 | GetDirection () const | 
|  | Get the camera's direction vector.  More... 
 | 
|  | 
| double | GetFarClip () | 
|  | Get the far clip distance.  More... 
 | 
|  | 
| math::Angle | GetHFOV () const | 
|  | Get the camera FOV (horizontal)  More... 
 | 
|  | 
| size_t | GetImageByteSize () const | 
|  | Get the image size in bytes.  More... 
 | 
|  | 
| virtual const unsigned char * | GetImageData (unsigned int i=0) | 
|  | Get a pointer to the image data.  More... 
 | 
|  | 
| unsigned int | GetImageDepth () const | 
|  | Get the depth of the image.  More... 
 | 
|  | 
| std::string | GetImageFormat () const | 
|  | Get the string representation of the image format.  More... 
 | 
|  | 
| virtual unsigned int | GetImageHeight () const | 
|  | Get the height of the image.  More... 
 | 
|  | 
| virtual unsigned int | GetImageWidth () const | 
|  | Get the width of the image.  More... 
 | 
|  | 
| bool | GetInitialized () const | 
|  | Return true if the camera has been initialized.  More... 
 | 
|  | 
| common::Time | GetLastRenderWallTime () | 
|  | Get the last time the camera was rendered.  More... 
 | 
|  | 
| std::string | GetName () const | 
|  | Get the camera's name.  More... 
 | 
|  | 
| double | GetNearClip () | 
|  | Get the near clip distance.  More... 
 | 
|  | 
| Ogre::Camera * | GetOgreCamera () const | 
|  | Get a pointer to the ogre camera.  More... 
 | 
|  | 
| Ogre::SceneNode * | GetPitchNode () const | 
|  | Get the camera's pitch scene node.  More... 
 | 
|  | 
| double | GetRenderRate () const | 
|  | Get the render Hz rate.  More... 
 | 
|  | 
| Ogre::Texture * | GetRenderTexture () const | 
|  | Get the render texture.  More... 
 | 
|  | 
| math::Vector3 | GetRight () | 
|  | Get the viewport right vector.  More... 
 | 
|  | 
| ScenePtr | GetScene () const | 
|  | Get the scene this camera is in.  More... 
 | 
|  | 
| Ogre::SceneNode * | GetSceneNode () const | 
|  | Get the camera's scene node.  More... 
 | 
|  | 
| std::string | GetScreenshotPath () const | 
|  | Get the path to saved screenshots.  More... 
 | 
|  | 
| unsigned int | GetTextureHeight () const | 
|  | Get the height of the off-screen render texture.  More... 
 | 
|  | 
| unsigned int | GetTextureWidth () const | 
|  | Get the width of the off-screen render texture.  More... 
 | 
|  | 
| virtual unsigned int | GetTriangleCount () | 
|  | Get the triangle count.  More... 
 | 
|  | 
| math::Vector3 | GetUp () | 
|  | Get the viewport up vector.  More... 
 | 
|  | 
| math::Angle | GetVFOV () const | 
|  | Get the camera FOV (vertical)  More... 
 | 
|  | 
| Ogre::Viewport * | GetViewport () const | 
|  | Get a pointer to the Ogre::Viewport.  More... 
 | 
|  | 
| unsigned int | GetViewportHeight () const | 
|  | Get the viewport height in pixels.  More... 
 | 
|  | 
| unsigned int | GetViewportWidth () const | 
|  | Get the viewport width in pixels.  More... 
 | 
|  | 
| unsigned int | GetWindowId () const | 
|  | Get the ID of the window this camera is rendering into.  More... 
 | 
|  | 
| bool | GetWorldPointOnPlane (int _x, int _y, const math::Plane &_plane, math::Vector3 &_result) | 
|  | Get point on a plane.  More... 
 | 
|  | 
| math::Pose | GetWorldPose () | 
|  | Get the global pose of the camera.  More... 
 | 
|  | 
| math::Vector3 | GetWorldPosition () const | 
|  | Get the camera position in the world.  More... 
 | 
|  | 
| math::Quaternion | GetWorldRotation () const | 
|  | Get the camera's orientation in the world.  More... 
 | 
|  | 
| double | GetZValue (int _x, int _y) | 
|  | Get the Z-buffer value at the given image coordinate.  More... 
 | 
|  | 
| bool | IsAnimating () const | 
|  | Return true if the camera is moving due to an animation.  More... 
 | 
|  | 
| bool | IsVisible (VisualPtr _visual) | 
|  | Return true if the visual is within the camera's view frustum.  More... 
 | 
|  | 
| bool | IsVisible (const std::string &_visualName) | 
|  | Return true if the visual is within the camera's view frustum.  More... 
 | 
|  | 
| virtual void | Load (sdf::ElementPtr _sdf) | 
|  | Load the camera with a set of parmeters.  More... 
 | 
|  | 
| virtual bool | MoveToPosition (const math::Pose &_pose, double _time) | 
|  | Move the camera to a position (this is an animated motion).  More... 
 | 
|  | 
| bool | MoveToPositions (const std::vector< math::Pose > &_pts, double _time, boost::function< void()> _onComplete=NULL) | 
|  | Move the camera to a series of poses (this is an animated motion).  More... 
 | 
|  | 
| void | Render () | 
|  | Render the camera.  More... 
 | 
|  | 
| void | Render (bool _force) | 
|  | Render the camera.  More... 
 | 
|  | 
| void | RotatePitch (math::Angle _angle) | 
|  | Rotate the camera around the pitch axis.  More... 
 | 
|  | 
| void | RotateYaw (math::Angle _angle) | 
|  | Rotate the camera around the yaw axis.  More... 
 | 
|  | 
| bool | SaveFrame (const std::string &_filename) | 
|  | Save the last frame to disk.  More... 
 | 
|  | 
| void | SetAspectRatio (float _ratio) | 
|  | Set the aspect ratio.  More... 
 | 
|  | 
| void | SetCaptureData (bool _value) | 
|  | Set whether to capture data.  More... 
 | 
|  | 
| void | SetCaptureDataOnce () | 
|  | Capture data once and save to disk.  More... 
 | 
|  | 
| void | SetClipDist (float _near, float _far) | 
|  | Set the clip distances.  More... 
 | 
|  | 
| void | SetHFOV (math::Angle _angle) | 
|  | Set the camera FOV (horizontal)  More... 
 | 
|  | 
| void | SetImageHeight (unsigned int _h) | 
|  | Set the image height.  More... 
 | 
|  | 
| void | SetImageSize (unsigned int _w, unsigned int _h) | 
|  | Set the image size.  More... 
 | 
|  | 
| void | SetImageWidth (unsigned int _w) | 
|  | Set the image height.  More... 
 | 
|  | 
| void | SetName (const std::string &_name) | 
|  | Set the camera's name.  More... 
 | 
|  | 
| void | SetRenderRate (double _hz) | 
|  | Set the render Hz rate.  More... 
 | 
|  | 
| virtual void | SetRenderTarget (Ogre::RenderTarget *_target) | 
|  | Set the camera's render target.  More... 
 | 
|  | 
| void | SetSaveFramePathname (const std::string &_pathname) | 
|  | Set the save frame pathname.  More... 
 | 
|  | 
| void | SetScene (ScenePtr _scene) | 
|  | Set the scene this camera is viewing.  More... 
 | 
|  | 
| void | SetSceneNode (Ogre::SceneNode *_node) | 
|  | Set the camera's scene node.  More... 
 | 
|  | 
| void | SetWindowId (unsigned int _windowId) | 
|  | 
| virtual void | SetWorldPose (const math::Pose &_pose) | 
|  | Set the global pose of the camera.  More... 
 | 
|  | 
| void | SetWorldPosition (const math::Vector3 &_pos) | 
|  | Set the world position.  More... 
 | 
|  | 
| void | SetWorldRotation (const math::Quaternion &_quat) | 
|  | Set the world orientation.  More... 
 | 
|  | 
| void | ShowWireframe (bool _s) | 
|  | Set whether to view the world in wireframe.  More... 
 | 
|  | 
| void | ToggleShowWireframe () | 
|  | Toggle whether to view the world in wireframe.  More... 
 | 
|  | 
| void | TrackVisual (const std::string &_visualName) | 
|  | Set the camera to track a scene node.  More... 
 | 
|  | 
| void | Translate (const math::Vector3 &_direction) | 
|  | Translate the camera.  More... 
 | 
|  | 
| virtual void | Update () | 
|  | 
GPU based laser distance sensor.