Public Types | Public Member Functions | Protected Attributes

OpenTissue::geometry::Ray< math_types_ > Class Template Reference

#include <geometry_ray.h>

List of all members.

Public Types

typedef math_types_ math_types
typedef math_types::real_type real_type
typedef math_types::vector3_type vector3_type
typedef math_types::value_traits value_traits

Public Member Functions

 Ray ()
vector3_typep ()
vector3_type const & p () const
vector3_typer ()
vector3_type const & r () const
void compute_point (real_type const &t)

Protected Attributes

vector3_type m_p
 Origin of ray.
vector3_type m_r
 Direction of ray (should be a unit vector).

Detailed Description

template<typename math_types_>
class OpenTissue::geometry::Ray< math_types_ >

Ray Class. Ray is defined by all points

r = P + t*V

where

t >= 0


Member Typedef Documentation

template<typename math_types_ >
typedef math_types_ OpenTissue::geometry::Ray< math_types_ >::math_types
template<typename math_types_ >
typedef math_types::real_type OpenTissue::geometry::Ray< math_types_ >::real_type
template<typename math_types_ >
typedef math_types::value_traits OpenTissue::geometry::Ray< math_types_ >::value_traits
template<typename math_types_ >
typedef math_types::vector3_type OpenTissue::geometry::Ray< math_types_ >::vector3_type

Constructor & Destructor Documentation

template<typename math_types_ >
OpenTissue::geometry::Ray< math_types_ >::Ray (  )  [inline]

Member Function Documentation

template<typename math_types_ >
void OpenTissue::geometry::Ray< math_types_ >::compute_point ( real_type const &  t  )  [inline]
template<typename math_types_ >
vector3_type const& OpenTissue::geometry::Ray< math_types_ >::p (  )  const [inline]
template<typename math_types_ >
vector3_type& OpenTissue::geometry::Ray< math_types_ >::p (  )  [inline]
template<typename math_types_ >
vector3_type& OpenTissue::geometry::Ray< math_types_ >::r (  )  [inline]
template<typename math_types_ >
vector3_type const& OpenTissue::geometry::Ray< math_types_ >::r (  )  const [inline]

Member Data Documentation

template<typename math_types_ >
vector3_type OpenTissue::geometry::Ray< math_types_ >::m_p [protected]

Origin of ray.

template<typename math_types_ >
vector3_type OpenTissue::geometry::Ray< math_types_ >::m_r [protected]

Direction of ray (should be a unit vector).


The documentation for this class was generated from the following file: