Public Types | Public Member Functions | Public Attributes | List of all members
glm::detail::tvec3< T, P > Struct Template Reference

#include <type_mat.hpp>

Public Types

typedef tvec3< bool, Pbool_type
 
enum  ctor { _null }
 
typedef int size_type
 
typedef tvec3< T, Ptype
 
typedef T value_type
 

Public Member Functions

GLM_FUNC_DECL GLM_CONSTEXPR length_t length () const
 
template<typename U >
GLM_FUNC_DECL tvec3< T, P > & operator &= (U s)
 
template<typename U >
GLM_FUNC_DECL tvec3< T, P > & operator &= (tvec3< U, P > const &v)
 
template<typename U >
GLM_FUNC_DECL tvec3< T, P > & operator%= (U s)
 
template<typename U >
GLM_FUNC_DECL tvec3< T, P > & operator%= (tvec3< U, P > const &v)
 
template<typename U >
GLM_FUNC_DECL tvec3< T, P > & operator*= (U s)
 
template<typename U >
GLM_FUNC_DECL tvec3< T, P > & operator*= (tvec3< U, P > const &v)
 
GLM_FUNC_DECL tvec3< T, P > & operator++ ()
 
GLM_FUNC_DECL tvec3< T, Poperator++ (int)
 
template<typename U >
GLM_FUNC_DECL tvec3< T, P > & operator+= (U s)
 
template<typename U >
GLM_FUNC_DECL tvec3< T, P > & operator+= (tvec3< U, P > const &v)
 
GLM_FUNC_DECL tvec3< T, P > & operator-- ()
 
GLM_FUNC_DECL tvec3< T, Poperator-- (int)
 
template<typename U >
GLM_FUNC_DECL tvec3< T, P > & operator-= (U s)
 
template<typename U >
GLM_FUNC_DECL tvec3< T, P > & operator-= (tvec3< U, P > const &v)
 
template<typename U >
GLM_FUNC_DECL tvec3< T, P > & operator/= (U s)
 
template<typename U >
GLM_FUNC_DECL tvec3< T, P > & operator/= (tvec3< U, P > const &v)
 
template<typename U >
GLM_FUNC_DECL tvec3< T, P > & operator<<= (U s)
 
template<typename U >
GLM_FUNC_DECL tvec3< T, P > & operator<<= (tvec3< U, P > const &v)
 
GLM_FUNC_DECL tvec3< T, P > & operator= (tvec3< T, P > const &v)
 
template<typename U >
GLM_FUNC_DECL tvec3< T, P > & operator= (tvec3< U, P > const &v)
 
template<typename U >
GLM_FUNC_DECL tvec3< T, P > & operator>>= (U s)
 
template<typename U >
GLM_FUNC_DECL tvec3< T, P > & operator>>= (tvec3< U, P > const &v)
 
GLM_FUNC_DECL Toperator[] (length_t i)
 
GLM_FUNC_DECL T const & operator[] (length_t i) const
 
template<typename U >
GLM_FUNC_DECL tvec3< T, P > & operator^= (U s)
 
template<typename U >
GLM_FUNC_DECL tvec3< T, P > & operator^= (tvec3< U, P > const &v)
 
template<typename U >
GLM_FUNC_DECL tvec3< T, P > & operator|= (U s)
 
template<typename U >
GLM_FUNC_DECL tvec3< T, P > & operator|= (tvec3< U, P > const &v)
 
GLM_FUNC_DECL tvec3 ()
 
GLM_FUNC_DECL tvec3 (tvec3< T, P > const &v)
 
template<precision Q>
GLM_FUNC_DECL tvec3 (tvec3< T, Q > const &v)
 
GLM_FUNC_DECL tvec3 (ctor)
 
GLM_FUNC_DECL tvec3 (T const &s)
 
GLM_FUNC_DECL tvec3 (T const &s1, T const &s2, T const &s3)
 
