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

#include <type_vec.hpp>

Public Types

typedef tvec1< bool, Pbool_type
 
enum  ctor { _null }
 
typedef tvec1< T, Ptype
 
typedef T value_type
 

Public Member Functions

GLM_FUNC_DECL GLM_CONSTEXPR length_t length () const
 
template<typename U >
GLM_FUNC_DECL tvec1< T, P > & operator%= (tvec1< U, P > const &v)
 
template<typename U >
GLM_FUNC_DECL tvec1< T, P > & operator%= (U const &s)
 
template<typename U >
GLM_FUNC_DECL tvec1< T, P > & operator&= (tvec1< U, P > const &v)
 
template<typename U >
GLM_FUNC_DECL tvec1< T, P > & operator&= (U const &s)
 
template<typename U >
GLM_FUNC_DECL tvec1< T, P > & operator*= (tvec1< U, P > const &v)
 
template<typename U >
GLM_FUNC_DECL tvec1< T, P > & operator*= (U const &s)
 
GLM_FUNC_DECL tvec1< T, P > & operator++ ()
 
GLM_FUNC_DECL tvec1< T, Poperator++ (int)
 
template<typename U >
GLM_FUNC_DECL tvec1< T, P > & operator+= (tvec1< U, P > const &v)
 
template<typename U >
GLM_FUNC_DECL tvec1< T, P > & operator+= (U const &s)
 
GLM_FUNC_DECL tvec1< T, P > & operator-- ()
 
GLM_FUNC_DECL tvec1< T, Poperator-- (int)
 
template<typename U >
GLM_FUNC_DECL tvec1< T, P > & operator-= (tvec1< U, P > const &v)
 
template<typename U >
GLM_FUNC_DECL tvec1< T, P > & operator-= (U const &s)
 
template<typename U >
GLM_FUNC_DECL tvec1< T, P > & operator/= (tvec1< U, P > const &v)
 
template<typename U >
GLM_FUNC_DECL tvec1< T, P > & operator/= (U const &s)
 
template<typename U >
GLM_FUNC_DECL tvec1< T, P > & operator<<= (tvec1< U, P > const &v)
 
template<typename U >
GLM_FUNC_DECL tvec1< T, P > & operator<<= (U const &s)
 
GLM_FUNC_DECL tvec1< T, P > & operator= (tvec1< T, P > const &v)
 
template<typename U >
GLM_FUNC_DECL tvec1< T, P > & operator= (tvec1< U, P > const &v)
 
template<typename U >
GLM_FUNC_DECL tvec1< T, P > & operator>>= (tvec1< U, P > const &v)
 
template<typename U >
GLM_FUNC_DECL tvec1< T, P > & operator>>= (U const &s)
 
GLM_FUNC_DECL Toperator[] (length_t i)
 
GLM_FUNC_DECL const Toperator[] (length_t i) const
 
template<typename U >
GLM_FUNC_DECL tvec1< T, P > & operator^= (tvec1< U, P > const &v)
 
template<typename U >
GLM_FUNC_DECL tvec1< T, P > & operator^= (U const &s)
 
template<typename U >
GLM_FUNC_DECL tvec1< T, P > & operator|= (tvec1< U, P > const &v)
 
template<typename U >
GLM_FUNC_DECL tvec1< T, P > & operator|= (U const &s)
 
GLM_FUNC_DECL tvec1 ()
 
GLM_FUNC_DECL tvec1 (ctor)
 
GLM_FUNC_DECL tvec1 (tvec1< T, P > const &v)
 
template<precision Q>
GLM_FUNC_DECL tvec1 (tvec1< T, Q > const &v)
 
template<typename U , precision Q>
GLM_FUNC_DECL tvec1 (tvec1< 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 tvec1 (tvec2< 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 tvec1 (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 tvec1 (tvec4< 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 >
GLM_FUNC_DECL tvec1 (U const &s)
 

Public Attributes

union {
   T   r
 
   T   s
 
   T   x
 
}; 
 

Detailed Description

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

Definition at line 37 of file type_vec.hpp.

Member Typedef Documentation

◆ bool_type

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

Definition at line 54 of file type_vec1.hpp.

◆ type

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

Definition at line 53 of file type_vec1.hpp.

◆ value_type

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

Definition at line 55 of file type_vec1.hpp.

Member Enumeration Documentation

◆ ctor

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

Definition at line 51 of file type_vec1.hpp.

Constructor & Destructor Documentation

◆ tvec1() [1/9]

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

◆ tvec1() [2/9]

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

◆ tvec1() [3/9]

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

◆ tvec1() [4/9]

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

◆ tvec1() [5/9]

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

◆ tvec1() [6/9]

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

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

◆ tvec1() [7/9]

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

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

◆ tvec1() [8/9]

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

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

◆ tvec1() [9/9]

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

◆ operator%=() [1/2]

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

◆ operator%=() [2/2]

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

◆ operator&=() [1/2]

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

◆ operator&=() [2/2]

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

◆ operator*=() [1/2]

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

◆ operator*=() [2/2]

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

◆ operator++() [1/2]

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

◆ operator++() [2/2]

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

◆ operator+=() [1/2]

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

◆ operator+=() [2/2]

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

◆ operator--() [1/2]

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

◆ operator--() [2/2]

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

◆ operator-=() [1/2]

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

◆ operator-=() [2/2]

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

◆ operator/=() [1/2]

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

◆ operator/=() [2/2]

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

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

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

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

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

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

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

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

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

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

◆ operator[]() [1/2]

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

◆ operator[]() [2/2]

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

◆ operator^=() [1/2]

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

◆ operator^=() [2/2]

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

◆ operator|=() [1/2]

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

◆ operator|=() [2/2]

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

Member Data Documentation

◆ @1

union { ... }

◆ r

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

Definition at line 65 of file type_vec1.hpp.

◆ s

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

Definition at line 65 of file type_vec1.hpp.

◆ x

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

Definition at line 65 of file type_vec1.hpp.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:27