Path Tracer
Classes | Macros | Typedefs | Enumerations
types.h File Reference
#include <limits.h>
#include <stddef.h>
#include <stdint.h>
#include <string.h>
#include <sys/types.h>
#include <assimp/defs.h>
#include <assimp/vector2.h>
#include <assimp/vector3.h>
#include <assimp/color4.h>
#include <assimp/matrix3x3.h>
#include <assimp/matrix4x4.h>
#include <assimp/quaternion.h>

Go to the source code of this file.

Classes

struct  aiPlane
 
struct  aiRay
 
struct  aiColor3D
 
struct  aiString
 
struct  aiMemoryInfo
 

Macros

#define AI_TYPES_H_INC
 
#define MAXLEN   1024
 

Typedefs

typedef int32_t ai_int32
 
typedef uint32_t ai_uint32
 
typedef enum aiReturn aiReturn
 

Enumerations

enum  aiReturn { aiReturn_SUCCESS = 0x0, aiReturn_FAILURE = -0x1, aiReturn_OUTOFMEMORY = -0x3 }
 
enum  aiOrigin { aiOrigin_SET = 0x0, aiOrigin_CUR = 0x1, aiOrigin_END = 0x2 }
 
enum  aiDefaultLogStream { aiDefaultLogStream_FILE = 0x1, aiDefaultLogStream_STDOUT = 0x2, aiDefaultLogStream_STDERR = 0x4, aiDefaultLogStream_DEBUGGER = 0x8 }
 Enumerates predefined log streaming destinations. Logging to these streams can be enabled with a single call to #LogStream::createDefaultStream. More...
 

Detailed Description

Basic data types and primitives, such as vectors or colors.

Macro Definition Documentation

◆ MAXLEN

#define MAXLEN   1024

Maximum dimension for strings, ASSIMP strings are zero terminated.

Typedef Documentation

◆ aiReturn

typedef enum aiReturn aiReturn

Standard return type for some library functions. Rarely used, and if, mostly in the C API.

Enumeration Type Documentation

◆ aiDefaultLogStream

Enumerates predefined log streaming destinations. Logging to these streams can be enabled with a single call to #LogStream::createDefaultStream.

Enumerator
aiDefaultLogStream_FILE 

Stream the log to a file

aiDefaultLogStream_STDOUT 

Stream the log to std::cout

aiDefaultLogStream_STDERR 

Stream the log to std::cerr

aiDefaultLogStream_DEBUGGER 

MSVC only: Stream the log the the debugger (this relies on OutputDebugString from the Win32 SDK)

◆ aiOrigin

enum aiOrigin

Seek origins (for the virtual file system API). Much cooler than using SEEK_SET, SEEK_CUR or SEEK_END.

Enumerator
aiOrigin_SET 

Beginning of the file

aiOrigin_CUR 

Current position of the file pointer

aiOrigin_END 

End of the file, offsets must be negative

◆ aiReturn

enum aiReturn

Standard return type for some library functions. Rarely used, and if, mostly in the C API.

Enumerator
aiReturn_SUCCESS 

Indicates that a function was successful

aiReturn_FAILURE 

Indicates that a function failed

aiReturn_OUTOFMEMORY 

Indicates that not enough memory was available to perform the requested operation