template<typename U , typename V , typename W >
GLM_FUNC_DECL tvec3 (U const &x, V const &y, W const &z)
 Explicit converions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification) More...
 
template<typename A , typename B , precision Q>
GLM_FUNC_DECL tvec3 (tvec2< A, Q > const &v, B const &s)
 Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification) More...
 
template<typename A , typename B , precision Q>
GLM_FUNC_DECL tvec3 (A const &s, tvec2< B, Q > const &v)
 Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification) More...
 
template<typename U , precision Q>
GLM_FUNC_DECL tvec3 (tvec3< U, Q > const &v)
 Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification) More...
 
template<typename U , precision Q>
GLM_FUNC_DECL tvec3 (tvec4< U, Q > const &v)
 Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification) More...
 

Public Attributes

union {
   T   b
 
   T   p
 
   T   z
 
}; 
 
union {
   T   r
 
   T   s
 
   T   x
 
}; 
 
union {
   T   g
 
   T   t
 
   T   y
 
}; 
 

Detailed Description

template<typename T, precision P>
struct glm::detail::tvec3< T, P >

Definition at line 37 of file type_mat.hpp.

Member Typedef Documentation

◆ bool_type

template<typename T, precision P>
typedef tvec3<bool, P> glm::detail::tvec3< T, P >::bool_type

Definition at line 54 of file type_vec3.hpp.

◆ size_type

template<typename T, precision P>
typedef int glm::detail::tvec3< T, P >::size_type

Definition at line 56 of file type_vec3.hpp.

◆ type

template<typename T, precision P>
typedef tvec3<T, P> glm::detail::tvec3< T, P >::type

Definition at line 53 of file type_vec3.hpp.

◆ value_type

template<typename T, precision P>
typedef T glm::detail::tvec3< T, P >::value_type

Definition at line 55 of file type_vec3.hpp.

Member Enumeration Documentation

◆ ctor

template<typename T, precision P>
enum glm::detail::tvec3::ctor
Enumerator
_null 

Definition at line 51 of file type_vec3.hpp.

Constructor & Destructor Documentation

◆ tvec3() [1/11]

template<typename T, precision P>
GLM_FUNC_DECL glm::detail::tvec3< T, P >::tvec3 ( )

◆ tvec3() [2/11]

template<typename T, precision P>
GLM_FUNC_DECL glm::detail::tvec3< T, P >::tvec3 ( tvec3< T, P > const &  v)

◆ tvec3() [3/11]

template<typename T, precision P>
template<precision Q>
GLM_FUNC_DECL glm::detail::tvec3< T, P >::tvec3 ( tvec3< T, Q > const &  v)

◆ tvec3() [4/11]

template<typename T, precision P>
GLM_FUNC_DECL glm::detail::tvec3< T, P >::tvec3 ( ctor  )
explicit

◆ tvec3() [5/11]

template<typename T, precision P>
GLM_FUNC_DECL glm::detail::tvec3< T, P >::tvec3 ( T const &  s)
explicit

◆ tvec3() [6/11]

template<typename T, precision P>
GLM_FUNC_DECL glm::detail::tvec3< T, P >::tvec3 ( T const &  s1,
T const &  s2,
T const &  s3 
)

◆ tvec3() [7/11]

template<typename T, precision P>
template<typename U , typename V , typename W >
GLM_FUNC_DECL glm::detail::tvec3< T, P >::tvec3 ( U const &  x,
V const &  y,
W const &  z 
)

Explicit converions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification)

◆ tvec3() [8/11]

template<typename T, precision P>
template<typename A , typename B , precision Q>
GLM_FUNC_DECL glm::detail::tvec3< T, P >::tvec3 ( tvec2< A, Q > const &  v,
B const &  s 
)
explicit

Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification)

◆ tvec3() [9/11]

template<typename T, precision P>
template<typename A , typename B , precision Q>
GLM_FUNC_DECL glm::detail::tvec3< T, P >::tvec3 ( A const &  s,
tvec2< B, Q > const &  v 
)
explicit

Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification)

