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: FCDocument/FCDGeometry.h Source File</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 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><a href="classes.html"><span>Classes</span></a></li> |
---|
14 | <li id="current"><a href="files.html"><span>Files</span></a></li> |
---|
15 | <li><a href="pages.html"><span>Related Pages</span></a></li> |
---|
16 | </ul></div> |
---|
17 | <div class="tabs"> |
---|
18 | <ul> |
---|
19 | <li><a href="files.html"><span>File List</span></a></li> |
---|
20 | <li><a href="globals.html"><span>File Members</span></a></li> |
---|
21 | </ul></div> |
---|
22 | <h1>FCDocument/FCDGeometry.h</h1><a href="_f_c_d_geometry_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> |
---|
23 | <a name="l00002"></a>00002 <span class="comment"> Copyright (C) 2005-2006 Feeling Software Inc.</span> |
---|
24 | <a name="l00003"></a>00003 <span class="comment"> MIT License: http://www.opensource.org/licenses/mit-license.php</span> |
---|
25 | <a name="l00004"></a>00004 <span class="comment">*/</span> |
---|
26 | <a name="l00005"></a>00005 |
---|
27 | <a name="l00012"></a>00012 <span class="preprocessor">#ifndef _FCD_GEOMETRY_H_</span> |
---|
28 | <a name="l00013"></a>00013 <span class="preprocessor"></span><span class="preprocessor">#define _FCD_GEOMETRY_H_</span> |
---|
29 | <a name="l00014"></a>00014 <span class="preprocessor"></span> |
---|
30 | <a name="l00015"></a>00015 <span class="preprocessor">#include "<a class="code" href="_f_c_d_entity_8h.html">FCDocument/FCDEntity.h</a>"</span> |
---|
31 | <a name="l00016"></a>00016 <span class="preprocessor">#include "FUtils/FUDaeEnum.h"</span> |
---|
32 | <a name="l00017"></a>00017 |
---|
33 | <a name="l00018"></a>00018 <span class="keyword">class </span><a class="code" href="class_f_c_document.html">FCDocument</a>; |
---|
34 | <a name="l00019"></a>00019 <span class="keyword">class </span><a class="code" href="class_f_c_d_geometry_mesh.html">FCDGeometryMesh</a>; |
---|
35 | <a name="l00020"></a>00020 <span class="keyword">class </span><a class="code" href="class_f_c_d_geometry_spline.html">FCDGeometrySpline</a>; |
---|
36 | <a name="l00021"></a>00021 |
---|
37 | <a name="l00039"></a><a class="code" href="class_f_c_d_geometry.html">00039</a> <span class="keyword">class </span>FCOLLADA_EXPORT <a class="code" href="class_f_c_d_geometry.html">FCDGeometry</a> : <span class="keyword">public</span> <a class="code" href="class_f_c_d_entity.html">FCDEntity</a> |
---|
38 | <a name="l00040"></a>00040 { |
---|
39 | <a name="l00041"></a>00041 <span class="keyword">private</span>: |
---|
40 | <a name="l00042"></a>00042 <a class="code" href="_f_u_object_type_8h.html#8124b8a8706cd10260f8cd5a7bd8e691">DeclareObjectType</a>; |
---|
41 | <a name="l00043"></a>00043 |
---|
42 | <a name="l00044"></a>00044 <span class="comment">// Contains only one of the following, in order of importance.</span> |
---|
43 | <a name="l00045"></a>00045 <a class="code" href="class_f_c_d_geometry_mesh.html">FCDGeometryMesh</a>* mesh; |
---|
44 | <a name="l00046"></a>00046 <a class="code" href="class_f_c_d_geometry_spline.html">FCDGeometrySpline</a>* spline; |
---|
45 | <a name="l00047"></a>00047 |
---|
46 | <a name="l00048"></a>00048 <span class="keyword">public</span>: |
---|
47 | <a name="l00052"></a>00052 <a class="code" href="class_f_c_d_geometry.html">FCDGeometry</a>(<a class="code" href="class_f_c_document.html">FCDocument</a>* document); |
---|
48 | <a name="l00053"></a>00053 |
---|
49 | <a name="l00057"></a>00057 <span class="keyword">virtual</span> ~<a class="code" href="class_f_c_d_geometry.html">FCDGeometry</a>(); |
---|
50 | <a name="l00058"></a>00058 |
---|
51 | <a name="l00062"></a><a class="code" href="class_f_c_d_geometry.html#220b50045d5a815dce0c1be69e06f926">00062</a> <span class="keyword">virtual</span> Type <a class="code" href="class_f_c_d_entity.html#bfd4312a7124f92364c1e6517c7e60ba">GetType</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> GEOMETRY; } |
---|
52 | <a name="l00063"></a>00063 |
---|
53 | <a name="l00066"></a><a class="code" href="class_f_c_d_geometry.html#2c8f918ca0734d57fc32f7b06ba2dcd1">00066</a> <span class="keywordtype">bool</span> IsMesh()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mesh != NULL; } |
---|
54 | <a name="l00067"></a>00067 |
---|
55 | <a name="l00071"></a><a class="code" href="class_f_c_d_geometry.html#cf98b948f99bb3f83cb6c09db05877b5">00071</a> <a class="code" href="class_f_c_d_geometry_mesh.html">FCDGeometryMesh</a>* GetMesh() { <span class="keywordflow">return</span> mesh; } |
---|
56 | <a name="l00072"></a><a class="code" href="class_f_c_d_geometry.html#cf3bf2789cfb07effcf66b8fe74d1478">00072</a> <span class="keyword">const</span> <a class="code" href="class_f_c_d_geometry_mesh.html">FCDGeometryMesh</a>* GetMesh()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mesh; } |
---|
57 | <a name="l00077"></a>00077 <a class="code" href="class_f_c_d_geometry_mesh.html">FCDGeometryMesh</a>* CreateMesh(); |
---|
58 | <a name="l00078"></a>00078 |
---|
59 | <a name="l00081"></a><a class="code" href="class_f_c_d_geometry.html#939f0b6f72a6178fc38d8c09d2b4c5e2">00081</a> <span class="keywordtype">bool</span> IsSpline()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> spline != NULL; } |
---|
60 | <a name="l00082"></a>00082 |
---|
61 | <a name="l00086"></a><a class="code" href="class_f_c_d_geometry.html#e0e0c4d96306a22cc89682058cbe95c0">00086</a> <a class="code" href="class_f_c_d_geometry_spline.html">FCDGeometrySpline</a>* GetSpline() { <span class="keywordflow">return</span> spline; } |
---|
62 | <a name="l00087"></a><a class="code" href="class_f_c_d_geometry.html#9054bad549b0e2e904210d8068b02792">00087</a> <span class="keyword">const</span> <a class="code" href="class_f_c_d_geometry_spline.html">FCDGeometrySpline</a>* GetSpline()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> spline; } |
---|
63 | <a name="l00092"></a>00092 <a class="code" href="class_f_c_d_geometry_spline.html">FCDGeometrySpline</a>* CreateSpline(); |
---|
64 | <a name="l00093"></a>00093 |
---|
65 | <a name="l00108"></a>00108 <a class="code" href="class_f_c_d_geometry.html">FCDGeometry</a>* <a class="code" href="class_f_c_d_entity.html#c1d7dc557e79f42de2b9f951ff3cffcc">Clone</a>(<a class="code" href="classvector.html">FloatList</a>& newPositions, uint32 newPositionsStride, <a class="code" href="classvector.html">FloatList</a>& newNormals, uint32 newNormalsStride); |
---|
66 | <a name="l00109"></a>00109 |
---|
67 | <a name="l00114"></a>00114 <span class="keyword">virtual</span> <a class="code" href="class_f_u_status.html">FUStatus</a> <a class="code" href="class_f_c_d_entity.html#8e32fcc93de76acc4b606db7b5b83890">LoadFromXML</a>(xmlNode* node); |
---|
68 | <a name="l00115"></a>00115 |
---|
69 | <a name="l00119"></a>00119 <span class="keyword">virtual</span> xmlNode* <a class="code" href="class_f_c_d_entity.html#b27f0c175c3f8fd7064cde48bcf1d7a0">WriteToXML</a>(xmlNode* parentNode) <span class="keyword">const</span>; |
---|
70 | <a name="l00120"></a>00120 }; |
---|
71 | <a name="l00121"></a>00121 |
---|
72 | <a name="l00122"></a>00122 <span class="preprocessor">#endif // _FCD_GEOMETRY_H_</span> |
---|
73 | </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri May 12 16:44:38 2006 for FCollada by |
---|
74 | <a href="http://www.doxygen.org/index.html"> |
---|
75 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6-NO </small></address> |
---|
76 | </body> |
---|
77 | </html> |
---|