FBX C++ API Reference
fbxtypes.h File Reference

File Description

Basic types definition.

Standard basic types used across the FBX SDK. There is also platform independent definitions that guarantee size across operating systems. The FBXSDK_SYSTEM_IS_LP64 define is set to 1 when the operating system defines the "long" C++ type as 64-bit.

Definition in file fbxtypes.h.

Classes

class  FbxVectorTemplate2< T >
 
class  FbxVectorTemplate3< T >
 
class  FbxVectorTemplate4< T >
 

Macros

#define FBXSDK_LONGLONG(x)   (x##LL)
 
#define FBXSDK_ULONGLONG(x)   (x##ULL)
 
#define FBXSDK_CHAR_MIN   -128
 
#define FBXSDK_CHAR_MAX   127
 
#define FBXSDK_UCHAR_MIN   0
 
#define FBXSDK_UCHAR_MAX   255
 
#define FBXSDK_SHORT_MIN   -32768
 
#define FBXSDK_SHORT_MAX   32767
 
#define FBXSDK_USHORT_MIN   0
 
#define FBXSDK_USHORT_MAX   65535
 
#define FBXSDK_INT_MIN   0x80000000
 
#define FBXSDK_INT_MAX   0x7fffffff
 
#define FBXSDK_UINT_MIN   0
 
#define FBXSDK_UINT_MAX   0xffffffff
 
#define FBXSDK_LONG_MIN   FBXSDK_INT_MIN
 
#define FBXSDK_LONG_MAX   FBXSDK_INT_MAX
 
#define FBXSDK_ULONG_MIN   FBXSDK_UINT_MIN
 
#define FBXSDK_ULONG_MAX   FBXSDK_UINT_MAX
 
#define FBXSDK_LONGLONG_MIN   FBXSDK_LONGLONG(0x8000000000000000)
 
#define FBXSDK_LONGLONG_MAX   FBXSDK_LONGLONG(0x7fffffffffffffff)
 
#define FBXSDK_ULONGLONG_MIN   FBXSDK_ULONGLONG(0)
 
#define FBXSDK_ULONGLONG_MAX   FBXSDK_ULONGLONG(0xffffffffffffffff)
 
#define FBXSDK_FLOAT_MIN   FLT_MIN
 
#define FBXSDK_FLOAT_MAX   FLT_MAX
 
#define FBXSDK_FLOAT_EPSILON   FLT_EPSILON
 
#define FBXSDK_DOUBLE_MIN   DBL_MIN
 
#define FBXSDK_DOUBLE_MAX   DBL_MAX
 
#define FBXSDK_DOUBLE_EPSILON   DBL_EPSILON
 
#define FBXSDK_TOLERANCE   (1.0e-6)
 

Typedefs

typedef bool FbxBool
 
typedef signed char FbxChar
 
typedef unsigned char FbxUChar
 
typedef signed short FbxShort
 
typedef unsigned short FbxUShort
 
typedef signed int FbxInt
 
typedef unsigned int FbxUInt
 
typedef float FbxFloat
 
typedef double FbxDouble
 
typedef FbxBoolFbxBoolPtr
 
typedef FbxCharFbxCharPtr
 
typedef FbxUCharFbxUCharPtr
 
typedef FbxShortFbxShortPtr
 
typedef FbxUShortFbxUShortPtr
 
typedef FbxIntFbxIntPtr
 
typedef FbxUIntFbxUIntPtr
 
typedef FbxFloatFbxFloatPtr
 
typedef FbxDoubleFbxDoublePtr
 
typedef FbxInt FbxEnum
 
typedef FbxObjectFbxReference
 
typedef signed char FbxInt8
 
typedef unsigned char FbxUInt8
 
typedef signed short FbxInt16
 
typedef unsigned short FbxUInt16
 
typedef signed int FbxInt32
 
typedef unsigned int FbxUInt32
 
typedef signed long long FbxInt64
 
typedef unsigned long long FbxUInt64
 
typedef signed long FbxLong
 
typedef unsigned long FbxULong
 
typedef FbxInt64 FbxLongLong
 
typedef FbxUInt64 FbxULongLong
 
typedef FbxLongFbxLongPtr
 
typedef FbxULongFbxULongPtr
 
typedef FbxLongLongFbxLongLongPtr
 
typedef FbxULongLongFbxULongLongPtr
 
typedef FbxVectorTemplate2< FbxDoubleFbxDouble2
 
typedef FbxVectorTemplate3< FbxDoubleFbxDouble3
 
typedef FbxVectorTemplate4< FbxDoubleFbxDouble4
 
typedef FbxVectorTemplate4< FbxDouble4FbxDouble4x4
 

