Tissue Forge C++ 0.2.1
Interactive, particle-based physics, chemistry and biology modeling and simulation environment
Loading...
Searching...
No Matches
tf_types.h
Go to the documentation of this file.
1/*******************************************************************************
2 * This file is part of Tissue Forge.
3 * Copyright (c) 2022-2024 T.J. Sego
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU Lesser General Public License as published
7 * by the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 *
18 ******************************************************************************/
19
25#ifndef _SOURCE_TYPES_TF_TYPES_H_
26#define _SOURCE_TYPES_TF_TYPES_H_
27
28#include <tf_config.h>
29
30#include "tfVector.h"
31#include "tfVector2.h"
32#include "tfVector3.h"
33#include "tfVector4.h"
34#include "tfMatrix.h"
35#include "tfMatrix3.h"
36#include "tfMatrix4.h"
37#include "tfQuaternion.h"
38
39
40namespace TissueForge {
41
42
43 typedef types::TVector2<double> dVector2;
44 typedef types::TVector3<double> dVector3;
45 typedef types::TVector4<double> dVector4;
46
47 typedef types::TVector2<float> fVector2;
48 typedef types::TVector3<float> fVector3;
49 typedef types::TVector4<float> fVector4;
50
51 typedef types::TVector2<FloatP_t> FVector2;
52 typedef types::TVector3<FloatP_t> FVector3;
53 typedef types::TVector4<FloatP_t> FVector4;
54
55 typedef types::TVector2<int> iVector2;
56 typedef types::TVector3<int> iVector3;
57 typedef types::TVector4<int> iVector4;
58
59 typedef types::TVector2<unsigned int> uiVector2;
60 typedef types::TVector3<unsigned int> uiVector3;
61 typedef types::TVector4<unsigned int> uiVector4;
62
63 typedef types::TMatrix3<double> dMatrix3;
64 typedef types::TMatrix4<double> dMatrix4;
65
66 typedef types::TMatrix3<float> fMatrix3;
67 typedef types::TMatrix4<float> fMatrix4;
68
69 typedef types::TMatrix3<FloatP_t> FMatrix3;
70 typedef types::TMatrix4<FloatP_t> FMatrix4;
71
72 typedef types::TQuaternion<double> dQuaternion;
73 typedef types::TQuaternion<float> fQuaternion;
74 typedef types::TQuaternion<FloatP_t> FQuaternion;
75
76};
77
78#endif // _SOURCE_TYPES_TF_TYPES_H_
Include Python header, disable linking to pythonX_d.lib on Windows in debug mode.
Definition tfAngleConfig.h:26