/
pch.h
68 lines (62 loc) · 1.88 KB
/
pch.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#include <algorithm>
#include <numeric>
#include <map>
#include <set>
#include <vector>
#include <deque>
#include <memory>
#include <thread>
#include <mutex>
#include <condition_variable>
#include <future>
#include <functional>
#include <limits>
#include <sstream>
#include <fstream>
#include <type_traits>
#include <locale>
#include <codecvt>
#include <Alembic/AbcCoreAbstract/All.h>
#include <Alembic/AbcCoreHDF5/All.h>
#include <Alembic/AbcCoreOgawa/All.h>
#include <Alembic/Abc/ErrorHandler.h>
#include <Alembic/AbcGeom/All.h>
#include <Alembic/AbcMaterial/All.h>
#define abciImpl
#if defined(aiDebug)
void aiLogPrint(const char* fmt, ...);
void aiLogPrint(const wchar_t* fmt, ...);
#define DebugLog(...) aiLogPrint("abci Log: " __VA_ARGS__)
#define DebugWarning(...) aiLogPrint("abci Warning: " __VA_ARGS__)
#define DebugError(...) aiLogPrint("abci Error: " __VA_ARGS__)
#define DebugLogW(...) aiLogPrint(L"abci Log: " __VA_ARGS__)
#define DebugWarningW(...) aiLogPrint(L"abci Warning: " __VA_ARGS__)
#define DebugErrorW(...) aiLogPrint(L"abci Error: " __VA_ARGS__)
#else
#define DebugLog(...)
#define DebugWarning(...)
#define DebugError(...)
#define DebugLogW(...)
#define DebugWarningW(...)
#define DebugErrorW(...)
#endif
#ifdef _WIN32
#define NOMINMAX
#include <windows.h>
#include <ppl.h>
#pragma warning(disable: 4996)
#pragma warning(disable: 4190)
#endif // _WIN32
using namespace Alembic;
#define aiPI 3.14159265f
using abcV2 = Imath::V2f;
using abcV3 = Imath::V3f;
using abcV3d = Imath::V3d;
using abcV4 = Imath::V4f;
using abcC4 = Imath::C4f;
using abcM44 = Imath::M44f;
using abcM44d = Imath::M44d;
using abcBox = Imath::Box3f;
using abcBoxd = Imath::Box3d;
using abcChrono = Abc::chrono_t;
using abcSampleSelector = Abc::ISampleSelector;