Functions

const FbxChar FbxMin (const FbxChar)
 
const FbxUChar FbxMin (const FbxUChar)
 
const FbxShort FbxMin (const FbxShort)
 
const FbxUShort FbxMin (const FbxUShort)
 
const FbxInt FbxMin (const FbxInt)
 
const FbxUInt FbxMin (const FbxUInt)
 
const FbxLongLong FbxMin (const FbxLongLong)
 
const FbxULongLong FbxMin (const FbxULongLong)
 
const FbxFloat FbxMin (const FbxFloat)
 
const FbxDouble FbxMin (const FbxDouble)
 
const FbxChar FbxMax (const FbxChar)
 
const FbxUChar FbxMax (const FbxUChar)
 
const FbxShort FbxMax (const FbxShort)
 
const FbxUShort FbxMax (const FbxUShort)
 
const FbxInt FbxMax (const FbxInt)
 
const FbxUInt FbxMax (const FbxUInt)
 
const FbxLongLong FbxMax (const FbxLongLong)
 
const FbxULongLong FbxMax (const FbxULongLong)
 
const FbxFloat FbxMax (const FbxFloat)
 
const FbxDouble FbxMax (const FbxDouble)
 
const FbxLong FbxMin (const FbxLong)
 
const FbxULong FbxMin (const FbxULong)
 
const FbxLong FbxMax (const FbxLong)
 
const FbxULong FbxMax (const FbxULong)
 
template<class T >
const T FbxMin (const T)
 
template<class T >
const T FbxMax (const T)
 
template<class T >
FbxMin (const T x, const T y)
 
template<class T >
FbxMax (const T x, const T y)
 

Macro Definition Documentation

◆ FBXSDK_LONGLONG

#define FBXSDK_LONGLONG (   x)    (x##LL)

Definition at line 72 of file fbxtypes.h.

◆ FBXSDK_ULONGLONG

#define FBXSDK_ULONGLONG (   x)    (x##ULL)

Definition at line 73 of file fbxtypes.h.

◆ FBXSDK_CHAR_MIN

#define FBXSDK_CHAR_MIN   -128

Definition at line 110 of file fbxtypes.h.

◆ FBXSDK_CHAR_MAX

#define FBXSDK_CHAR_MAX   127

Definition at line 111 of file fbxtypes.h.

◆ FBXSDK_UCHAR_MIN

#define FBXSDK_UCHAR_MIN   0

Definition at line 112 of file fbxtypes.h.

◆ FBXSDK_UCHAR_MAX

#define FBXSDK_UCHAR_MAX   255

Definition at line 113 of file fbxtypes.h.

◆ FBXSDK_SHORT_MIN

#define FBXSDK_SHORT_MIN   -32768

Definition at line 114 of file fbxtypes.h.

◆ FBXSDK_SHORT_MAX

#define FBXSDK_SHORT_MAX   32767

Definition at line 115 of file fbxtypes.h.

◆ FBXSDK_USHORT_MIN

#define FBXSDK_USHORT_MIN   0

Definition at line 116 of file fbxtypes.h.

◆ FBXSDK_USHORT_MAX

#define FBXSDK_USHORT_MAX   65535

Definition at line 117 of file fbxtypes.h.

◆ FBXSDK_INT_MIN

#define FBXSDK_INT_MIN   0x80000000

Definition at line 118 of file fbxtypes.h.

◆ FBXSDK_INT_MAX

#define FBXSDK_INT_MAX   0x7fffffff

Definition at line 119 of file fbxtypes.h.

◆ FBXSDK_UINT_MIN

#define FBXSDK_UINT_MIN   0

Definition at line 120 of file fbxtypes.h.

◆ FBXSDK_UINT_MAX

#define FBXSDK_UINT_MAX   0xffffffff

Definition at line 121 of file fbxtypes.h.

◆ FBXSDK_LONG_MIN

#define FBXSDK_LONG_MIN   FBXSDK_INT_MIN

Definition at line 122 of file fbxtypes.h.

◆ FBXSDK_LONG_MAX

#define FBXSDK_LONG_MAX   FBXSDK_INT_MAX

Definition at line 123 of file fbxtypes.h.

◆ FBXSDK_ULONG_MIN

#define FBXSDK_ULONG_MIN   FBXSDK_UINT_MIN

Definition at line 124 of file fbxtypes.h.

◆ FBXSDK_ULONG_MAX

#define FBXSDK_ULONG_MAX   FBXSDK_UINT_MAX

Definition at line 125 of file fbxtypes.h.

◆ FBXSDK_LONGLONG_MIN

