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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>NeL: mrm_parameters.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.6 -->
<div class="qindex"> <form class="search" action="search.php" method="get">
<a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
<h1>mrm_parameters.h</h1><a href="a04641.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001
00007 <span class="comment">/* Copyright, 2001 Nevrax Ltd.</span>
00008 <span class="comment"> *</span>
00009 <span class="comment"> * This file is part of NEVRAX NEL.</span>
00010 <span class="comment"> * NEVRAX NEL is free software; you can redistribute it and/or modify</span>
00011 <span class="comment"> * it under the terms of the GNU General Public License as published by</span>
00012 <span class="comment"> * the Free Software Foundation; either version 2, or (at your option)</span>
00013 <span class="comment"> * any later version.</span>
00014 <span class="comment"></span>
00015 <span class="comment"> * NEVRAX NEL is distributed in the hope that it will be useful, but</span>
00016 <span class="comment"> * WITHOUT ANY WARRANTY; without even the implied warranty of</span>
00017 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span>
00018 <span class="comment"> * General Public License for more details.</span>
00019 <span class="comment"></span>
00020 <span class="comment"> * You should have received a copy of the GNU General Public License</span>
00021 <span class="comment"> * along with NEVRAX NEL; see the file COPYING. If not, write to the</span>
00022 <span class="comment"> * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,</span>
00023 <span class="comment"> * MA 02111-1307, USA.</span>
00024 <span class="comment"> */</span>
00025
00026 <span class="preprocessor">#ifndef NL_MRM_PARAMETERS_H</span>
00027 <span class="preprocessor"></span><span class="preprocessor">#define NL_MRM_PARAMETERS_H</span>
00028 <span class="preprocessor"></span>
00029 <span class="preprocessor">#include "<a class="code" href="a05167.html">nel/misc/types_nl.h</a>"</span>
00030
00031
00032 <span class="keyword">namespace </span>NL3D {
00033
00034
00035 <span class="comment">// ***************************************************************************</span>
<a name="l00042"></a><a class="code" href="a02967.html">00042</a> <span class="comment"></span><span class="keyword">class </span><a class="code" href="a02967.html">CMRMParameters</a>
00043 {
00044 <span class="keyword">public</span>:
<a name="l00049"></a><a class="code" href="a02967.html#NL3D_1_1CMRMParametersw3">00049</a> <span class="keyword">enum</span> <a class="code" href="a02967.html#NL3D_1_1CMRMParametersw3">TSkinReduction</a>
00050 {
00051 <a class="code" href="a02967.html#NL3D_1_1CMRMParametersw3NL3D_1_1CMRMParametersw2">SkinReductionMin</a>=0, <span class="comment">// NbMatrixOut= min(NbMatrixIn1, NbMatrixIn2).</span>
00052 <a class="code" href="a02967.html#NL3D_1_1CMRMParametersw3NL3D_1_1CMRMParametersw1">SkinReductionMax</a>, <span class="comment">// NbMatrixOut= max(NbMatrixIn1, NbMatrixIn2).</span>
00053 <a class="code" href="a02967.html#NL3D_1_1CMRMParametersw3NL3D_1_1CMRMParametersw0">SkinReductionBest</a>, <span class="comment">// NbMatrixOut= min(NbMatrixIn1 "+" NbMatrixIn2, NL3D_MESH_SKINNING_MAX_MATRIX).</span>
00054 };
00055
00056 <span class="keyword">public</span>:
<a name="l00058"></a><a class="code" href="a02967.html#NL3D_1_1CMRMParameterso1">00058</a> <a class="code" href="a04558.html#a11">uint32</a> <a class="code" href="a02967.html#NL3D_1_1CMRMParameterso1">NLods</a>;
<a name="l00060"></a><a class="code" href="a02967.html#NL3D_1_1CMRMParameterso0">00060</a> <a class="code" href="a04558.html#a11">uint32</a> <a class="code" href="a02967.html#NL3D_1_1CMRMParameterso0">Divisor</a>;
<a name="l00062"></a><a class="code" href="a02967.html#NL3D_1_1CMRMParameterso2">00062</a> <a class="code" href="a02967.html#NL3D_1_1CMRMParametersw3">TSkinReduction</a> <a class="code" href="a02967.html#NL3D_1_1CMRMParameterso2">SkinReduction</a>;
00063
00064
00066 <span class="comment">// @{</span>
<a name="l00068"></a><a class="code" href="a02967.html#NL3D_1_1CMRMParametersz568_1">00068</a> <span class="comment"></span> <span class="keywordtype">float</span> DistanceFinest; <span class="comment">// default : 5.</span>
<a name="l00070"></a><a class="code" href="a02967.html#NL3D_1_1CMRMParametersz568_2">00070</a> <span class="comment"></span> <span class="keywordtype">float</span> DistanceMiddle; <span class="comment">// default : 30.</span>
<a name="l00072"></a><a class="code" href="a02967.html#NL3D_1_1CMRMParametersz568_0">00072</a> <span class="comment"></span> <span class="keywordtype">float</span> DistanceCoarsest; <span class="comment">// default : 200.</span>
00073 <span class="comment">// @}</span>
00074
00075
<a name="l00077"></a><a class="code" href="a02967.html#NL3D_1_1CMRMParametersa0">00077</a> <a class="code" href="a02967.html#NL3D_1_1CMRMParametersa0">CMRMParameters</a>()
00078 {
00079 <a class="code" href="a02967.html#NL3D_1_1CMRMParameterso1">NLods</a>= 11;
00080 <a class="code" href="a02967.html#NL3D_1_1CMRMParameterso0">Divisor</a>= 20;
00081 <a class="code" href="a02967.html#NL3D_1_1CMRMParameterso2">SkinReduction</a>= <a class="code" href="a02967.html#NL3D_1_1CMRMParametersw3NL3D_1_1CMRMParametersw1">SkinReductionMax</a>;
00082
00083 DistanceFinest= 5;
00084 DistanceMiddle= 30;
00085 DistanceCoarsest= 200;
00086 }
00087
00088 };
00089
00090
00091 } <span class="comment">// NL3D</span>
00092
00093
00094 <span class="preprocessor">#endif // NL_MRM_PARAMETERS_H</span>
00095 <span class="preprocessor"></span>
00096 <span class="comment">/* End of mrm_parameters.h */</span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 06:29:03 2004 for NeL by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.6 </small></address>
</body>
</html>
|