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, Pbool_type
 
enum  ctor { _null }
 
typedef int size_type
 
typedef tvec4< T, Ptype
 
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, Poperator++ (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, Poperator-- (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 Toperator[] (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

◆ bool_type

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.

◆ size_type

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

Definition at line 79 of file type_vec4.hpp.

◆ type

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

Definition at line 76 of file type_vec4.hpp.

◆ value_type

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

◆ ctor

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

Definition at line 74 of file type_vec4.hpp.

Constructor & Destructor Documentation

◆ tvec4() [1/14]

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

◆ tvec4() [2/14]

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

◆ tvec4() [3/14]

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

◆ tvec4() [4/14]

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

◆ tvec4() [5/14]

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

◆ tvec4() [6/14]

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 
)

◆ tvec4() [7/14]

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)

◆ tvec4() [8/14]

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)

◆ tvec4() [9/14]

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)

◆ tvec4() [10/14]

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)

◆ tvec4() [11/14]

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)

◆ tvec4() [12/14]

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)

◆ tvec4() [13/14]

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)

◆ tvec4() [14/14]

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

◆ length()

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

◆ operator &=() [1/2]

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

◆ operator &=() [2/2]

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)

◆ operator%=() [1/2]

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

◆ operator%=() [2/2]

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)

◆ operator*=() [1/4]

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

◆ operator*=() [2/4]

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

◆ operator*=() [3/4]

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

◆ operator*=() [4/4]

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)

◆ operator++() [1/2]

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

◆ operator++() [2/2]

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

◆ operator+=() [1/4]

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

◆ operator+=() [2/4]

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

◆ operator+=() [3/4]

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

◆ operator+=() [4/4]

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)

◆ operator--() [1/2]

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

◆ operator--() [2/2]

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

◆ operator-=() [1/4]

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

◆ operator-=() [2/4]

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

◆ operator-=() [3/4]

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

◆ operator-=() [4/4]

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)

◆ operator/=() [1/4]

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

◆ operator/=() [2/4]

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

◆ operator/=() [3/4]

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

◆ operator/=() [4/4]

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)

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

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

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

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)

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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)

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

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

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

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)

◆ operator[]() [1/2]

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

◆ operator[]() [2/2]

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

◆ operator^=() [1/2]

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

◆ operator^=() [2/2]

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)

◆ operator|=() [1/2]

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

◆ operator|=() [2/2]

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

◆ @13

union { ... }

◆ @15

union { ... }

◆ @17

union { ... }

◆ @19

union { ... }

◆ a

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

Definition at line 124 of file type_vec4.hpp.

◆ b

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

Definition at line 123 of file type_vec4.hpp.

◆ g

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

Definition at line 122 of file type_vec4.hpp.

◆ p

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

Definition at line 123 of file type_vec4.hpp.

◆ q

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

Definition at line 124 of file type_vec4.hpp.

◆ r

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

Definition at line 121 of file type_vec4.hpp.

◆ s

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

Definition at line 121 of file type_vec4.hpp.

◆ t

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

Definition at line 122 of file type_vec4.hpp.

◆ w

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

Definition at line 124 of file type_vec4.hpp.

◆ x

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

Definition at line 121 of file type_vec4.hpp.

◆ y

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

Definition at line 122 of file type_vec4.hpp.

◆ z

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 Mon Jan 23 2023 03:39:00