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

#include <type_mat.hpp>

Public Types

typedef tvec4< bool, P > bool_type
 
enum  ctor { _null }
 
typedef int size_type
 
typedef tvec4< T, P > type
 
typedef T value_type
 

Public Member Functions

GLM_FUNC_DECL GLM_CONSTEXPR length_t length () const
 
template<typename U >
GLM_FUNC_DECL tvec4< T, P > & operator%= (U s)
 
template<typename U >
GLM_FUNC_DECL tvec4< T, P > & operator%= (tvec4< U, P > const &v)
 
template<typename U >
GLM_FUNC_DECL tvec4< T, P > & operator&= (U s)
 
template<typename U >
GLM_FUNC_DECL tvec4< T, P > & operator&= (tvec4< U, P > const &v)
 
GLM_FUNC_DECL tvec4< T, P > & operator*= (T v)
 
GLM_FUNC_DECL tvec4< T, P > & operator*= (tvec4< T, P > const &v)
 
template<typename U >
GLM_FUNC_DECL tvec4< T, P > & operator*= (U s)
 
template<typename U >
GLM_FUNC_DECL tvec4< T, P > & operator*= (tvec4< U, P > const &v)
 
GLM_FUNC_DECL tvec4< T, P > & operator++ ()
 
GLM_FUNC_DECL tvec4< T, P > operator++ (int)
 
GLM_FUNC_DECL tvec4< T, P > & operator+= (T v)
 
GLM_FUNC_DECL tvec4< T, P > & operator+= (tvec4< T, P > const &v)
 
template<typename U >
GLM_FUNC_DECL tvec4< T, P > & operator+= (U s)
 
template<typename U >
GLM_FUNC_DECL tvec4< T, P > & operator+= (tvec4< U, P > const &v)
 
GLM_FUNC_DECL tvec4< T, P > & operator-- ()
 
GLM_FUNC_DECL tvec4< T, P > operator-- (int)
 
GLM_FUNC_DECL tvec4< T, P > & operator-= (T v)
 
GLM_FUNC_DECL tvec4< T, P > & operator-= (tvec4< T, P > const &v)
 
template<typename U >
GLM_FUNC_DECL tvec4< T, P > & operator-= (U s)
 
template<typename U >
GLM_FUNC_DECL tvec4< T, P > & operator-= (tvec4< U, P > const &v)
 
GLM_FUNC_DECL tvec4< T, P > & operator/= (T v)
 
GLM_FUNC_DECL tvec4< T, P > & operator/= (tvec4< T, P > const &v)
 
template<typename U >
GLM_FUNC_DECL tvec4< T, P > & operator/= (U s)
 
template<typename U >
GLM_FUNC_DECL tvec4< T, P > & operator/= (tvec4< U, P > const &v)
 
template<typename U >
GLM_FUNC_DECL tvec4< T, P > & operator<<= (U s)
 
template<typename U >
GLM_FUNC_DECL tvec4< T, P > & operator<<= (tvec4< U, P > const &v)
 
GLM_FUNC_DECL tvec4< T, P > & operator= (tvec4< T, P > const &v)
 
template<typename U , precision Q>
GLM_FUNC_DECL tvec4< T, P > & operator= (tvec4< U, Q > const &v)
 
template<typename U >
GLM_FUNC_DECL tvec4< T, P > & operator>>= (U s)
 
template<typename U >
GLM_FUNC_DECL tvec4< T, P > & operator>>= (tvec4< U, P > const &v)
 
GLM_FUNC_DECL T & operator[] (length_t i)
 
GLM_FUNC_DECL T const & operator[] (length_t i) const
 
template<typename U >
GLM_FUNC_DECL tvec4< T, P > & operator^= (U s)
 
template<typename U >
GLM_FUNC_DECL tvec4< T, P > & operator^= (tvec4< U, P > const &v)
 
template<typename U >
GLM_FUNC_DECL tvec4< T, P > & operator|= (U s)
 
template<typename U >
GLM_FUNC_DECL tvec4< T, P > & operator|= (tvec4< U, P > const &v)
 
GLM_FUNC_DECL tvec4 ()
 
GLM_FUNC_DECL tvec4 (type const &v)
 
template<precision Q>
GLM_FUNC_DECL tvec4 (tvec4< T, Q > const &v)
 
GLM_FUNC_DECL tvec4 (ctor)
 
