Ignition Rendering

API Reference

6.3.1
Utils.hh File Reference
#include <vector>
#include <ignition/math/Helpers.hh>
#include <ignition/math/AxisAlignedBox.hh>
#include <ignition/math/Vector2.hh>
#include <ignition/math/Vector3.hh>
#include <ignition/math/Pose3.hh>
#include "ignition/rendering/Camera.hh"
#include "ignition/rendering/config.hh"
#include "ignition/rendering/Export.hh"
#include "ignition/rendering/RayQuery.hh"

Go to the source code of this file.

Namespaces

 ignition
 
 ignition::rendering
 Rendering classes and function useful in robot applications.
 

Functions

float screenScalingFactor ()
 Get the screen scaling factor. More...
 
math::Vector3d screenToPlane (const math::Vector2i &_screenPos, const CameraPtr &_camera, const RayQueryPtr &_rayQuery, const float _offset=0.0)
 Retrieve the point on a plane at z = 0 in the 3D scene hit by a ray cast from the given 2D screen coordinates. More...
 
math::Vector3d screenToScene (const math::Vector2i &_screenPos, const CameraPtr &_camera, const RayQueryPtr &_rayQuery, float _maxDistance=10.0)
 Retrieve the first point on a surface in the 3D scene hit by a ray cast from the given 2D screen coordinates. More...
 
math::Vector3d screenToScene (const math::Vector2i &_screenPos, const CameraPtr &_camera, const RayQueryPtr &_rayQuery, RayQueryResult &_rayResult, float _maxDistance=10.0)
 Retrieve the first point on a surface in the 3D scene hit by a ray cast from the given 2D screen coordinates. More...
 
ignition::math::AxisAlignedBox transformAxisAlignedBox (const ignition::math::AxisAlignedBox &_box, const ignition::math::Pose3d &_pose)
 Transform a bounding box. More...