3D Human Airway Tree
Program generuje ludzkie drzewo oskrzelowe
AlgorithmConstData.h
Idź do dokumentacji tego pliku.
1 /*=========================================================================
2 
3  Program: 3D Human Airway Tree
4  Module: AlgorithmConstData.h
5 
6  Copyright (c) Kacper Pluta <kacperp@wsinf.edu.pl>
7  All rights reserved.
8  See Copyright.txt or http://leo.wsinf.edu.pl/~kacperp/3dtree for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
15 
16 #ifndef ALGORITHCONSTDATA_H
17 #define ALGORITHCONSTDATA_H
18 
22 #define QC 1.0
23 
24 //#define MAX_DIAMETER 26.0
25 #define MAX_DIAMETER 18.0
26 
27 
28 
29 extern int SmallBranchCount;
30 
32 #define FLOW_P 2.8
33 
35 #define MAX_F_RATIO 0.5
36 
38 #define MIN_F_RATIO 0.05
39 
40 #define ERROR_F_RATIO 0.0
41 
43 #define LENGTH_RATIO 3.0
44 
46 #define SHAPE_RES 15
47 
49 #define MAX_THREAD 1
50 
51 #ifdef __unix
52 #define OUT_PGM "/tmp/_out.pgm"
53 #define FRM_PGM "/tmp/_frame.pgm"
54 #define TMP_MHD "/tmp/_tmp.mhd"
55 #define TMP_RAW "/tmp/_tmp.raw"
56 #define PREPARE_RAW "/tmp/_prepare.raw"
57 #define PREPARE_MHD "/tmp/_prepare.mhd"
58 #endif
59 #ifdef WINNT
60 #define OUT_PGM "%Windows%\Temp\_out.pgm"
61 #define FRM_PGM "%Windows%\Temp\_frame.pgm"
62 #define TMP_MHD "%Windows%\Temp\_tmp.mhd"
63 #define TMP_RAW "%Windows%\Temp\_tmp.raw"
64 #endif
65 
66 
67 #endif // ALGORITHCONSTDATA_H