picking.h File Reference

#include <cml/mathlib/projection.h>

Include dependency graph for picking.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  cml
namespace  cml::detail

Functions

template<class MatT , typename Real >
void cml::detail::depth_range_from_viewport_matrix (const MatT &viewport, Real &n, Real &f)
template<class MatT_1 , class MatT_2 , typename Real >
void cml::make_pick_drag_volume (Real pick_x1, Real pick_y1, Real pick_x2, Real pick_y2, Real viewport_x, Real viewport_y, Real viewport_width, Real viewport_height, const MatT_1 &view, const MatT_2 &projection, Real planes[6][4], ZClip z_clip, bool normalize=true)
template<class MatT_1 , class MatT_2 , class MatT_3 , typename E , class A >
void cml::make_pick_ray (E pick_x, E pick_y, const MatT_1 &view, const MatT_2 &projection, const MatT_3 &viewport, vector< E, A > &origin, vector< E, A > &direction, bool normalize=true)
template<class MatT_1 , class MatT_2 , typename Real >
void cml::make_pick_volume (Real pick_x, Real pick_y, Real pick_width, Real pick_height, Real viewport_x, Real viewport_y, Real viewport_width, Real viewport_height, const MatT_1 &view, const MatT_2 &projection, Real planes[6][4], ZClip z_clip, bool normalize=true)


Detailed Description

Definition in file picking.h.


Generated on Sat Jul 18 19:35:36 2009 for CML 1.0 by  doxygen 1.5.9