Tucano
0.1
A library for rapid prototyping with modern OpenGL and GLSL
|
#include <Eigen/Dense>
Go to the source code of this file.
Namespaces | |
Tucano | |
Tucano::Math | |
Functions | |
bool | Tucano::Math::raySphereIntersection (const Eigen::Vector3f &ray_direction, const Eigen::Vector3f &ray_origin, const Eigen::Vector3f &sphere_center, float sphere_radius, Eigen::Vector3f &intersection) |
Computes the intersection point between a ray and a sphere. More... | |
bool | Tucano::Math::rayPlaneIntersection (const Eigen::Vector3f &ray_direction, const Eigen::Vector3f &ray_origin, const Eigen::Vector3f &plane_point, const Eigen::Vector3f &plane_normal, Eigen::Vector3f &intersection) |
Computes the intersection between a ray and a plane. More... | |
bool | Tucano::Math::rayRingIntersection (const Eigen::Vector3f &ray_direction, const Eigen::Vector3f &ray_origin, const Eigen::Vector3f &plane_point, const Eigen::Vector3f &plane_normal, float inner_radius, float outer_radius, Eigen::Vector3f &intersection) |
Computes the intersection between a ray and a ring in 3D space. More... | |
Eigen::Vector3f | Tucano::Math::rayDirection (const Eigen::Vector2f &pixel, const Eigen::Vector2i &viewport_size, const Eigen::Matrix4f &projection_matrix, const Eigen::Affine3f &view_matrix) |
Computes the ray direction given a pixel position and camera matrices. More... | |