◆ tvec3() [10/11]

template<typename T, precision P>
template<typename U , precision Q>
GLM_FUNC_DECL glm::detail::tvec3< T, P >::tvec3 ( tvec3< U, Q > const &  v)
explicit

Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification)

◆ tvec3() [11/11]

template<typename T, precision P>
template<typename U , precision Q>
GLM_FUNC_DECL glm::detail::tvec3< T, P >::tvec3 ( tvec4< U, Q > const &  v)
explicit

Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification)

Member Function Documentation

◆ length()

template<typename T, precision P>
GLM_FUNC_DECL GLM_CONSTEXPR length_t glm::detail::tvec3< T, P >::length ( ) const

◆ operator &=() [1/2]

template<typename T, precision P>
template<typename U >
GLM_FUNC_DECL tvec3<T, P>& glm::detail::tvec3< T, P >::operator&= ( s)

◆ operator &=() [2/2]

template<typename T, precision P>
template<typename U >
GLM_FUNC_DECL tvec3<T, P>& glm::detail::tvec3< T, P >::operator&= ( tvec3< U, P > const &  v)

◆ operator%=() [1/2]

template<typename T, precision P>
template<typename U >
GLM_FUNC_DECL tvec3<T, P>& glm::detail::tvec3< T, P >::operator%= ( s)

◆ operator%=() [2/2]

template<typename T, precision P>
template<typename U >
GLM_FUNC_DECL tvec3<T, P>& glm::detail::tvec3< T, P >::operator%= ( tvec3< U, P > const &  v)

◆ operator*=() [1/2]

template<typename T, precision P>
template<typename U >
GLM_FUNC_DECL tvec3<T, P>& glm::detail::tvec3< T, P >::operator*= ( s)

◆ operator*=() [2/2]

template<typename T, precision P>
template<typename U >
GLM_FUNC_DECL tvec3<T, P>& glm::detail::tvec3< T, P >::operator*= ( tvec3< U, P > const &  v)

◆ operator++() [1/2]

template<typename T, precision P>
GLM_FUNC_DECL tvec3<T, P>& glm::detail::tvec3< T, P >::operator++ ( )

◆ operator++() [2/2]

template<typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> glm::detail::tvec3< T, P >::operator++ ( int  )

◆ operator+=() [1/2]

template<typename T, precision P>
template<typename U >
GLM_FUNC_DECL tvec3<T, P>& glm::detail::tvec3< T, P >::operator+= ( s)

◆ operator+=() [2/2]

template<typename T, precision P>
template<typename U >
GLM_FUNC_DECL tvec3<T, P>& glm::detail::tvec3< T, P >::operator+= ( tvec3< U, P > const &  v)

◆ operator--() [1/2]

template<typename T, precision P>
GLM_FUNC_DECL tvec3<T, P>& glm::detail::tvec3< T, P >::operator-- ( )

◆ operator--() [2/2]

template<typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> glm::detail::tvec3< T, P >::operator-- ( int  )

◆ operator-=() [1/2]

template<typename T, precision P>
template<typename U >
GLM_FUNC_DECL tvec3<T, P>& glm::detail::tvec3< T, P >::operator-= ( s)

◆ operator-=() [2/2]

template<typename T, precision P>
template<typename U >
GLM_FUNC_DECL tvec3<T, P>& glm::detail::tvec3< T, P >::operator-= ( tvec3< U, P > const &  v)

◆ operator/=() [1/2]

template<typename T, precision P>
template<typename U >
GLM_FUNC_DECL tvec3<T, P>& glm::detail::tvec3< T, P >::operator/= ( s)

◆ operator/=() [2/2]

template<typename T, precision P>
template<typename U >
GLM_FUNC_DECL tvec3<T, P>& glm::detail::tvec3< T, P >::operator/= ( tvec3< U, P > const &  v)

◆ operator<<=() [1/2]