#define FBXSDK_LONGLONG_MIN   FBXSDK_LONGLONG(0x8000000000000000)

Definition at line 126 of file fbxtypes.h.

◆ FBXSDK_LONGLONG_MAX

#define FBXSDK_LONGLONG_MAX   FBXSDK_LONGLONG(0x7fffffffffffffff)

Definition at line 127 of file fbxtypes.h.

◆ FBXSDK_ULONGLONG_MIN

#define FBXSDK_ULONGLONG_MIN   FBXSDK_ULONGLONG(0)

Definition at line 128 of file fbxtypes.h.

◆ FBXSDK_ULONGLONG_MAX

#define FBXSDK_ULONGLONG_MAX   FBXSDK_ULONGLONG(0xffffffffffffffff)

Definition at line 129 of file fbxtypes.h.

◆ FBXSDK_FLOAT_MIN

#define FBXSDK_FLOAT_MIN   FLT_MIN

Definition at line 130 of file fbxtypes.h.

◆ FBXSDK_FLOAT_MAX

#define FBXSDK_FLOAT_MAX   FLT_MAX

Definition at line 131 of file fbxtypes.h.

◆ FBXSDK_FLOAT_EPSILON

#define FBXSDK_FLOAT_EPSILON   FLT_EPSILON

Definition at line 132 of file fbxtypes.h.

◆ FBXSDK_DOUBLE_MIN

#define FBXSDK_DOUBLE_MIN   DBL_MIN

Definition at line 133 of file fbxtypes.h.

◆ FBXSDK_DOUBLE_MAX

#define FBXSDK_DOUBLE_MAX   DBL_MAX

Definition at line 134 of file fbxtypes.h.

◆ FBXSDK_DOUBLE_EPSILON

#define FBXSDK_DOUBLE_EPSILON   DBL_EPSILON

Definition at line 135 of file fbxtypes.h.

◆ FBXSDK_TOLERANCE

#define FBXSDK_TOLERANCE   (1.0e-6)

Definition at line 136 of file fbxtypes.h.

Typedef Documentation

◆ FbxBool

typedef bool FbxBool

Definition at line 32 of file fbxtypes.h.

◆ FbxChar

typedef signed char FbxChar

Definition at line 35 of file fbxtypes.h.

◆ FbxUChar

typedef unsigned char FbxUChar

Definition at line 36 of file fbxtypes.h.

◆ FbxShort

typedef signed short FbxShort

Definition at line 37 of file fbxtypes.h.

◆ FbxUShort

typedef unsigned short FbxUShort
Examples:
ImportScene/DisplayAnimation.cxx.

Definition at line 38 of file fbxtypes.h.

◆ FbxInt

typedef signed int FbxInt

Definition at line 39 of file fbxtypes.h.

◆ FbxUInt

typedef unsigned int FbxUInt

Definition at line 40 of file fbxtypes.h.

◆ FbxFloat

typedef float FbxFloat

Definition at line 41 of file fbxtypes.h.

◆ FbxDouble

typedef double FbxDouble

Definition at line 42 of file fbxtypes.h.

◆ FbxBoolPtr

typedef FbxBool* FbxBoolPtr

Definition at line 44 of file fbxtypes.h.

◆ FbxCharPtr

typedef FbxChar* FbxCharPtr

Definition at line 45 of file fbxtypes.h.

◆ FbxUCharPtr

Definition at line 46 of file fbxtypes.h.

◆ FbxShortPtr

Definition at line 47 of file fbxtypes.h.

◆ FbxUShortPtr

Definition at line 48 of file fbxtypes.h.

◆ FbxIntPtr

typedef FbxInt* FbxIntPtr

Definition at line 49 of file fbxtypes.h.

◆ FbxUIntPtr

typedef FbxUInt* FbxUIntPtr

Definition at line 50 of file fbxtypes.h.

◆ FbxFloatPtr

Definition at line 51 of file fbxtypes.h.

◆ FbxDoublePtr

Definition at line 52 of file fbxtypes.h.

◆ FbxEnum

typedef FbxInt FbxEnum

Definition at line 54 of file fbxtypes.h.

◆ FbxReference

Definition at line 55 of file fbxtypes.h.

◆ FbxInt8

typedef signed char FbxInt8

Definition at line 75 of file fbxtypes.h.

◆ FbxUInt8

typedef unsigned char FbxUInt8

Definition at line 76 of file fbxtypes.h.

◆ FbxInt16

typedef signed short FbxInt16

Definition at line 77 of file fbxtypes.h.

◆ FbxUInt16

typedef unsigned short FbxUInt16

Definition at line 78 of file fbxtypes.h.

