iaDefines.h File Reference
#include <stdint.h>

Namespaces

namespace  iaux
 

Macros

#define IGOR_PATHSEPARATOR_WINDOWS   '\\'
 
#define IGOR_PATHSEPARATOR_LINUX   '/'
 
#define S1(x)   #x
 
#define S2(x)   S1(x)
 
#define __IGOR_FILE_LINE__   __FILE__ ":" S2(__LINE__)
 
#define IGOR_STDCALL   stdcall
 
#define IGOR_CDECL   cdecl
 
#define IGOR_DEFAULTCALL   IGOR_CDECL
 
#define M_E   2.71828182845904523536
 
#define M_LOG2E   1.44269504088896340736
 
#define M_LOG10E   0.434294481903251827651
 
#define M_LN2   0.693147180559945309417
 
#define M_LN10   2.30258509299404568402
 
#define M_PI   3.14159265358979323846
 
#define M_PI_2   1.57079632679489661923
 
#define M_PI_4   0.785398163397448309616
 
#define M_1_PI   0.318309886183790671538
 
#define M_2_PI   0.636619772367581343076
 
#define M_2_SQRTPI   1.12837916709551257390
 
#define M_SQRT2   1.41421356237309504880
 
#define M_SQRT1_2   0.707106781186547524401
 
#define IGOR_TAB   L" "
 
#define STR2(x)   #x
 helper macro to handle strings in macros More...
 
#define STR(x)   STR2(x)
 an other helper macro to handle strings in macros More...
 
#define IGOR_GRAM   0.001
 
#define IGOR_KILO   1.0
 
#define IGOR_TON   1000.0
 
#define IGOR_BASE_WEIGHT   IGOR_KILO
 
#define IGOR_MILLIMETER   0.001
 
#define IGOR_CENTIMETER   0.01
 
#define IGOR_DECIMETER   0.1
 
#define IGOR_METER   1.0
 
#define IGOR_KILOMETER   1000.0
 
#define IGOR_BASE_LENGHT   IGOR_METER
 
#define IGOR_MILLISECOND   1.0
 
#define IGOR_SECOND   1000.0
 
#define IGOR_MINUTE   60000.0
 
#define IGOR_BASE_TIME   IGOR_MILLISECOND
 
#define IGOR_EARTH_GRAVITY   9.81
 
#define __IGOR_BIT_0__   0x00000001
 
#define __IGOR_BIT_1__   0x00000002
 
#define __IGOR_BIT_2__   0x00000004
 
#define __IGOR_BIT_3__   0x00000008
 
#define __IGOR_BIT_4__   0x00000010
 
#define __IGOR_BIT_5__   0x00000020
 
#define __IGOR_BIT_6__   0x00000040
 
#define __IGOR_BIT_7__   0x00000080
 
#define __IGOR_BIT_8__   0x00000100
 
#define __IGOR_BIT_9__   0x00000200
 
#define __IGOR_BIT_10__   0x00000400
 
#define __IGOR_BIT_11__   0x00000800
 
#define __IGOR_BIT_12__   0x00001000
 
#define __IGOR_BIT_13__   0x00002000
 
#define __IGOR_BIT_14__   0x00004000
 
#define __IGOR_BIT_15__   0x00008000
 
#define __IGOR_BIT_16__   0x00010000
 
#define __IGOR_BIT_17__   0x00020000
 
#define __IGOR_BIT_18__   0x00040000
 
#define __IGOR_BIT_19__   0x00080000
 
#define __IGOR_BIT_20__   0x00100000
 
#define __IGOR_BIT_21__   0x00200000
 
#define __IGOR_BIT_22__   0x00400000
 
#define __IGOR_BIT_23__   0x00800000
 
#define __IGOR_BIT_24__   0x01000000
 
#define __IGOR_BIT_25__   0x02000000
 
#define __IGOR_BIT_26__   0x04000000
 
#define __IGOR_BIT_27__   0x08000000
 
#define __IGOR_BIT_28__   0x10000000
 
#define __IGOR_BIT_29__   0x20000000
 
#define __IGOR_BIT_30__   0x40000000
 
