argos::CLuaQuaternion Class Reference

#include <lua_quaternion.h>

Static Public Member Functions

static void RegisterType (lua_State *pt_state)
 
static const std::string & GetTypeId ()
 
static int Create (lua_State *pt_state)
 
template<class... TArguments>
static void PushQuaternion (lua_State *pt_state, TArguments &&... t_arguments)
 
static CQuaternionToQuaternion (lua_State *pt_state, int n_index)
 
static int Index (lua_State *pt_state)
 
static int NewIndex (lua_State *pt_state)
 
static int ToString (lua_State *pt_state)
 
static int Equal (lua_State *pt_state)
 
static int Multiply (lua_State *pt_state)
 
static int Normalize (lua_State *pt_state)
 
static int Inverse (lua_State *pt_state)
 
static int ToAngleAxis (lua_State *pt_state)
 
static int ToEulerAngles (lua_State *pt_state)
 

Detailed Description

Definition at line 24 of file lua_quaternion.h.

Member Function Documentation

◆ Create()

int argos::CLuaQuaternion::Create ( lua_State *  pt_state)
static

Definition at line 47 of file lua_quaternion.cpp.

◆ Equal()

int argos::CLuaQuaternion::Equal ( lua_State *  pt_state)
static

Definition at line 193 of file lua_quaternion.cpp.

◆ GetTypeId()

static const std::string& argos::CLuaQuaternion::GetTypeId ( )
inlinestatic

Definition at line 30 of file lua_quaternion.h.

◆ Index()

int argos::CLuaQuaternion::Index ( lua_State *  pt_state)
static

Definition at line 116 of file lua_quaternion.cpp.

◆ Inverse()

int argos::CLuaQuaternion::Inverse ( lua_State *  pt_state)
static

Definition at line 224 of file lua_quaternion.cpp.

◆ Multiply()

int argos::CLuaQuaternion::Multiply ( lua_State *  pt_state)
static

Definition at line 204 of file lua_quaternion.cpp.

◆ NewIndex()

int argos::CLuaQuaternion::NewIndex ( lua_State *  pt_state)
static

Definition at line 157 of file lua_quaternion.cpp.

◆ Normalize()

int argos::CLuaQuaternion::Normalize ( lua_State *  pt_state)
static

Definition at line 215 of file lua_quaternion.cpp.

◆ PushQuaternion()

template<class... TArguments>
static void argos::CLuaQuaternion::PushQuaternion ( lua_State *  pt_state,
TArguments &&...  t_arguments 
)
inlinestatic

Definition at line 37 of file lua_quaternion.h.

◆ RegisterType()

void argos::CLuaQuaternion::RegisterType ( lua_State *  pt_state)
static

Definition at line 26 of file lua_quaternion.cpp.

◆ ToAngleAxis()

int argos::CLuaQuaternion::ToAngleAxis ( lua_State *  pt_state)
static

Definition at line 233 of file lua_quaternion.cpp.

◆ ToEulerAngles()

int argos::CLuaQuaternion::ToEulerAngles ( lua_State *  pt_state)
static

Definition at line 249 of file lua_quaternion.cpp.

◆ ToQuaternion()

CQuaternion & argos::CLuaQuaternion::ToQuaternion ( lua_State *  pt_state,
int  n_index 
)
static

Definition at line 98 of file lua_quaternion.cpp.

◆ ToString()

int argos::CLuaQuaternion::ToString ( lua_State *  pt_state)
static

Definition at line 265 of file lua_quaternion.cpp.