◆ FbxInt32

typedef signed int FbxInt32

Definition at line 79 of file fbxtypes.h.

◆ FbxUInt32

typedef unsigned int FbxUInt32

Definition at line 80 of file fbxtypes.h.

◆ FbxInt64

typedef signed long long FbxInt64

Definition at line 81 of file fbxtypes.h.

◆ FbxUInt64

typedef unsigned long long FbxUInt64

Definition at line 82 of file fbxtypes.h.

◆ FbxLong

typedef signed long FbxLong

Definition at line 89 of file fbxtypes.h.

◆ FbxULong

typedef unsigned long FbxULong

Definition at line 90 of file fbxtypes.h.

◆ FbxLongLong

Definition at line 92 of file fbxtypes.h.

◆ FbxULongLong

Definition at line 93 of file fbxtypes.h.

◆ FbxLongPtr

typedef FbxLong* FbxLongPtr

Definition at line 95 of file fbxtypes.h.

◆ FbxULongPtr

Definition at line 96 of file fbxtypes.h.

◆ FbxLongLongPtr

Definition at line 97 of file fbxtypes.h.

◆ FbxULongLongPtr

Definition at line 98 of file fbxtypes.h.

◆ FbxDouble2

Definition at line 257 of file fbxtypes.h.

◆ FbxDouble3

◆ FbxDouble4

Definition at line 259 of file fbxtypes.h.

◆ FbxDouble4x4

Definition at line 260 of file fbxtypes.h.

Function Documentation

◆ FbxMin() [1/14]

const FbxChar FbxMin ( const FbxChar  )
inline

Definition at line 162 of file fbxtypes.h.

162 { return FBXSDK_CHAR_MIN; }
#define FBXSDK_CHAR_MIN
Definition: fbxtypes.h:110

◆ FbxMin() [2/14]

const FbxUChar FbxMin ( const FbxUChar  )
inline

Definition at line 163 of file fbxtypes.h.

163 { return FBXSDK_UCHAR_MIN; }
#define FBXSDK_UCHAR_MIN
Definition: fbxtypes.h:112

◆ FbxMin() [3/14]

const FbxShort FbxMin ( const FbxShort  )
inline

Definition at line 164 of file fbxtypes.h.

164 { return FBXSDK_SHORT_MIN; }
#define FBXSDK_SHORT_MIN
Definition: fbxtypes.h:114

◆ FbxMin() [4/14]

const FbxUShort FbxMin ( const FbxUShort  )
inline

Definition at line 165 of file fbxtypes.h.

165 { return FBXSDK_USHORT_MIN; }
#define FBXSDK_USHORT_MIN
Definition: fbxtypes.h:116

◆ FbxMin() [5/14]

const FbxInt FbxMin ( const FbxInt  )
inline

Definition at line 166 of file fbxtypes.h.

166 { return FBXSDK_INT_MIN; }
#define FBXSDK_INT_MIN
Definition: fbxtypes.h:118

◆ FbxMin() [6/14]

const FbxUInt FbxMin ( const FbxUInt  )
inline

Definition at line 167 of file fbxtypes.h.

167 { return FBXSDK_UINT_MIN; }
#define FBXSDK_UINT_MIN
Definition: fbxtypes.h:120

◆ FbxMin() [7/14]

const FbxLongLong FbxMin ( const FbxLongLong  )
inline

Definition at line 168 of file fbxtypes.h.

168 { return FBXSDK_LONGLONG_MIN; }
#define FBXSDK_LONGLONG_MIN
Definition: fbxtypes.h:126

◆ FbxMin() [8/14]

const FbxULongLong FbxMin ( const FbxULongLong  )
inline

Definition at line 169 of file fbxtypes.h.

169 { return FBXSDK_ULONGLONG_MIN; }
#define FBXSDK_ULONGLONG_MIN
Definition: fbxtypes.h:128

◆ FbxMin() [9/14]

const FbxFloat FbxMin ( const FbxFloat  )
inline

Definition at line 170 of file fbxtypes.h.

170 { return FBXSDK_FLOAT_MIN; }
#define FBXSDK_FLOAT_MIN
Definition: fbxtypes.h:130

◆ FbxMin() [10/14]

const FbxDouble FbxMin ( const FbxDouble  )
inline

Definition at line 171 of file fbxtypes.h.

171 { return FBXSDK_DOUBLE_MIN; }
#define FBXSDK_DOUBLE_MIN
Definition: fbxtypes.h:133

◆ FbxMax() [1/14]

const FbxChar FbxMax ( const FbxChar  )
inline

Definition at line 173 of file fbxtypes.h.