GLM_FUNC_DECL tvec4 (T const &s)
 
GLM_FUNC_DECL tvec4 (T const &s0, T const &s1, T const &s2, T const &s3)
 
template<typename A , typename B , typename C , typename D >
GLM_FUNC_DECL tvec4 (A const &x, B const &y, C const &z, D const &w)
 Explicit converions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification) More...
 
template<typename A , typename B , typename C , precision Q>
GLM_FUNC_DECL tvec4 (tvec2< A, Q > const &v, B const &s1, C const &s2)
 Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification) More...
 
template<typename A , typename B , typename C , precision Q>
GLM_FUNC_DECL tvec4 (A const &s1, tvec2< B, Q > const &v, C const &s2)
 Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification) More...
 
template<typename A , typename B , typename C , precision Q>
GLM_FUNC_DECL tvec4 (A const &s1, B const &s2, tvec2< C, Q > const &v)
 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 tvec4 (tvec3< 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 tvec4 (A const &s, tvec3< B, Q > const &v)
 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 tvec4 (tvec2< A, Q > const &v1, tvec2< B, Q > const &v2)
 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 tvec4 (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   r
 
   T   s
 
   T   x
 
}; 
 
union {
   T   g
 
   T   t
 
   T   y
 
}; 
 
union {
   T   b
 
   T   p
 
   T   z
 
}; 
 
union {
   T   a
 
   T   q
 
   T   w
 
}; 
 

Detailed Description

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

Definition at line 38 of file type_mat.hpp.

Member Typedef Documentation

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

Definition at line 77 of file type_vec4.hpp.

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

Definition at line 79 of file type_vec4.hpp.

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

Definition at line 76 of file type_vec4.hpp.

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

Definition at line 78 of file type_vec4.hpp.

Member Enumeration Documentation

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

Definition at line 74 of file type_vec4.hpp.

Constructor & Destructor Documentation

template<typename T, precision P>
GLM_FUNC_DECL glm::detail::tvec4< T, P >::tvec4 ( )
template<typename T, precision P>
GLM_FUNC_DECL glm::detail::tvec4< T, P >::tvec4 ( type const &  v)
template<typename T, precision P>
template<precision Q>
GLM_FUNC_DECL glm::detail::tvec4< T, P >::tvec4 ( tvec4< T, Q > const &  v)
template<typename T, precision P>
GLM_FUNC_DECL glm::detail::tvec4< T, P >::tvec4 ( ctor  )
explicit
template<typename T, precision P>
GLM_FUNC_DECL glm::detail::tvec4< T, P >::tvec4 ( T const &  s)
explicit
template<typename T, precision P>
GLM_FUNC_DECL glm::detail::tvec4< T, P >::tvec4 ( T const &  s0,
T const &  s1,
T const &  s2,
T const &  s3 
)
template<typename T, precision P>
template<typename A , typename B , typename C , typename D >
GLM_FUNC_DECL glm::detail::tvec4< T, P >::tvec4 ( A const &  x,
B const &  y,
C const &  z,
D const &  w 
)

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

template<typename T, precision P>
template<typename A , typename B , typename C , precision Q>
GLM_FUNC_DECL glm::detail::tvec4< T, P >::tvec4 ( tvec2< A, Q > const &  v,
B const &  s1,
C const &  s2 
)
explicit

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

template<typename T, precision P>
template<typename A , typename B , typename C , precision Q>
GLM_FUNC_DECL glm::detail::tvec4< T, P >::tvec4 ( A const &  s1,
tvec2< B, Q > const &  v,
C const &  s2 
)
explicit

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

template<typename T, precision P>
template<typename A , typename B , typename C , precision Q>
GLM_FUNC_DECL glm::detail::tvec4< T, P >::tvec4 ( A const &  s1,
B const &  s2,
tvec2< C, Q > const &  v 
)
explicit

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

template<typename T, precision P>
template<typename A , typename B , precision Q>
GLM_FUNC_DECL glm::detail::tvec4< T, P >::tvec4 ( tvec3< 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)

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

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

template<typename T, precision P>
template<typename A , typename B , precision Q>
GLM_FUNC_DECL glm::detail::tvec4< T, P >::tvec4 ( tvec2< A, Q > const &  v1,
tvec2< B, Q > const &  v2 
)
explicit

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

template<typename T, precision P>
template<typename U , precision Q>
GLM_FUNC_DECL glm::detail::tvec4< T, P >::tvec4 ( 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

template<typename T, precision P>
GLM_FUNC_DECL GLM_CONSTEXPR length_t glm::detail::tvec4< T, P >::length ( ) const
template<typename T, precision P>
template<typename U >
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator%= ( s)
template<typename T, precision P>
template<typename U >
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator%= ( tvec4< U, P > const &  v)
template<typename T, precision P>
template<typename U >
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator&= ( s)
template<typename T, precision P>
template<typename U >
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator&= ( tvec4< U, P > const &  v)
template<typename T, precision P>
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator*= ( v)
template<typename T, precision P>
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator*= ( tvec4< T, P > const &  v)
template<typename T, precision P>
template<typename U >
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator*= ( s)
template<typename T, precision P>
template<typename U >
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator*= ( tvec4< U, P > const &  v)
template<typename T, precision P>
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator++ ( )
template<typename T, precision P>
GLM_FUNC_DECL tvec4<T, P> glm::detail::tvec4< T, P >::operator++ ( int  )
template<typename T, precision P>
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator+= ( v)
template<typename T, precision P>
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator+= ( tvec4< T, P > const &  v)
template<typename T, precision P>
template<typename U >
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator+= ( s)
template<typename T, precision P>
template<typename U >
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator+= ( tvec4< U, P > const &  v)
template<typename T, precision P>
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator-- ( )
template<typename T, precision P>
GLM_FUNC_DECL tvec4<T, P> glm::detail::tvec4< T, P >::operator-- ( int  )
template<typename T, precision P>
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator-= ( v)
template<typename T, precision P>
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator-= ( tvec4< T, P > const &  v)
template<typename T, precision P>
template<typename U >
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator-= ( s)
template<typename T, precision P>
template<typename U >
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator-= ( tvec4< U, P > const &  v)
template<typename T, precision P>
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator/= ( v)
template<typename T, precision P>
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator/= ( tvec4< T, P > const &  v)
template<typename T, precision P>
template<typename U >
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator/= ( s)
template<typename T, precision P>
template<typename U >
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator/= ( tvec4< U, P > const &  v)
template<typename T, precision P>
template<typename U >
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator<<= ( s)
template<typename T, precision P>
template<typename U >
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator<<= ( tvec4< U, P > const &  v)
template<typename T, precision P>
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator= ( tvec4< T, P > const &  v)
template<typename T, precision P>
template<typename U , precision Q>
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator= ( tvec4< U, Q > const &  v)
template<typename T, precision P>
template<typename U >
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator>>= ( s)
template<typename T, precision P>
template<typename U >
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator>>= ( tvec4< U, P > const &  v)
template<typename T, precision P>
GLM_FUNC_DECL T& glm::detail::tvec4< T, P >::operator[] ( length_t  i)
template<typename T, precision P>
GLM_FUNC_DECL T const& glm::detail::tvec4< T, P >::operator[] ( length_t  i) const
template<typename T, precision P>
template<typename U >
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator^= ( s)
template<typename T, precision P>
template<typename U >
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator^= ( tvec4< U, P > const &  v)
template<typename T, precision P>
template<typename U >
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator|= ( s)
template<typename T, precision P>
template<typename U >
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator|= ( tvec4< U, P > const &  v)

Member Data Documentation

union { ... }
union { ... }
union { ... }
union { ... }
template<typename T, precision P>
T glm::detail::tvec4< T, P >::a

Definition at line 124 of file type_vec4.hpp.

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

Definition at line 123 of file type_vec4.hpp.

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

Definition at line 122 of file type_vec4.hpp.

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

Definition at line 123 of file type_vec4.hpp.

template<typename T, precision P>
T glm::detail::tvec4< T, P >::q

Definition at line 124 of file type_vec4.hpp.

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

Definition at line 121 of file type_vec4.hpp.

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

Definition at line 121 of file type_vec4.hpp.

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

Definition at line 122 of file type_vec4.hpp.

template<typename T, precision P>
T glm::detail::tvec4< T, P >::w

Definition at line 124 of file type_vec4.hpp.

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

Definition at line 121 of file type_vec4.hpp.

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

Definition at line 122 of file type_vec4.hpp.

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

Definition at line 123 of file type_vec4.hpp.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Wed Jun 5 2019 22:43:42