Debian Codegraph @

src/python/PyImath/PyImath.h

raw
1 //
2 // SPDX-License-Identifier: BSD-3-Clause
3 // Copyright Contributors to the OpenEXR Project.
4 //
5
6 // clang-format off
7
8 #ifndef _PyImath_h_
9 #define _PyImath_h_
10
11 #include <ImathVec.h>
12 #include <ImathQuat.h>
13 #include <PyImathAPI.h>
14 #include "PyImathFixedArray.h"
15 #include "PyImathFixedMatrix.h"
16 #include "PyImathFixedArray2D.h"
17 #include "PyImathFixedVArray.h"
18
19 namespace PyImath {
20
21 typedef FixedArray<bool> BoolArray;
22 typedef FixedArray<signed char> SignedCharArray;
23 typedef FixedArray<unsigned char> UnsignedCharArray;
24 typedef FixedArray<short> ShortArray;
25 typedef FixedArray<unsigned short> UnsignedShortArray;
26 typedef FixedArray<int> IntArray;
27 typedef FixedArray<unsigned int> UnsignedIntArray;
28 typedef FixedArray<float> FloatArray;
29 typedef FixedArray<double> DoubleArray;
30
31 typedef FixedArray<IMATH_NAMESPACE::Quatf> QuatfArray;
32 typedef FixedArray<IMATH_NAMESPACE::Quatd> QuatdArray;
33
34 typedef FixedMatrix<int> IntMatrix;
35 typedef FixedMatrix<float> FloatMatrix;
36 typedef FixedMatrix<double> DoubleMatrix;
37
38 typedef FixedArray2D<float> FloatArray2D;
39 typedef FixedArray2D<int> IntArray2D;
40 typedef FixedArray2D<double> DoubleArray2D;
41
42 typedef FixedVArray<int> VIntArray;
43 typedef FixedVArray<float> VFloatArray;
44 typedef FixedVArray<Imath::Vec2<int> > VV2iArray;
45 typedef FixedVArray<Imath::Vec2<float> > VV2fArray;
46
47 }
48
49 #endif