#include <math_vector3.h>
Public Types | |
typedef value_traits_ | value_traits |
Convience typedef to make value traits accesible for all template functions using Vector3 types. | |
typedef value_type_ | value_type |
Typedef is required for compliance with many other libraries and data containers! | |
typedef size_t | index_type |
Public Member Functions | |
Vector3 () | |
Vector3 (Vector3 const &v) | |
Vector3 (value_type const &val) | |
template<typename T1 , typename T2 , typename T3 > | |
Vector3 (T1 const &x_val, T2 const &y_val, T3 const &z_val) | |
~Vector3 () | |
Vector3 & | operator= (Vector3 const &cpy) |
void | clear () |
size_t | size () const |
value_type & | operator() (index_type index) |
value_type const & | operator() (index_type index) const |
value_type & | operator[] (index_type index) |
value_type const & | operator[] (index_type index) const |
bool | operator< (Vector3 const &v) const |
bool | operator> (Vector3 const &v) const |
bool | operator== (Vector3 const &cmp) const |
bool | operator!= (Vector3 const &cmp) const |
Vector3 & | operator+= (Vector3 const &v) |
Vector3 & | operator-= (Vector3 const &v) |
Vector3 & | operator*= (value_type const &s) |
Vector3 & | operator/= (value_type const &s) |
Vector3 | operator+ (Vector3 const &v) const |
Vector3 | operator- (Vector3 const &v) const |
Vector3 | operator- () const |
Vector3 | operator% (Vector3 const &v) const |
value_type | operator* (Vector3 const &v) const |
bool | operator<= (Vector3 const &v) const |
bool | operator>= (Vector3 const &v) const |
bool | is_equal (Vector3 const &v, value_type const &threshold) const |
Protected Types | |
typedef OpenTissue::math::ValueTraits < value_type_ > | value_traits_ |
Friends | |
Vector3 | fabs (Vector3 const &v) |
Vector3 | min (Vector3 const &A, Vector3 const &B) |
Vector3 | max (Vector3 const &A, Vector3 const &B) |
Vector3 | floor (Vector3 const &v) |
Vector3 | ceil (Vector3 const &v) |
std::ostream & | operator<< (std::ostream &o, Vector3 const &v) |
std::istream & | operator>> (std::istream &i, Vector3 &v) |
typedef size_t OpenTissue::math::Vector3< value_type_ >::index_type |
typedef value_traits_ OpenTissue::math::Vector3< value_type_ >::value_traits |
Convience typedef to make value traits accesible for all template functions using Vector3 types.
typedef OpenTissue::math::ValueTraits<value_type_> OpenTissue::math::Vector3< value_type_ >::value_traits_ [protected] |
typedef value_type_ OpenTissue::math::Vector3< value_type_ >::value_type |
Typedef is required for compliance with many other libraries and data containers!
OpenTissue::math::Vector3< value_type_ >::Vector3 | ( | ) | [inline] |
OpenTissue::math::Vector3< value_type_ >::Vector3 | ( | Vector3< value_type_ > const & | v | ) | [inline] |
OpenTissue::math::Vector3< value_type_ >::Vector3 | ( | value_type const & | val | ) | [inline, explicit] |
OpenTissue::math::Vector3< value_type_ >::Vector3 | ( | T1 const & | x_val, | |
T2 const & | y_val, | |||
T3 const & | z_val | |||
) | [inline] |
OpenTissue::math::Vector3< value_type_ >::~Vector3 | ( | ) | [inline] |
void OpenTissue::math::Vector3< value_type_ >::clear | ( | ) | [inline] |
bool OpenTissue::math::Vector3< value_type_ >::is_equal | ( | Vector3< value_type_ > const & | v, | |
value_type const & | threshold | |||
) | const [inline] |
bool OpenTissue::math::Vector3< value_type_ >::operator!= | ( | Vector3< value_type_ > const & | cmp | ) | const [inline] |
Vector3 OpenTissue::math::Vector3< value_type_ >::operator% | ( | Vector3< value_type_ > const & | v | ) | const [inline] |
value_type const& OpenTissue::math::Vector3< value_type_ >::operator() | ( | index_type | index | ) | const [inline] |
value_type& OpenTissue::math::Vector3< value_type_ >::operator() | ( | index_type | index | ) | [inline] |
value_type OpenTissue::math::Vector3< value_type_ >::operator* | ( | Vector3< value_type_ > const & | v | ) | const [inline] |
Vector3& OpenTissue::math::Vector3< value_type_ >::operator*= | ( | value_type const & | s | ) | [inline] |
Vector3 OpenTissue::math::Vector3< value_type_ >::operator+ | ( | Vector3< value_type_ > const & | v | ) | const [inline] |
Vector3& OpenTissue::math::Vector3< value_type_ >::operator+= | ( | Vector3< value_type_ > const & | v | ) | [inline] |
Vector3 OpenTissue::math::Vector3< value_type_ >::operator- | ( | Vector3< value_type_ > const & | v | ) | const [inline] |
Vector3 OpenTissue::math::Vector3< value_type_ >::operator- | ( | ) | const [inline] |
Vector3& OpenTissue::math::Vector3< value_type_ >::operator-= | ( | Vector3< value_type_ > const & | v | ) | [inline] |
Vector3& OpenTissue::math::Vector3< value_type_ >::operator/= | ( | value_type const & | s | ) | [inline] |
bool OpenTissue::math::Vector3< value_type_ >::operator< | ( | Vector3< value_type_ > const & | v | ) | const [inline] |
bool OpenTissue::math::Vector3< value_type_ >::operator<= | ( | Vector3< value_type_ > const & | v | ) | const [inline] |
Vector3& OpenTissue::math::Vector3< value_type_ >::operator= | ( | Vector3< value_type_ > const & | cpy | ) | [inline] |
bool OpenTissue::math::Vector3< value_type_ >::operator== | ( | Vector3< value_type_ > const & | cmp | ) | const [inline] |
bool OpenTissue::math::Vector3< value_type_ >::operator> | ( | Vector3< value_type_ > const & | v | ) | const [inline] |
bool OpenTissue::math::Vector3< value_type_ >::operator>= | ( | Vector3< value_type_ > const & | v | ) | const [inline] |
value_type& OpenTissue::math::Vector3< value_type_ >::operator[] | ( | index_type | index | ) | [inline] |
value_type const& OpenTissue::math::Vector3< value_type_ >::operator[] | ( | index_type | index | ) | const [inline] |
size_t OpenTissue::math::Vector3< value_type_ >::size | ( | ) | const [inline] |
Vector3 max | ( | Vector3< value_type_ > const & | A, | |
Vector3< value_type_ > const & | B | |||
) | [friend] |
Vector3 min | ( | Vector3< value_type_ > const & | A, | |
Vector3< value_type_ > const & | B | |||
) | [friend] |
std::ostream& operator<< | ( | std::ostream & | o, | |
Vector3< value_type_ > const & | v | |||
) | [friend] |
std::istream& operator>> | ( | std::istream & | i, | |
Vector3< value_type_ > & | v | |||
) | [friend] |