Public Types | Public Member Functions | Protected Attributes

OpenTissue::utility::trackball::GenericTrackball< real_type_ > Class Template Reference

#include <trackball_generic.h>

Inheritance diagram for OpenTissue::utility::trackball::GenericTrackball< real_type_ >:
OpenTissue::utility::trackball::Bell< real_type_ > OpenTissue::utility::trackball::Chen< real_type_ > OpenTissue::utility::trackball::Shoemake< real_type_ > OpenTissue::utility::trackball::Trackball< real_type_ >

List of all members.

Public Types

typedef real_type_ real_type
typedef math::Vector3< real_typevector3_type
typedef math::Matrix3x3
< real_type
matrix3x3_type
typedef math::Quaternion
< real_type
quaternion_type
typedef real_type gl_transform_type [16]

Public Member Functions

real_typeradius ()
real_type const & radius () const
vector3_typeanchor ()
vector3_type const & anchor () const
vector3_typecurrent ()
vector3_type const & current () const
real_typeangle ()
real_type const & angle () const
vector3_typeaxis ()
vector3_type const & axis () const
matrix3x3_type const & get_current_rotation ()
gl_transform_type const & get_gl_current_rotation ()
matrix3x3_type const & get_incremental_rotation () const
 GenericTrackball ()
 GenericTrackball (real_type radius)
virtual ~GenericTrackball ()
virtual void reset ()
virtual void begin_drag (real_type const &x, real_type const &y)=0
virtual void drag (real_type const &x, real_type const &y)=0
virtual void end_drag (real_type const &x, real_type const &y)=0

Protected Attributes

real_type m_radius
 TBD.
vector3_type m_anchor_position
 TBD.
vector3_type m_current_position
 TBD.
real_type m_angle
 TBD.
vector3_type m_axis
 TBD.
matrix3x3_type m_xform_anchor
 TBD.
matrix3x3_type m_xform_incremental
 TBD.
matrix3x3_type m_xform_current
 TBD.
gl_transform_type m_gl_xform_current
 TBD.

template<typename real_type_ = double>
class OpenTissue::utility::trackball::GenericTrackball< real_type_ >


Member Typedef Documentation


Constructor & Destructor Documentation

template<typename real_type_ = double>
OpenTissue::utility::trackball::GenericTrackball< real_type_ >::GenericTrackball (  )  [inline]
template<typename real_type_ = double>
OpenTissue::utility::trackball::GenericTrackball< real_type_ >::GenericTrackball ( real_type  radius  )  [inline]
template<typename real_type_ = double>
virtual OpenTissue::utility::trackball::GenericTrackball< real_type_ >::~GenericTrackball (  )  [inline, virtual]

Member Function Documentation

template<typename real_type_ = double>
vector3_type& OpenTissue::utility::trackball::GenericTrackball< real_type_ >::anchor (  )  [inline]
template<typename real_type_ = double>
vector3_type const& OpenTissue::utility::trackball::GenericTrackball< real_type_ >::anchor (  )  const [inline]
template<typename real_type_ = double>
real_type const& OpenTissue::utility::trackball::GenericTrackball< real_type_ >::angle (  )  const [inline]
template<typename real_type_ = double>
real_type& OpenTissue::utility::trackball::GenericTrackball< real_type_ >::angle (  )  [inline]
template<typename real_type_ = double>
vector3_type& OpenTissue::utility::trackball::GenericTrackball< real_type_ >::axis (  )  [inline]
template<typename real_type_ = double>
vector3_type const& OpenTissue::utility::trackball::GenericTrackball< real_type_ >::axis (  )  const [inline]
template<typename real_type_ = double>
virtual void OpenTissue::utility::trackball::GenericTrackball< real_type_ >::begin_drag ( real_type const &  x,
real_type const &  y 
) [pure virtual]
template<typename real_type_ = double>
vector3_type& OpenTissue::utility::trackball::GenericTrackball< real_type_ >::current (  )  [inline]
template<typename real_type_ = double>
vector3_type const& OpenTissue::utility::trackball::GenericTrackball< real_type_ >::current (  )  const [inline]
template<typename real_type_ = double>
virtual void OpenTissue::utility::trackball::GenericTrackball< real_type_ >::drag ( real_type const &  x,
real_type const &  y 
) [pure virtual]
template<typename real_type_ = double>
virtual void OpenTissue::utility::trackball::GenericTrackball< real_type_ >::end_drag ( real_type const &  x,
real_type const &  y 
) [pure virtual]
template<typename real_type_ = double>
matrix3x3_type const& OpenTissue::utility::trackball::GenericTrackball< real_type_ >::get_current_rotation (  )  [inline]
template<typename real_type_ = double>
gl_transform_type const& OpenTissue::utility::trackball::GenericTrackball< real_type_ >::get_gl_current_rotation (  )  [inline]
template<typename real_type_ = double>
matrix3x3_type const& OpenTissue::utility::trackball::GenericTrackball< real_type_ >::get_incremental_rotation (  )  const [inline]
template<typename real_type_ = double>
real_type& OpenTissue::utility::trackball::GenericTrackball< real_type_ >::radius (  )  [inline]
template<typename real_type_ = double>
real_type const& OpenTissue::utility::trackball::GenericTrackball< real_type_ >::radius (  )  const [inline]

Member Data Documentation

template<typename real_type_ = double>
vector3_type OpenTissue::utility::trackball::GenericTrackball< real_type_ >::m_anchor_position [protected]

TBD.

template<typename real_type_ = double>
real_type OpenTissue::utility::trackball::GenericTrackball< real_type_ >::m_angle [protected]

TBD.

template<typename real_type_ = double>
vector3_type OpenTissue::utility::trackball::GenericTrackball< real_type_ >::m_axis [protected]

TBD.

template<typename real_type_ = double>
vector3_type OpenTissue::utility::trackball::GenericTrackball< real_type_ >::m_current_position [protected]

TBD.

template<typename real_type_ = double>
gl_transform_type OpenTissue::utility::trackball::GenericTrackball< real_type_ >::m_gl_xform_current [protected]

TBD.

template<typename real_type_ = double>
real_type OpenTissue::utility::trackball::GenericTrackball< real_type_ >::m_radius [protected]

TBD.

template<typename real_type_ = double>
matrix3x3_type OpenTissue::utility::trackball::GenericTrackball< real_type_ >::m_xform_anchor [protected]

TBD.

template<typename real_type_ = double>
matrix3x3_type OpenTissue::utility::trackball::GenericTrackball< real_type_ >::m_xform_current [protected]

TBD.

template<typename real_type_ = double>
matrix3x3_type OpenTissue::utility::trackball::GenericTrackball< real_type_ >::m_xform_incremental [protected]

TBD.


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