#define __IGOR_BIT_31__   0x80000000
 
#define IGOR_INVALID_ID   0
 
#define IGOR_RAD2GRAD   180.0/M_PI
 
#define IGOR_GRAD2RAD   M_PI/180.0
 

Typedefs

typedef int8_t int8
 
typedef int16_t int16
 
typedef int32_t int32
 
typedef int64_t int64
 
typedef uint8_t uint8
 
typedef uint16_t uint16
 
typedef uint32_t uint32
 
typedef uint64_t uint64
 
typedef float float32
 
typedef double float64
 
typedef uint64 iaID64
 
typedef uint32 iaID32
 

Enumerations

enum class  iaux::iaAxis { iaux::X , iaux::Y , iaux::Z }
 

Macro Definition Documentation

◆ __IGOR_BIT_0__

#define __IGOR_BIT_0__   0x00000001

◆ __IGOR_BIT_10__

#define __IGOR_BIT_10__   0x00000400

◆ __IGOR_BIT_11__

#define __IGOR_BIT_11__   0x00000800

◆ __IGOR_BIT_12__

#define __IGOR_BIT_12__   0x00001000

◆ __IGOR_BIT_13__

#define __IGOR_BIT_13__   0x00002000

◆ __IGOR_BIT_14__

#define __IGOR_BIT_14__   0x00004000

◆ __IGOR_BIT_15__

#define __IGOR_BIT_15__   0x00008000

◆ __IGOR_BIT_16__

#define __IGOR_BIT_16__   0x00010000

◆ __IGOR_BIT_17__

#define __IGOR_BIT_17__   0x00020000

◆ __IGOR_BIT_18__

#define __IGOR_BIT_18__   0x00040000

◆ __IGOR_BIT_19__

#define __IGOR_BIT_19__   0x00080000

◆ __IGOR_BIT_1__

#define __IGOR_BIT_1__   0x00000002

◆ __IGOR_BIT_20__

#define __IGOR_BIT_20__   0x00100000

◆ __IGOR_BIT_21__

#define __IGOR_BIT_21__   0x00200000

◆ __IGOR_BIT_22__

#define __IGOR_BIT_22__   0x00400000

◆ __IGOR_BIT_23__

#define __IGOR_BIT_23__   0x00800000

◆ __IGOR_BIT_24__

#define __IGOR_BIT_24__   0x01000000

◆ __IGOR_BIT_25__

#define __IGOR_BIT_25__   0x02000000

◆ __IGOR_BIT_26__

#define __IGOR_BIT_26__   0x04000000

◆ __IGOR_BIT_27__

#define __IGOR_BIT_27__   0x08000000

◆ __IGOR_BIT_28__

#define __IGOR_BIT_28__   0x10000000

◆ __IGOR_BIT_29__

#define __IGOR_BIT_29__   0x20000000

◆ __IGOR_BIT_2__

#define __IGOR_BIT_2__   0x00000004

◆ __IGOR_BIT_30__

#define __IGOR_BIT_30__   0x40000000

◆ __IGOR_BIT_31__

#define __IGOR_BIT_31__   0x80000000

◆ __IGOR_BIT_3__

#define __IGOR_BIT_3__   0x00000008

◆ __IGOR_BIT_4__

#define __IGOR_BIT_4__   0x00000010

◆ __IGOR_BIT_5__

#define __IGOR_BIT_5__   0x00000020

◆ __IGOR_BIT_6__

#define __IGOR_BIT_6__   0x00000040

◆ __IGOR_BIT_7__

#define __IGOR_BIT_7__   0x00000080

◆ __IGOR_BIT_8__

#define __IGOR_BIT_8__   0x00000100

◆ __IGOR_BIT_9__

#define __IGOR_BIT_9__   0x00000200

◆ __IGOR_FILE_LINE__

#define __IGOR_FILE_LINE__   __FILE__ ":" S2(__LINE__)

◆ IGOR_BASE_LENGHT

#define IGOR_BASE_LENGHT   IGOR_METER

base length

◆ IGOR_BASE_TIME

#define IGOR_BASE_TIME   IGOR_MILLISECOND

