source: NonGTP/FCollada/Documentation/class_f_m_vector4.html @ 964

Revision 964, 13.3 KB checked in by igarcia, 19 years ago (diff)
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3<title>FCollada: FMVector4 Class Reference</title>
4<link href="doxygen.css" rel="stylesheet" type="text/css">
5<link href="tabs.css" rel="stylesheet" type="text/css">
6</head><body>
7<!-- Generated by Doxygen 1.4.6-NO -->
8<div class="tabs">
9  <ul>
10    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
11    <li><a href="modules.html"><span>Modules</span></a></li>
12    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
13    <li id="current"><a href="classes.html"><span>Classes</span></a></li>
14    <li><a href="files.html"><span>Files</span></a></li>
15    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
16  </ul></div>
17<div class="tabs">
18  <ul>
19    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
20    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
21    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
22    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
23  </ul></div>
24<h1>FMVector4 Class Reference<br>
25<small>
26[<a class="el" href="group___f_math.html">Mathematics Classes.</a>]</small>
27</h1><!-- doxytag: class="FMVector4" -->A 4 dimensional vector. 
28<a href="#_details">More...</a>
29<p>
30<code>#include &lt;<a class="el" href="_f_m_vector4_8h-source.html">FMVector4.h</a>&gt;</code>
31<p>
32<a href="class_f_m_vector4-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
33<tr><td></td></tr>
34<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
35<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3b2cd748408a7afe130fa45c5bec65e4"></a><!-- doxytag: member="FMVector4::FMVector4" ref="3b2cd748408a7afe130fa45c5bec65e4" args="()" -->
36&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_vector4.html#3b2cd748408a7afe130fa45c5bec65e4">FMVector4</a> ()</td></tr>
37
38<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates an empty <a class="el" href="class_f_m_vector4.html">FMVector4</a>. <br></td></tr>
39<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_vector4.html#92d1fce02ac69aba7cf1bc8702a642ed">FMVector4</a> (<a class="el" href="class_f_m_vector3.html">FMVector3</a> v, float _w)</td></tr>
40
41<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates the <a class="el" href="class_f_m_vector4.html">FMVector4</a> with the coordinates given.  <a href="#92d1fce02ac69aba7cf1bc8702a642ed"></a><br></td></tr>
42<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_vector4.html#731d6b58dc88125ecc21ef20111ebc19">FMVector4</a> (float _x, float _y, float _z, float _w)</td></tr>
43
44<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates the <a class="el" href="class_f_m_vector4.html">FMVector4</a> with the coordinates given.  <a href="#731d6b58dc88125ecc21ef20111ebc19"></a><br></td></tr>
45<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_vector4.html#c6f44432afa499a84c2c201de76749a6">operator float *</a> ()</td></tr>
46
47<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get this <a class="el" href="class_f_m_vector4.html">FMVector4</a> as an array of <code>floats</code>.  <a href="#c6f44432afa499a84c2c201de76749a6"></a><br></td></tr>
48<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_vector4.html#756aff49407ca315e21591402fdc66fd">operator const float *</a> () const </td></tr>
49
50<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get this <a class="el" href="class_f_m_vector4.html">FMVector4</a> as an array of <code>floats</code>.  <a href="#756aff49407ca315e21591402fdc66fd"></a><br></td></tr>
51<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
52<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fe5d4e4d762d99547c6c4ba2e2f336db"></a><!-- doxytag: member="FMVector4::x" ref="fe5d4e4d762d99547c6c4ba2e2f336db" args="" -->
53float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_vector4.html#fe5d4e4d762d99547c6c4ba2e2f336db">x</a></td></tr>
54
55<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The first coordinate. <br></td></tr>
56<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="36567c972039925e7ee11faa69ddd5ab"></a><!-- doxytag: member="FMVector4::y" ref="36567c972039925e7ee11faa69ddd5ab" args="" -->
57float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_vector4.html#36567c972039925e7ee11faa69ddd5ab">y</a></td></tr>
58
59<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The second coordinate. <br></td></tr>
60<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a86685f8bdb9b6ce80edd1b4424475b8"></a><!-- doxytag: member="FMVector4::z" ref="a86685f8bdb9b6ce80edd1b4424475b8" args="" -->
61float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_vector4.html#a86685f8bdb9b6ce80edd1b4424475b8">z</a></td></tr>
62
63<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The third coordinate. <br></td></tr>
64<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="38311f6dd1139e792d6fad137572a82a"></a><!-- doxytag: member="FMVector4::w" ref="38311f6dd1139e792d6fad137572a82a" args="" -->
65float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_vector4.html#38311f6dd1139e792d6fad137572a82a">w</a></td></tr>
66
67<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The forth coordinate. <br></td></tr>
68<tr><td colspan="2"><br><h2>Static Public Attributes</h2></td></tr>
69<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="98ad0940dc7826de03de889f947a3ef6"></a><!-- doxytag: member="FMVector4::Zero" ref="98ad0940dc7826de03de889f947a3ef6" args="" -->
70static const <a class="el" href="class_f_m_vector4.html">FMVector4</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_vector4.html#98ad0940dc7826de03de889f947a3ef6">Zero</a></td></tr>
71
72<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The <a class="el" href="class_f_m_vector4.html">FMVector4</a> representing zero. <br></td></tr>
73</table>
74<hr><a name="_details"></a><h2>Detailed Description</h2>
75A 4 dimensional vector.
76<p>
77Not used within <a class="el" href="namespace_f_collada.html">FCollada</a>.
78<p>
79<hr><h2>Constructor &amp; Destructor Documentation</h2>
80<a class="anchor" name="92d1fce02ac69aba7cf1bc8702a642ed"></a><!-- doxytag: member="FMVector4::FMVector4" ref="92d1fce02ac69aba7cf1bc8702a642ed" args="(FMVector3 v, float _w)" --><p>
81<table class="mdTable" cellpadding="2" cellspacing="0">
82  <tr>
83    <td class="mdRow">
84      <table cellpadding="0" cellspacing="0" border="0">
85        <tr>
86          <td class="md" nowrap valign="top">FMVector4::FMVector4           </td>
87          <td class="md" valign="top">(&nbsp;</td>
88          <td class="md" nowrap valign="top"><a class="el" href="class_f_m_vector3.html">FMVector3</a>&nbsp;</td>
89          <td class="mdname" nowrap> <em>v</em>, </td>
90        </tr>
91        <tr>
92          <td class="md" nowrap align="right"></td>
93          <td class="md"></td>
94          <td class="md" nowrap>float&nbsp;</td>
95          <td class="mdname" nowrap> <em>_w</em></td>
96        </tr>
97        <tr>
98          <td class="md"></td>
99          <td class="md">)&nbsp;</td>
100          <td class="md" colspan="2"><code> [inline]</code></td>
101        </tr>
102      </table>
103    </td>
104  </tr>
105</table>
106<table cellspacing="5" cellpadding="0" border="0">
107  <tr>
108    <td>
109      &nbsp;
110    </td>
111    <td>
112
113<p>
114Creates the <a class="el" href="class_f_m_vector4.html">FMVector4</a> with the coordinates given.
115<p>
116The first three coordinates are taken from the <a class="el" href="class_f_m_vector3.html">FMVector3</a>, where the first one is the x value, the second is that y, and the third is the z. The forth value is the <code>float</code> specified.<p>
117<dl compact><dt><b>Parameters:</b></dt><dd>
118  <table border="0" cellspacing="2" cellpadding="0">
119    <tr><td valign="top"></td><td valign="top"><em>v</em>&nbsp;</td><td>The <a class="el" href="class_f_m_vector3.html">FMVector3</a> representing the first three coordinates. </td></tr>
120    <tr><td valign="top"></td><td valign="top"><em>_w</em>&nbsp;</td><td>The final coordinate. </td></tr>
121  </table>
122</dl>
123    </td>
124  </tr>
125</table>
126<a class="anchor" name="731d6b58dc88125ecc21ef20111ebc19"></a><!-- doxytag: member="FMVector4::FMVector4" ref="731d6b58dc88125ecc21ef20111ebc19" args="(float _x, float _y, float _z, float _w)" --><p>
127<table class="mdTable" cellpadding="2" cellspacing="0">
128  <tr>
129    <td class="mdRow">
130      <table cellpadding="0" cellspacing="0" border="0">
131        <tr>
132          <td class="md" nowrap valign="top">FMVector4::FMVector4           </td>
133          <td class="md" valign="top">(&nbsp;</td>
134          <td class="md" nowrap valign="top">float&nbsp;</td>
135          <td class="mdname" nowrap> <em>_x</em>, </td>
136        </tr>
137        <tr>
138          <td class="md" nowrap align="right"></td>
139          <td class="md"></td>
140          <td class="md" nowrap>float&nbsp;</td>
141          <td class="mdname" nowrap> <em>_y</em>, </td>
142        </tr>
143        <tr>
144          <td class="md" nowrap align="right"></td>
145          <td class="md"></td>
146          <td class="md" nowrap>float&nbsp;</td>
147          <td class="mdname" nowrap> <em>_z</em>, </td>
148        </tr>
149        <tr>
150          <td class="md" nowrap align="right"></td>
151          <td class="md"></td>
152          <td class="md" nowrap>float&nbsp;</td>
153          <td class="mdname" nowrap> <em>_w</em></td>
154        </tr>
155        <tr>
156          <td class="md"></td>
157          <td class="md">)&nbsp;</td>
158          <td class="md" colspan="2"><code> [inline]</code></td>
159        </tr>
160      </table>
161    </td>
162  </tr>
163</table>
164<table cellspacing="5" cellpadding="0" border="0">
165  <tr>
166    <td>
167      &nbsp;
168    </td>
169    <td>
170
171<p>
172Creates the <a class="el" href="class_f_m_vector4.html">FMVector4</a> with the coordinates given.
173<p>
174<dl compact><dt><b>Parameters:</b></dt><dd>
175  <table border="0" cellspacing="2" cellpadding="0">
176    <tr><td valign="top"></td><td valign="top"><em>_x</em>&nbsp;</td><td>The first coordinate. </td></tr>
177    <tr><td valign="top"></td><td valign="top"><em>_y</em>&nbsp;</td><td>The second coordinate. </td></tr>
178    <tr><td valign="top"></td><td valign="top"><em>_z</em>&nbsp;</td><td>The third coordinate. </td></tr>
179    <tr><td valign="top"></td><td valign="top"><em>_w</em>&nbsp;</td><td>The forth coordinate. </td></tr>
180  </table>
181</dl>
182    </td>
183  </tr>
184</table>
185<hr><h2>Member Function Documentation</h2>
186<a class="anchor" name="756aff49407ca315e21591402fdc66fd"></a><!-- doxytag: member="FMVector4::operator const float *" ref="756aff49407ca315e21591402fdc66fd" args="() const " --><p>
187<table class="mdTable" cellpadding="2" cellspacing="0">
188  <tr>
189    <td class="mdRow">
190      <table cellpadding="0" cellspacing="0" border="0">
191        <tr>
192          <td class="md" nowrap valign="top">FMVector4::operator const float *           </td>
193          <td class="md" valign="top">(&nbsp;</td>
194          <td class="mdname1" valign="top" nowrap>          </td>
195          <td class="md" valign="top">&nbsp;)&nbsp;</td>
196          <td class="md" nowrap> const<code> [inline]</code></td>
197        </tr>
198      </table>
199    </td>
200  </tr>
201</table>
202<table cellspacing="5" cellpadding="0" border="0">
203  <tr>
204    <td>
205      &nbsp;
206    </td>
207    <td>
208
209<p>
210Get this <a class="el" href="class_f_m_vector4.html">FMVector4</a> as an array of <code>floats</code>.
211<p>
212<dl compact><dt><b>Returns:</b></dt><dd>The <code>float</code> array. </dd></dl>
213    </td>
214  </tr>
215</table>
216<a class="anchor" name="c6f44432afa499a84c2c201de76749a6"></a><!-- doxytag: member="FMVector4::operator float *" ref="c6f44432afa499a84c2c201de76749a6" args="()" --><p>
217<table class="mdTable" cellpadding="2" cellspacing="0">
218  <tr>
219    <td class="mdRow">
220      <table cellpadding="0" cellspacing="0" border="0">
221        <tr>
222          <td class="md" nowrap valign="top">FMVector4::operator float *           </td>
223          <td class="md" valign="top">(&nbsp;</td>
224          <td class="mdname1" valign="top" nowrap>          </td>
225          <td class="md" valign="top">&nbsp;)&nbsp;</td>
226          <td class="md" nowrap><code> [inline]</code></td>
227        </tr>
228      </table>
229    </td>
230  </tr>
231</table>
232<table cellspacing="5" cellpadding="0" border="0">
233  <tr>
234    <td>
235      &nbsp;
236    </td>
237    <td>
238
239<p>
240Get this <a class="el" href="class_f_m_vector4.html">FMVector4</a> as an array of <code>floats</code>.
241<p>
242<dl compact><dt><b>Returns:</b></dt><dd>The <code>float</code> array. </dd></dl>
243    </td>
244  </tr>
245</table>
246<hr>The documentation for this class was generated from the following file:<ul>
247<li>FMath/<a class="el" href="_f_m_vector4_8h-source.html">FMVector4.h</a></ul>
248<hr size="1"><address style="align: right;"><small>Generated on Fri May 12 16:44:44 2006 for FCollada by&nbsp;
249<a href="http://www.doxygen.org/index.html">
250<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6-NO </small></address>
251</body>
252</html>
Note: See TracBrowser for help on using the repository browser.