173 { return FBXSDK_CHAR_MAX; }
#define FBXSDK_CHAR_MAX
Definition: fbxtypes.h:111

◆ FbxMax() [2/14]

const FbxUChar FbxMax ( const FbxUChar  )
inline

Definition at line 174 of file fbxtypes.h.

174 { return FBXSDK_UCHAR_MAX; }
#define FBXSDK_UCHAR_MAX
Definition: fbxtypes.h:113

◆ FbxMax() [3/14]

const FbxShort FbxMax ( const FbxShort  )
inline

Definition at line 175 of file fbxtypes.h.

175 { return FBXSDK_SHORT_MAX; }
#define FBXSDK_SHORT_MAX
Definition: fbxtypes.h:115

◆ FbxMax() [4/14]

const FbxUShort FbxMax ( const FbxUShort  )
inline

Definition at line 176 of file fbxtypes.h.

176 { return FBXSDK_USHORT_MAX; }
#define FBXSDK_USHORT_MAX
Definition: fbxtypes.h:117

◆ FbxMax() [5/14]

const FbxInt FbxMax ( const FbxInt  )
inline

Definition at line 177 of file fbxtypes.h.

177 { return FBXSDK_INT_MAX; }
#define FBXSDK_INT_MAX
Definition: fbxtypes.h:119

◆ FbxMax() [6/14]

const FbxUInt FbxMax ( const FbxUInt  )
inline

Definition at line 178 of file fbxtypes.h.

178 { return FBXSDK_UINT_MAX; }
#define FBXSDK_UINT_MAX
Definition: fbxtypes.h:121

◆ FbxMax() [7/14]

const FbxLongLong FbxMax ( const FbxLongLong  )
inline

Definition at line 179 of file fbxtypes.h.

179 { return FBXSDK_LONGLONG_MAX; }
#define FBXSDK_LONGLONG_MAX
Definition: fbxtypes.h:127

◆ FbxMax() [8/14]

const FbxULongLong FbxMax ( const FbxULongLong  )
inline

Definition at line 180 of file fbxtypes.h.

180 { return FBXSDK_ULONGLONG_MAX; }
#define FBXSDK_ULONGLONG_MAX
Definition: fbxtypes.h:129

◆ FbxMax() [9/14]

const FbxFloat FbxMax ( const FbxFloat  )
inline

Definition at line 181 of file fbxtypes.h.

181 { return FBXSDK_FLOAT_MAX; }
#define FBXSDK_FLOAT_MAX
Definition: fbxtypes.h:131

◆ FbxMax() [10/14]

const FbxDouble FbxMax ( const FbxDouble  )
inline

Definition at line 182 of file fbxtypes.h.

182 { return FBXSDK_DOUBLE_MAX; }
#define FBXSDK_DOUBLE_MAX
Definition: fbxtypes.h:134

◆ FbxMin() [11/14]

const FbxLong FbxMin ( const FbxLong  )
inline

Definition at line 185 of file fbxtypes.h.

185 { return FBXSDK_LONG_MIN; }
#define FBXSDK_LONG_MIN
Definition: fbxtypes.h:122

◆ FbxMin() [12/14]

const FbxULong FbxMin ( const FbxULong  )
inline

Definition at line 186 of file fbxtypes.h.

186 { return FBXSDK_ULONG_MIN; }
#define FBXSDK_ULONG_MIN
Definition: fbxtypes.h:124

◆ FbxMax() [11/14]

const FbxLong FbxMax ( const FbxLong  )
inline

Definition at line 187 of file fbxtypes.h.

187 { return FBXSDK_LONG_MAX; }
#define FBXSDK_LONG_MAX
Definition: fbxtypes.h:123

◆ FbxMax() [12/14]

const FbxULong FbxMax ( const FbxULong  )
inline

Definition at line 188 of file fbxtypes.h.

188 { return FBXSDK_ULONG_MAX; }
#define FBXSDK_ULONG_MAX
Definition: fbxtypes.h:125

◆ FbxMin() [13/14]

const T FbxMin ( const T  )
inline

Definition at line 191 of file fbxtypes.h.

191 {};

◆ FbxMax() [13/14]

const T FbxMax ( const T  )
inline

Definition at line 192 of file fbxtypes.h.

192 {};

◆ FbxMin() [14/14]

T FbxMin ( const T  x,
const T  y 
)
inline

Definition at line 194 of file fbxtypes.h.

194 { return (x < y) ? x : y; }

◆ FbxMax() [14/14]

T FbxMax ( const T  x,
const T  y 
)
inline

Definition at line 195 of file fbxtypes.h.

195 { return (x > y) ? x : y; }

Go to the source code of this file.