$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mln::vec3d_f Class Reference

#include <mln/core/alias/vec3d.hh>

Public Member Functions

 vec3d_f ()
 vec3d_f (const literal::zero_t &)
 vec3d_f (const literal::origin_t &)
 vec3d_f (const vec< 3u, float > &rhs)
template<typename U >
type vec3d_f (const vec< 3u, U > &rhs)
const vec< n, float > & normalize ()
 operator mat< n, 1, U > () const
const floatoperator[] (unsigned i) const
floatoperator[] (unsigned i)
void set_all (const float &val)
unsigned size () const
mat< 1, n, floatt () const
algebra::h_vec< n, floatto_h_vec () const

Static Public Attributes

static const vec< n, floatorigin
static const vec< n, floatzero

Protected Attributes

float data_ [n]

Public Types

enum  
typedef Object< void > category
typedef float coord
typedef float enc [n]
typedef float equiv [n]
typedef vec< n, floatexact_t

Detailed Description

3D vector with float coordinates.

Definition at line 6 of file vec3d.dox.

Constructor & Destructor Documentation

mln::vec3d_f::vec3d_f ( )
mln::vec3d_f::vec3d_f ( const literal::zero_t )

Construct a vector set to (0,0).

mln::vec3d_f::vec3d_f ( const literal::origin_t )

Construct a vector set to (0,0).

mln::vec3d_f::vec3d_f ( const vec< 3u, float > &  rhs)

Construct copy of another vector.

template<typename U >
type mln::vec3d_f::vec3d_f ( const vec< 3u, U > &  rhs)

Construct copy of another vector encoded with a different.

Member Function Documentation

const vec<n, float >& mln::algebra::vec< n, float >::normalize ( )
inherited
mln::algebra::vec< n, float >::operator mat< n, 1, U > ( ) const
inherited

Conversion to a matrix.

const float & mln::algebra::vec< n, float >::operator[] ( unsigned  i) const
inherited
float & mln::algebra::vec< n, float >::operator[] ( unsigned  i)
inherited
void mln::algebra::vec< n, float >::set_all ( const float val)
inherited
unsigned mln::algebra::vec< n, float >::size ( ) const
inherited
mat<1, n, float > mln::algebra::vec< n, float >::t ( ) const
inherited

Transposition.

algebra::h_vec<n, float > mln::algebra::vec< n, float >::to_h_vec ( ) const
inherited

Member Data Documentation

float mln::algebra::internal::vec_base_< n, float >::data_[n]
protectedinherited

Definition at line 120 of file algebra/vec.hh.

const vec<n, float > mln::algebra::vec< n, float >::origin
staticinherited

Origin value.

Definition at line 258 of file algebra/vec.hh.

const vec<n, float > mln::algebra::vec< n, float >::zero
staticinherited

Zero value.

Definition at line 255 of file algebra/vec.hh.

Member Typedef Documentation

typedef Object<void> mln::Object< vec< n, float > >::category
inherited

Definition at line 106 of file object.hh.

typedef float mln::algebra::vec< n, float >::coord
inherited

Definition at line 197 of file algebra/vec.hh.

typedef float mln::algebra::vec< n, float >::enc[n]
inherited

Definition at line 195 of file algebra/vec.hh.

typedef float mln::algebra::vec< n, float >::equiv[n]
inherited

Definition at line 194 of file algebra/vec.hh.

typedef vec< n, float > mln::Object< vec< n, float > >::exact_t
inherited

Definition at line 105 of file object.hh.

Member Enumeration Documentation

anonymous enum
inherited

Definition at line 198 of file algebra/vec.hh.