template<typename T, precision P>
template<typename U >
GLM_FUNC_DECL tvec3<T, P>& glm::detail::tvec3< T, P >::operator<<= ( s)

◆ operator<<=() [2/2]

template<typename T, precision P>
template<typename U >
GLM_FUNC_DECL tvec3<T, P>& glm::detail::tvec3< T, P >::operator<<= ( tvec3< U, P > const &  v)

◆ operator=() [1/2]

template<typename T, precision P>
GLM_FUNC_DECL tvec3<T, P>& glm::detail::tvec3< T, P >::operator= ( tvec3< T, P > const &  v)

◆ operator=() [2/2]

template<typename T, precision P>
template<typename U >
GLM_FUNC_DECL tvec3<T, P>& glm::detail::tvec3< T, P >::operator= ( tvec3< U, P > const &  v)

◆ operator>>=() [1/2]

template<typename T, precision P>
template<typename U >
GLM_FUNC_DECL tvec3<T, P>& glm::detail::tvec3< T, P >::operator>>= ( s)

◆ operator>>=() [2/2]

template<typename T, precision P>
template<typename U >
GLM_FUNC_DECL tvec3<T, P>& glm::detail::tvec3< T, P >::operator>>= ( tvec3< U, P > const &  v)

◆ operator[]() [1/2]

template<typename T, precision P>
GLM_FUNC_DECL T& glm::detail::tvec3< T, P >::operator[] ( length_t  i)

◆ operator[]() [2/2]

template<typename T, precision P>
GLM_FUNC_DECL T const& glm::detail::tvec3< T, P >::operator[] ( length_t  i) const

◆ operator^=() [1/2]

template<typename T, precision P>
template<typename U >
GLM_FUNC_DECL tvec3<T, P>& glm::detail::tvec3< T, P >::operator^= ( s)

◆ operator^=() [2/2]

template<typename T, precision P>
template<typename U >
GLM_FUNC_DECL tvec3<T, P>& glm::detail::tvec3< T, P >::operator^= ( tvec3< U, P > const &  v)

◆ operator|=() [1/2]

template<typename T, precision P>
template<typename U >
GLM_FUNC_DECL tvec3<T, P>& glm::detail::tvec3< T, P >::operator|= ( s)

◆ operator|=() [2/2]

template<typename T, precision P>
template<typename U >
GLM_FUNC_DECL tvec3<T, P>& glm::detail::tvec3< T, P >::operator|= ( tvec3< U, P > const &  v)

Member Data Documentation

◆ @11

union { ... }

◆ @7

union { ... }

◆ @9

union { ... }

◆ b

template<typename T, precision P>
T glm::detail::tvec3< T, P >::b

Definition at line 86 of file type_vec3.hpp.

◆ g

template<typename T, precision P>
T glm::detail::tvec3< T, P >::g

Definition at line 85 of file type_vec3.hpp.

◆ p

template<typename T, precision P>
T glm::detail::tvec3< T, P >::p

Definition at line 86 of file type_vec3.hpp.

◆ r

template<typename T, precision P>
T glm::detail::tvec3< T, P >::r

Definition at line 84 of file type_vec3.hpp.

◆ s

template<typename T, precision P>
T glm::detail::tvec3< T, P >::s

Definition at line 84 of file type_vec3.hpp.

◆ t

template<typename T, precision P>
T glm::detail::tvec3< T, P >::t

Definition at line 85 of file type_vec3.hpp.

◆ x

template<typename T, precision P>
T glm::detail::tvec3< T, P >::x

Definition at line 84 of file type_vec3.hpp.

◆ y

template<typename T, precision P>
T glm::detail::tvec3< T, P >::y

Definition at line 85 of file type_vec3.hpp.

◆ z

template<typename T, precision P>
T glm::detail::tvec3< T, P >::z

Definition at line 86 of file type_vec3.hpp.


The documentation for this struct was generated from the following files:


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Jan 23 2023 03:39:00