Namespaces | Functions
geometry.cpp File Reference
#include <OGRE/OgreRay.h>
#include <OGRE/OgrePlane.h>
#include <OGRE/OgreCamera.h>
#include <OGRE/OgreSceneNode.h>
#include <OGRE/OgreViewport.h>
#include "geometry.h"
Include dependency graph for geometry.cpp:

Go to the source code of this file.

Namespaces

namespace  rviz

Functions

bool rviz::getPointOnPlaneFromWindowXY (Ogre::Viewport *viewport, Ogre::Plane &plane, int window_x, int window_y, Ogre::Vector3 &intersection_out)
 Given a viewport and an x,y position in window-pixel coordinates, find the point on a plane directly behind it, if any.
float rviz::mapAngleTo0_2Pi (float angle)
 Return the input angle mapped back to the range 0 to 2*PI.
Ogre::Vector2 rviz::project3DPointToViewportXY (const Ogre::Viewport *view, const Ogre::Vector3 &pos)
 Given a viewport and a 3D position in world coordinates, project that point into the view plane.


rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust
autogenerated on Mon Oct 6 2014 07:26:36