base time

◆ IGOR_BASE_WEIGHT

#define IGOR_BASE_WEIGHT   IGOR_KILO

base weight

◆ IGOR_CDECL

#define IGOR_CDECL   cdecl

◆ IGOR_CENTIMETER

#define IGOR_CENTIMETER   0.01

definition of centimeter

◆ IGOR_DECIMETER

#define IGOR_DECIMETER   0.1

definition of decimeter

◆ IGOR_DEFAULTCALL

#define IGOR_DEFAULTCALL   IGOR_CDECL

◆ IGOR_EARTH_GRAVITY

#define IGOR_EARTH_GRAVITY   9.81

default gravity in m/s

Examples
Physics/src/PhysicsExample.cpp.

◆ IGOR_GRAD2RAD

#define IGOR_GRAD2RAD   M_PI/180.0

◆ IGOR_GRAM

#define IGOR_GRAM   0.001

definitions of gram

◆ IGOR_INVALID_ID

#define IGOR_INVALID_ID   0

◆ IGOR_KILO

#define IGOR_KILO   1.0

definitions of kilogram

◆ IGOR_KILOMETER

#define IGOR_KILOMETER   1000.0

definition of kilometer

◆ IGOR_METER

#define IGOR_METER   1.0

definition of one meter

◆ IGOR_MILLIMETER

#define IGOR_MILLIMETER   0.001

definition of millimeter

◆ IGOR_MILLISECOND

#define IGOR_MILLISECOND   1.0

definition of millisecond

◆ IGOR_MINUTE

#define IGOR_MINUTE   60000.0

definition of minute

◆ IGOR_PATHSEPARATOR_LINUX

#define IGOR_PATHSEPARATOR_LINUX   '/'

◆ IGOR_PATHSEPARATOR_WINDOWS

#define IGOR_PATHSEPARATOR_WINDOWS   '\\'

◆ IGOR_RAD2GRAD

#define IGOR_RAD2GRAD   180.0/M_PI

◆ IGOR_SECOND

#define IGOR_SECOND   1000.0

definition of second

◆ IGOR_STDCALL

#define IGOR_STDCALL   stdcall

◆ IGOR_TAB

#define IGOR_TAB   L" "

igor tab definition

◆ IGOR_TON

#define IGOR_TON   1000.0

definitions of ton

◆ M_1_PI

#define M_1_PI   0.318309886183790671538

◆ M_2_PI

#define M_2_PI   0.636619772367581343076

◆ M_2_SQRTPI

#define M_2_SQRTPI   1.12837916709551257390

◆ M_E

#define M_E   2.71828182845904523536

◆ M_LN10

#define M_LN10   2.30258509299404568402

◆ M_LN2

#define M_LN2   0.693147180559945309417

◆ M_LOG10E

#define M_LOG10E   0.434294481903251827651

◆ M_LOG2E

#define M_LOG2E   1.44269504088896340736

◆ M_PI

#define M_PI   3.14159265358979323846

◆ M_PI_2

#define M_PI_2   1.57079632679489661923

◆ M_PI_4

#define M_PI_4   0.785398163397448309616

◆ M_SQRT1_2

#define M_SQRT1_2   0.707106781186547524401

◆ M_SQRT2

#define M_SQRT2   1.41421356237309504880

◆ S1

#define S1 (   x)    #x

◆ S2

#define S2 (   x)    S1(x)

◆ STR

#define STR (   x)    STR2(x)

an other helper macro to handle strings in macros

◆ STR2

#define STR2 (   x)    #x

helper macro to handle strings in macros

Typedef Documentation

◆ float32

typedef float float32

◆ float64

typedef double float64

◆ iaID32

typedef uint32 iaID32

◆ iaID64

typedef uint64 iaID64

◆ int16

typedef int16_t int16

◆ int32

typedef int32_t int32

◆ int64

typedef int64_t int64

◆ int8

typedef int8_t int8

◆ uint16

typedef uint16_t uint16

◆ uint32

typedef uint32_t uint32

◆ uint64

typedef uint64_t uint64

◆ uint8

typedef uint8_t uint8