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: FUDaeWriter Namespace 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 Page</span></a></li> |
---|
11 | <li><a href="modules.html"><span>Modules</span></a></li> |
---|
12 | <li id="current"><a href="namespaces.html"><span>Namespaces</span></a></li> |
---|
13 | <li><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 Pages</span></a></li> |
---|
16 | </ul></div> |
---|
17 | <div class="tabs"> |
---|
18 | <ul> |
---|
19 | <li><a href="namespaces.html"><span>Namespace List</span></a></li> |
---|
20 | <li><a href="namespacemembers.html"><span>Namespace Members</span></a></li> |
---|
21 | </ul></div> |
---|
22 | <h1>FUDaeWriter Namespace Reference<br> |
---|
23 | <small> |
---|
24 | [<a class="el" href="group___f_utils.html">Utility Classes.</a>]</small> |
---|
25 | </h1>Common COLLADA XML writing functions. |
---|
26 | <a href="#_details">More...</a> |
---|
27 | <p> |
---|
28 | <table border="0" cellpadding="0" cellspacing="0"> |
---|
29 | <tr><td></td></tr> |
---|
30 | <tr><td colspan="2"><br><h2>Classes</h2></td></tr> |
---|
31 | <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_f_u_dae_writer_1_1_f_u_dae_accessor.html">FUDaeAccessor</a></td></tr> |
---|
32 | |
---|
33 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Common accessor type string arrays. <a href="struct_f_u_dae_writer_1_1_f_u_dae_accessor.html#_details">More...</a><br></td></tr> |
---|
34 | <tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
---|
35 | <tr><td class="memItemLeft" nowrap align="right" valign="top">FCOLLADA_EXPORT xmlNode * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_f_u_dae_writer.html#ba74c6f8b178411e99246c2198b68f4d">AddExtraTechniqueChild</a> (xmlNode *parent, const char *profile)</td></tr> |
---|
36 | |
---|
37 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Writes out the <extra><technique> element unto the given parent xml tree node. <a href="#ba74c6f8b178411e99246c2198b68f4d"></a><br></td></tr> |
---|
38 | <tr><td class="memItemLeft" nowrap align="right" valign="top">FCOLLADA_EXPORT xmlNode * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_f_u_dae_writer.html#01b325c6912d018abbcaae463a1eff14">AddTechniqueChild</a> (xmlNode *parent, const char *profile)</td></tr> |
---|
39 | |
---|
40 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Writes out the <technique> element unto the given parent xml tree node. <a href="#01b325c6912d018abbcaae463a1eff14"></a><br></td></tr> |
---|
41 | <tr><td class="memItemLeft" nowrap align="right" valign="top">FCOLLADA_EXPORT xmlNode * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_f_u_dae_writer.html#d0eeb471f60953186f1b18ad665c7ea5">AddParameter</a> (xmlNode *parent, const char *name, const char *type)</td></tr> |
---|
42 | |
---|
43 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Writes out a COLLADA parameter element. <a href="#d0eeb471f60953186f1b18ad665c7ea5"></a><br></td></tr> |
---|
44 | <tr><td class="memItemLeft" nowrap align="right" valign="top">FCOLLADA_EXPORT xmlNode * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_f_u_dae_writer.html#62c95317985e2e1c8c096c469ac28de7">AddInput</a> (xmlNode *parent, const char *sourceId, const char *semantic, int32 offset=-1, int32 set=-1)</td></tr> |
---|
45 | |
---|
46 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Writes out a COLLADA input element. <a href="#62c95317985e2e1c8c096c469ac28de7"></a><br></td></tr> |
---|
47 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="13f6c5825c1a1cb4aff86d8c6c9cff5e"></a><!-- doxytag: member="FUDaeWriter::AddInput" ref="13f6c5825c1a1cb4aff86d8c6c9cff5e" args="(xmlNode *parent, const string &sourceId, const char *semantic, int32 offset=-1, int32 set=-1)" --> |
---|
48 | xmlNode * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_f_u_dae_writer.html#13f6c5825c1a1cb4aff86d8c6c9cff5e">AddInput</a> (xmlNode *parent, const string &sourceId, const char *semantic, int32 offset=-1, int32 set=-1)</td></tr> |
---|
49 | |
---|
50 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
51 | <tr><td class="memItemLeft" nowrap align="right" valign="top">FCOLLADA_EXPORT xmlNode * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_f_u_dae_writer.html#1807f0288366d4d91c9e6b0c84bfd0fb">AddArray</a> (xmlNode *parent, const char *id, const char *arrayType, const char *content, size_t count)</td></tr> |
---|
52 | |
---|
53 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Writes out a COLLADA strongly-typed data array. <a href="#1807f0288366d4d91c9e6b0c84bfd0fb"></a><br></td></tr> |
---|
54 | <tr><td class="memItemLeft" nowrap align="right" valign="top">FCOLLADA_EXPORT xmlNode * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_f_u_dae_writer.html#f992c1f603ae50dd4a4b3dbfdd7f0f22">AddArray</a> (xmlNode *parent, const char *id, const <a class="el" href="classvector.html">FMMatrix44List</a> &values, float lengthFactor=1.0f)</td></tr> |
---|
55 | |
---|
56 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Writes out a COLLADA array of matrices. <a href="#f992c1f603ae50dd4a4b3dbfdd7f0f22"></a><br></td></tr> |
---|
57 | <tr><td class="memItemLeft" nowrap align="right" valign="top">FCOLLADA_EXPORT xmlNode * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_f_u_dae_writer.html#21a877f3419e9c0e3b523468b83ca319">AddArray</a> (xmlNode *parent, const char *id, const <a class="el" href="classvector.html">FMVector3List</a> &values, float lengthFactor=1.0f)</td></tr> |
---|
58 | |
---|
59 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Writes out a COLLADA array of 3D vectors. <a href="#21a877f3419e9c0e3b523468b83ca319"></a><br></td></tr> |
---|
60 | <tr><td class="memItemLeft" nowrap align="right" valign="top">FCOLLADA_EXPORT xmlNode * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_f_u_dae_writer.html#47de83bfa62f2a2688cd79f471c9f9db">AddArray</a> (xmlNode *parent, const char *id, const <a class="el" href="classvector.html">FloatList</a> &values, float lengthFactor=1.0f)</td></tr> |
---|
61 | |
---|
62 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Writes out a COLLADA array of floating-point values. <a href="#47de83bfa62f2a2688cd79f471c9f9db"></a><br></td></tr> |
---|
63 | <tr><td class="memItemLeft" nowrap align="right" valign="top">FCOLLADA_EXPORT xmlNode * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_f_u_dae_writer.html#0eb3c804ed839afdd7280fdf5ac621eb">AddArray</a> (xmlNode *parent, const char *id, const <a class="el" href="classvector.html">StringList</a> &values, const char *arrayType=DAE_NAME_ARRAY_ELEMENT)</td></tr> |
---|
64 | |
---|
65 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Writes out a COLLADA array of UTF-8 tokens. <a href="#0eb3c804ed839afdd7280fdf5ac621eb"></a><br></td></tr> |
---|
66 | <tr><td class="memItemLeft" nowrap align="right" valign="top">FCOLLADA_EXPORT xmlNode * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_f_u_dae_writer.html#81b472751fb7ed314691e0d3a090b582">AddAccessor</a> (xmlNode *parent, const char *arrayId, size_t count, size_t stride=1, const char **parameters=NULL, const char *type=NULL)</td></tr> |
---|
67 | |
---|
68 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Writes out a COLLADA accessor to be used within a source. <a href="#81b472751fb7ed314691e0d3a090b582"></a><br></td></tr> |
---|
69 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="80804142030cf34c379d2c289c6604c8"></a><!-- doxytag: member="FUDaeWriter::AddAccessor" ref="80804142030cf34c379d2c289c6604c8" args="(xmlNode *parent, const string &arrayId, size_t count, size_t stride=1, const char **parameters=NULL, const char *type=NULL)" --> |
---|
70 | xmlNode * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_f_u_dae_writer.html#80804142030cf34c379d2c289c6604c8">AddAccessor</a> (xmlNode *parent, const string &arrayId, size_t count, size_t stride=1, const char **parameters=NULL, const char *type=NULL)</td></tr> |
---|
71 | |
---|
72 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
73 | <tr><td class="memItemLeft" nowrap align="right" valign="top">FCOLLADA_EXPORT xmlNode * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_f_u_dae_writer.html#cc47ccc7300dcad210d180b953198a35">AddSourceFloat</a> (xmlNode *parent, const char *id, const <a class="el" href="classvector.html">FloatList</a> &values, size_t stride=1, const char **parameters=NULL, float lengthFactor=1.0f)</td></tr> |
---|
74 | |
---|
75 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Writes out a COLLADA multi-dimensional source of floating-point values. <a href="#cc47ccc7300dcad210d180b953198a35"></a><br></td></tr> |
---|
76 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fdec87e97f136bb18cad996276d76d2f"></a><!-- doxytag: member="FUDaeWriter::AddSourceFloat" ref="fdec87e97f136bb18cad996276d76d2f" args="(xmlNode *parent, const string &id, const FloatList &values, size_t stride=1, const char **parameters=NULL, float lengthFactor=1.0f)" --> |
---|
77 | xmlNode * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_f_u_dae_writer.html#fdec87e97f136bb18cad996276d76d2f">AddSourceFloat</a> (xmlNode *parent, const string &id, const <a class="el" href="classvector.html">FloatList</a> &values, size_t stride=1, const char **parameters=NULL, float lengthFactor=1.0f)</td></tr> |
---|
78 | |
---|
79 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
80 | <tr><td class="memItemLeft" nowrap align="right" valign="top">FCOLLADA_EXPORT xmlNode * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_f_u_dae_writer.html#c21c15a6862299427e93dc5bfed94187">AddSourceFloat</a> (xmlNode *parent, const char *id, const <a class="el" href="classvector.html">FloatList</a> &values, const char *parameter=NULL, float lengthFactor=1.0f)</td></tr> |
---|
81 | |
---|
82 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Writes out a COLLADA source of floating-point values. <a href="#c21c15a6862299427e93dc5bfed94187"></a><br></td></tr> |
---|
83 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="affb4e2517c032cf0d07322be37dbbb3"></a><!-- doxytag: member="FUDaeWriter::AddSourceFloat" ref="affb4e2517c032cf0d07322be37dbbb3" args="(xmlNode *parent, const string &id, const FloatList &values, const char *parameter=NULL, float lengthFactor=1.0f)" --> |
---|
84 | xmlNode * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_f_u_dae_writer.html#affb4e2517c032cf0d07322be37dbbb3">AddSourceFloat</a> (xmlNode *parent, const string &id, const <a class="el" href="classvector.html">FloatList</a> &values, const char *parameter=NULL, float lengthFactor=1.0f)</td></tr> |
---|
85 | |
---|
86 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
87 | <tr><td class="memItemLeft" nowrap align="right" valign="top">FCOLLADA_EXPORT xmlNode * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_f_u_dae_writer.html#2c5fe8f1dff0f7df32e71bda75459da8">AddSourceMatrix</a> (xmlNode *parent, const char *id, const <a class="el" href="classvector.html">FMMatrix44List</a> &values, float lengthFactor=1.0f)</td></tr> |
---|
88 | |
---|
89 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Writes out a COLLADA source of matrices. <a href="#2c5fe8f1dff0f7df32e71bda75459da8"></a><br></td></tr> |
---|
90 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="30a849543e7cd2defbcb8bf402fc30d7"></a><!-- doxytag: member="FUDaeWriter::AddSourceMatrix" ref="30a849543e7cd2defbcb8bf402fc30d7" args="(xmlNode *parent, const string &id, const FMMatrix44List &values, float lengthFactor=1.0f)" --> |
---|
91 | xmlNode * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_f_u_dae_writer.html#30a849543e7cd2defbcb8bf402fc30d7">AddSourceMatrix</a> (xmlNode *parent, const string &id, const <a class="el" href="classvector.html">FMMatrix44List</a> &values, float lengthFactor=1.0f)</td></tr> |
---|
92 | |
---|
93 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
94 | <tr><td class="memItemLeft" nowrap align="right" valign="top">FCOLLADA_EXPORT xmlNode * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_f_u_dae_writer.html#920ffc2998d81c43f2f6fbe8656a7f71">AddSourceColor</a> (xmlNode *parent, const char *id, const <a class="el" href="classvector.html">FMVector3List</a> &values)</td></tr> |
---|
95 | |
---|
96 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Writes out a COLLADA source of matrices. <a href="#920ffc2998d81c43f2f6fbe8656a7f71"></a><br></td></tr> |
---|
97 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1a27e95cec009aaf1331d560b0b779b4"></a><!-- doxytag: member="FUDaeWriter::AddSourceColor" ref="1a27e95cec009aaf1331d560b0b779b4" args="(xmlNode *parent, const string &id, const FMVector3List &values)" --> |
---|
98 | xmlNode * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_f_u_dae_writer.html#1a27e95cec009aaf1331d560b0b779b4">AddSourceColor</a> (xmlNode *parent, const string &id, const <a class="el" href="classvector.html">FMVector3List</a> &values)</td></tr> |
---|
99 | |
---|
100 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
101 | <tr><td class="memItemLeft" nowrap align="right" valign="top">FCOLLADA_EXPORT xmlNode * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_f_u_dae_writer.html#2a6e6caaafcd0b20c8e1daccd03e4a71">AddSourceTexcoord</a> (xmlNode *parent, const char *id, const <a class="el" href="classvector.html">FMVector3List</a> &values)</td></tr> |
---|
102 | |
---|
103 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Writes out a COLLADA source of texture coordinates. <a href="#2a6e6caaafcd0b20c8e1daccd03e4a71"></a><br></td></tr> |
---|
104 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4031693b5ffe2689022827b763243fe4"></a><!-- doxytag: member="FUDaeWriter::AddSourceTexcoord" ref="4031693b5ffe2689022827b763243fe4" args="(xmlNode *parent, const string &id, const FMVector3List &values)" --> |
---|
105 | xmlNode * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_f_u_dae_writer.html#4031693b5ffe2689022827b763243fe4">AddSourceTexcoord</a> (xmlNode *parent, const string &id, const <a class="el" href="classvector.html">FMVector3List</a> &values)</td></tr> |
---|
106 | |
---|
107 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
108 | <tr><td class="memItemLeft" nowrap align="right" valign="top">FCOLLADA_EXPORT xmlNode * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_f_u_dae_writer.html#d6f46fca62a90efa7a06beff638d9a63">AddSourcePosition</a> (xmlNode *parent, const char *id, const <a class="el" href="classvector.html">FMVector3List</a> &values, float lengthFactor=1.0f)</td></tr> |
---|
109 | |
---|
110 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Writes out a COLLADA source of 3D positions or vectors. <a href="#d6f46fca62a90efa7a06beff638d9a63"></a><br></td></tr> |
---|
111 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="442b156928824db31e5d07070a9a88f4"></a><!-- doxytag: member="FUDaeWriter::AddSourcePosition" ref="442b156928824db31e5d07070a9a88f4" args="(xmlNode *parent, const string &id, const FMVector3List &values, float lengthFactor=1.0f)" --> |
---|
112 | xmlNode * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_f_u_dae_writer.html#442b156928824db31e5d07070a9a88f4">AddSourcePosition</a> (xmlNode *parent, const string &id, const <a class="el" href="classvector.html">FMVector3List</a> &values, float lengthFactor=1.0f)</td></tr> |
---|
113 | |
---|
114 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
115 | <tr><td class="memItemLeft" nowrap align="right" valign="top">FCOLLADA_EXPORT xmlNode * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_f_u_dae_writer.html#05e0524827a1927b6c1cc528deeec566">AddSourceString</a> (xmlNode *parent, const char *id, const <a class="el" href="classvector.html">StringList</a> &values, const char *parameter=NULL)</td></tr> |
---|
116 | |
---|
117 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Writes out a COLLADA source of UTF-8 tokens. <a href="#05e0524827a1927b6c1cc528deeec566"></a><br></td></tr> |
---|
118 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5b21ebfc4c680a55675c5c2a568bfdb4"></a><!-- doxytag: member="FUDaeWriter::AddSourceString" ref="5b21ebfc4c680a55675c5c2a568bfdb4" args="(xmlNode *parent, const string &id, const StringList &values, const char *parameter=NULL)" --> |
---|
119 | xmlNode * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_f_u_dae_writer.html#5b21ebfc4c680a55675c5c2a568bfdb4">AddSourceString</a> (xmlNode *parent, const string &id, const <a class="el" href="classvector.html">StringList</a> &values, const char *parameter=NULL)</td></tr> |
---|
120 | |
---|
121 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
122 | <tr><td class="memItemLeft" nowrap align="right" valign="top">FCOLLADA_EXPORT xmlNode * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_f_u_dae_writer.html#21850e4e4c090482eb72cc5b1c9abf63">AddSourceIDRef</a> (xmlNode *parent, const char *id, const <a class="el" href="classvector.html">StringList</a> &values, const char *parameter=NULL)</td></tr> |
---|
123 | |
---|
124 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Writes out a COLLADA source of COLLADA references. <a href="#21850e4e4c090482eb72cc5b1c9abf63"></a><br></td></tr> |
---|
125 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="350ab0c69a913e2a9a08f66a9c113848"></a><!-- doxytag: member="FUDaeWriter::AddSourceIDRef" ref="350ab0c69a913e2a9a08f66a9c113848" args="(xmlNode *parent, const string &id, const StringList &values, const char *parameter=NULL)" --> |
---|
126 | xmlNode * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_f_u_dae_writer.html#350ab0c69a913e2a9a08f66a9c113848">AddSourceIDRef</a> (xmlNode *parent, const string &id, const <a class="el" href="classvector.html">StringList</a> &values, const char *parameter=NULL)</td></tr> |
---|
127 | |
---|
128 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
129 | <tr><td class="memItemLeft" nowrap align="right" valign="top">FCOLLADA_EXPORT xmlNode * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_f_u_dae_writer.html#2b7d10055ceaa7f2ca6a35cd9e36ac9e">AddSourceInterpolation</a> (xmlNode *parent, const char *id, const <a class="el" href="classvector.html">FUDaeInterpolationList</a> &interpolations)</td></tr> |
---|
130 | |
---|
131 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Writes out a COLLADA source of interpolation tokens. <a href="#2b7d10055ceaa7f2ca6a35cd9e36ac9e"></a><br></td></tr> |
---|
132 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="be27f0bf06b2584c38a3942a48c1e146"></a><!-- doxytag: member="FUDaeWriter::AddSourceInterpolation" ref="be27f0bf06b2584c38a3942a48c1e146" args="(xmlNode *parent, const string &id, const FUDaeInterpolationList &values)" --> |
---|
133 | xmlNode * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_f_u_dae_writer.html#be27f0bf06b2584c38a3942a48c1e146">AddSourceInterpolation</a> (xmlNode *parent, const string &id, const <a class="el" href="classvector.html">FUDaeInterpolationList</a> &values)</td></tr> |
---|
134 | |
---|
135 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
136 | <tr><td class="memItemLeft" nowrap align="right" valign="top">FCOLLADA_EXPORT string </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_f_u_dae_writer.html#c8feb3ed6608efb4413939a415871934">CleanId</a> (const char *id)</td></tr> |
---|
137 | |
---|
138 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Cleans up a given name into a valid COLLADA id. <a href="#c8feb3ed6608efb4413939a415871934"></a><br></td></tr> |
---|
139 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0940ef4f39c93c1fbc8fac14e89bcbac"></a><!-- doxytag: member="FUDaeWriter::CleanId" ref="0940ef4f39c93c1fbc8fac14e89bcbac" args="(const string &id)" --> |
---|
140 | string </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_f_u_dae_writer.html#0940ef4f39c93c1fbc8fac14e89bcbac">CleanId</a> (const string &id)</td></tr> |
---|
141 | |
---|
142 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
143 | <tr><td class="memItemLeft" nowrap align="right" valign="top">FCOLLADA_EXPORT fstring </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_f_u_dae_writer.html#b6593048f3e1669fb4c885f7fdf094ce">CleanName</a> (const fchar *name)</td></tr> |
---|
144 | |
---|
145 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Cleans up a given name into a valid COLLADA name. <a href="#b6593048f3e1669fb4c885f7fdf094ce"></a><br></td></tr> |
---|
146 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0c2be0889e312dc4f570b96529edd85f"></a><!-- doxytag: member="FUDaeWriter::CleanName" ref="0c2be0889e312dc4f570b96529edd85f" args="(const fstring &name)" --> |
---|
147 | fstring </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_f_u_dae_writer.html#0c2be0889e312dc4f570b96529edd85f">CleanName</a> (const fstring &name)</td></tr> |
---|
148 | |
---|
149 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
150 | <tr><td class="memItemLeft" nowrap align="right" valign="top">FCOLLADA_EXPORT string </td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_f_u_dae_writer.html#22c9610efda063dbb28c4d40e4d24558">AddNodeSid</a> (xmlNode *node, const char *wantedSid)</td></tr> |
---|
151 | |
---|
152 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Adds the 'sid' attribute to a given XML tree node. <a href="#22c9610efda063dbb28c4d40e4d24558"></a><br></td></tr> |
---|
153 | </table> |
---|
154 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
155 | Common COLLADA XML writing functions. |
---|
156 | <p> |
---|
157 | Based on top of the <a class="el" href="namespace_f_u_xml_writer.html">FUXmlWriter</a> namespace and the LibXML2 library. This whole namespace is considered external and should only be used by the <a class="el" href="namespace_f_collada.html">FCollada</a> library. |
---|
158 | <p> |
---|
159 | <hr><h2>Function Documentation</h2> |
---|
160 | <a class="anchor" name="81b472751fb7ed314691e0d3a090b582"></a><!-- doxytag: member="FUDaeWriter::AddAccessor" ref="81b472751fb7ed314691e0d3a090b582" args="(xmlNode *parent, const char *arrayId, size_t count, size_t stride=1, const char **parameters=NULL, const char *type=NULL)" --><p> |
---|
161 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
162 | <tr> |
---|
163 | <td class="mdRow"> |
---|
164 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
165 | <tr> |
---|
166 | <td class="md" nowrap valign="top">FCOLLADA_EXPORT xmlNode* FUDaeWriter::AddAccessor </td> |
---|
167 | <td class="md" valign="top">( </td> |
---|
168 | <td class="md" nowrap valign="top">xmlNode * </td> |
---|
169 | <td class="mdname" nowrap> <em>parent</em>, </td> |
---|
170 | </tr> |
---|
171 | <tr> |
---|
172 | <td class="md" nowrap align="right"></td> |
---|
173 | <td class="md"></td> |
---|
174 | <td class="md" nowrap>const char * </td> |
---|
175 | <td class="mdname" nowrap> <em>arrayId</em>, </td> |
---|
176 | </tr> |
---|
177 | <tr> |
---|
178 | <td class="md" nowrap align="right"></td> |
---|
179 | <td class="md"></td> |
---|
180 | <td class="md" nowrap>size_t </td> |
---|
181 | <td class="mdname" nowrap> <em>count</em>, </td> |
---|
182 | </tr> |
---|
183 | <tr> |
---|
184 | <td class="md" nowrap align="right"></td> |
---|
185 | <td class="md"></td> |
---|
186 | <td class="md" nowrap>size_t </td> |
---|
187 | <td class="mdname" nowrap> <em>stride</em> = <code>1</code>, </td> |
---|
188 | </tr> |
---|
189 | <tr> |
---|
190 | <td class="md" nowrap align="right"></td> |
---|
191 | <td class="md"></td> |
---|
192 | <td class="md" nowrap>const char ** </td> |
---|
193 | <td class="mdname" nowrap> <em>parameters</em> = <code>NULL</code>, </td> |
---|
194 | </tr> |
---|
195 | <tr> |
---|
196 | <td class="md" nowrap align="right"></td> |
---|
197 | <td class="md"></td> |
---|
198 | <td class="md" nowrap>const char * </td> |
---|
199 | <td class="mdname" nowrap> <em>type</em> = <code>NULL</code></td> |
---|
200 | </tr> |
---|
201 | <tr> |
---|
202 | <td class="md"></td> |
---|
203 | <td class="md">) </td> |
---|
204 | <td class="md" colspan="2"></td> |
---|
205 | </tr> |
---|
206 | </table> |
---|
207 | </td> |
---|
208 | </tr> |
---|
209 | </table> |
---|
210 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
211 | <tr> |
---|
212 | <td> |
---|
213 | |
---|
214 | </td> |
---|
215 | <td> |
---|
216 | |
---|
217 | <p> |
---|
218 | Writes out a COLLADA accessor to be used within a source. |
---|
219 | <p> |
---|
220 | This function should really be called only from within AddSourceX functions. <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
221 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
222 | <tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>The parent XML tree node. </td></tr> |
---|
223 | <tr><td valign="top"></td><td valign="top"><em>arrayId</em> </td><td>The COLLADA id of the array. </td></tr> |
---|
224 | <tr><td valign="top"></td><td valign="top"><em>count</em> </td><td>The number of complete elements within the array. </td></tr> |
---|
225 | <tr><td valign="top"></td><td valign="top"><em>stride</em> </td><td>The number of values that should be used together to create one array element. </td></tr> |
---|
226 | <tr><td valign="top"></td><td valign="top"><em>parameters</em> </td><td>The list of parameter names. Some valid parameter names are available in the <a class="el" href="struct_f_u_dae_writer_1_1_f_u_dae_accessor.html">FUDaeAccessor</a> class. </td></tr> |
---|
227 | <tr><td valign="top"></td><td valign="top"><em>type</em> </td><td>The type name of the parameters. Examples: float, float4x4, Name or IDRef. </td></tr> |
---|
228 | </table> |
---|
229 | </dl> |
---|
230 | <dl compact><dt><b>Returns:</b></dt><dd>The created XML tree node. </dd></dl> |
---|
231 | </td> |
---|
232 | </tr> |
---|
233 | </table> |
---|
234 | <a class="anchor" name="0eb3c804ed839afdd7280fdf5ac621eb"></a><!-- doxytag: member="FUDaeWriter::AddArray" ref="0eb3c804ed839afdd7280fdf5ac621eb" args="(xmlNode *parent, const char *id, const StringList &values, const char *arrayType=DAE_NAME_ARRAY_ELEMENT)" --><p> |
---|
235 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
236 | <tr> |
---|
237 | <td class="mdRow"> |
---|
238 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
239 | <tr> |
---|
240 | <td class="md" nowrap valign="top">FCOLLADA_EXPORT xmlNode* FUDaeWriter::AddArray </td> |
---|
241 | <td class="md" valign="top">( </td> |
---|
242 | <td class="md" nowrap valign="top">xmlNode * </td> |
---|
243 | <td class="mdname" nowrap> <em>parent</em>, </td> |
---|
244 | </tr> |
---|
245 | <tr> |
---|
246 | <td class="md" nowrap align="right"></td> |
---|
247 | <td class="md"></td> |
---|
248 | <td class="md" nowrap>const char * </td> |
---|
249 | <td class="mdname" nowrap> <em>id</em>, </td> |
---|
250 | </tr> |
---|
251 | <tr> |
---|
252 | <td class="md" nowrap align="right"></td> |
---|
253 | <td class="md"></td> |
---|
254 | <td class="md" nowrap>const <a class="el" href="classvector.html">StringList</a> & </td> |
---|
255 | <td class="mdname" nowrap> <em>values</em>, </td> |
---|
256 | </tr> |
---|
257 | <tr> |
---|
258 | <td class="md" nowrap align="right"></td> |
---|
259 | <td class="md"></td> |
---|
260 | <td class="md" nowrap>const char * </td> |
---|
261 | <td class="mdname" nowrap> <em>arrayType</em> = <code>DAE_NAME_ARRAY_ELEMENT</code></td> |
---|
262 | </tr> |
---|
263 | <tr> |
---|
264 | <td class="md"></td> |
---|
265 | <td class="md">) </td> |
---|
266 | <td class="md" colspan="2"></td> |
---|
267 | </tr> |
---|
268 | </table> |
---|
269 | </td> |
---|
270 | </tr> |
---|
271 | </table> |
---|
272 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
273 | <tr> |
---|
274 | <td> |
---|
275 | |
---|
276 | </td> |
---|
277 | <td> |
---|
278 | |
---|
279 | <p> |
---|
280 | Writes out a COLLADA array of UTF-8 tokens. |
---|
281 | <p> |
---|
282 | To write out data values, it is preferable to use the AddSourceX functions. <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
283 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
284 | <tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>The parent XML tree node. </td></tr> |
---|
285 | <tr><td valign="top"></td><td valign="top"><em>id</em> </td><td>The COLLADA id of the array. This id is used only by the accessor of a source. </td></tr> |
---|
286 | <tr><td valign="top"></td><td valign="top"><em>values</em> </td><td>A list of UTF-8 tokens. The members of this list will appear space-separated within the COLLADA document. </td></tr> |
---|
287 | <tr><td valign="top"></td><td valign="top"><em>arrayType</em> </td><td>The COLLADA element name for the output array. Defaults to <Name_array>. This might also be <IDRef_array>. </td></tr> |
---|
288 | </table> |
---|
289 | </dl> |
---|
290 | <dl compact><dt><b>Returns:</b></dt><dd>The created XML tree node. </dd></dl> |
---|
291 | </td> |
---|
292 | </tr> |
---|
293 | </table> |
---|
294 | <a class="anchor" name="47de83bfa62f2a2688cd79f471c9f9db"></a><!-- doxytag: member="FUDaeWriter::AddArray" ref="47de83bfa62f2a2688cd79f471c9f9db" args="(xmlNode *parent, const char *id, const FloatList &values, float lengthFactor=1.0f)" --><p> |
---|
295 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
296 | <tr> |
---|
297 | <td class="mdRow"> |
---|
298 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
299 | <tr> |
---|
300 | <td class="md" nowrap valign="top">FCOLLADA_EXPORT xmlNode* FUDaeWriter::AddArray </td> |
---|
301 | <td class="md" valign="top">( </td> |
---|
302 | <td class="md" nowrap valign="top">xmlNode * </td> |
---|
303 | <td class="mdname" nowrap> <em>parent</em>, </td> |
---|
304 | </tr> |
---|
305 | <tr> |
---|
306 | <td class="md" nowrap align="right"></td> |
---|
307 | <td class="md"></td> |
---|
308 | <td class="md" nowrap>const char * </td> |
---|
309 | <td class="mdname" nowrap> <em>id</em>, </td> |
---|
310 | </tr> |
---|
311 | <tr> |
---|
312 | <td class="md" nowrap align="right"></td> |
---|
313 | <td class="md"></td> |
---|
314 | <td class="md" nowrap>const <a class="el" href="classvector.html">FloatList</a> & </td> |
---|
315 | <td class="mdname" nowrap> <em>values</em>, </td> |
---|
316 | </tr> |
---|
317 | <tr> |
---|
318 | <td class="md" nowrap align="right"></td> |
---|
319 | <td class="md"></td> |
---|
320 | <td class="md" nowrap>float </td> |
---|
321 | <td class="mdname" nowrap> <em>lengthFactor</em> = <code>1.0f</code></td> |
---|
322 | </tr> |
---|
323 | <tr> |
---|
324 | <td class="md"></td> |
---|
325 | <td class="md">) </td> |
---|
326 | <td class="md" colspan="2"></td> |
---|
327 | </tr> |
---|
328 | </table> |
---|
329 | </td> |
---|
330 | </tr> |
---|
331 | </table> |
---|
332 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
333 | <tr> |
---|
334 | <td> |
---|
335 | |
---|
336 | </td> |
---|
337 | <td> |
---|
338 | |
---|
339 | <p> |
---|
340 | Writes out a COLLADA array of floating-point values. |
---|
341 | <p> |
---|
342 | To write out data values, it is preferable to use the AddSourceX functions. <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
343 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
344 | <tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>The parent XML tree node. </td></tr> |
---|
345 | <tr><td valign="top"></td><td valign="top"><em>id</em> </td><td>The COLLADA id of the array. This id is used only by the accessor of a source. </td></tr> |
---|
346 | <tr><td valign="top"></td><td valign="top"><em>values</em> </td><td>A list of floating-point values. </td></tr> |
---|
347 | <tr><td valign="top"></td><td valign="top"><em>lengthFactor</em> </td><td>An optional scale factor for all the floating-point values. </td></tr> |
---|
348 | </table> |
---|
349 | </dl> |
---|
350 | <dl compact><dt><b>Returns:</b></dt><dd>The created XML tree node. </dd></dl> |
---|
351 | </td> |
---|
352 | </tr> |
---|
353 | </table> |
---|
354 | <a class="anchor" name="21a877f3419e9c0e3b523468b83ca319"></a><!-- doxytag: member="FUDaeWriter::AddArray" ref="21a877f3419e9c0e3b523468b83ca319" args="(xmlNode *parent, const char *id, const FMVector3List &values, float lengthFactor=1.0f)" --><p> |
---|
355 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
356 | <tr> |
---|
357 | <td class="mdRow"> |
---|
358 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
359 | <tr> |
---|
360 | <td class="md" nowrap valign="top">FCOLLADA_EXPORT xmlNode* FUDaeWriter::AddArray </td> |
---|
361 | <td class="md" valign="top">( </td> |
---|
362 | <td class="md" nowrap valign="top">xmlNode * </td> |
---|
363 | <td class="mdname" nowrap> <em>parent</em>, </td> |
---|
364 | </tr> |
---|
365 | <tr> |
---|
366 | <td class="md" nowrap align="right"></td> |
---|
367 | <td class="md"></td> |
---|
368 | <td class="md" nowrap>const char * </td> |
---|
369 | <td class="mdname" nowrap> <em>id</em>, </td> |
---|
370 | </tr> |
---|
371 | <tr> |
---|
372 | <td class="md" nowrap align="right"></td> |
---|
373 | <td class="md"></td> |
---|
374 | <td class="md" nowrap>const <a class="el" href="classvector.html">FMVector3List</a> & </td> |
---|
375 | <td class="mdname" nowrap> <em>values</em>, </td> |
---|
376 | </tr> |
---|
377 | <tr> |
---|
378 | <td class="md" nowrap align="right"></td> |
---|
379 | <td class="md"></td> |
---|
380 | <td class="md" nowrap>float </td> |
---|
381 | <td class="mdname" nowrap> <em>lengthFactor</em> = <code>1.0f</code></td> |
---|
382 | </tr> |
---|
383 | <tr> |
---|
384 | <td class="md"></td> |
---|
385 | <td class="md">) </td> |
---|
386 | <td class="md" colspan="2"></td> |
---|
387 | </tr> |
---|
388 | </table> |
---|
389 | </td> |
---|
390 | </tr> |
---|
391 | </table> |
---|
392 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
393 | <tr> |
---|
394 | <td> |
---|
395 | |
---|
396 | </td> |
---|
397 | <td> |
---|
398 | |
---|
399 | <p> |
---|
400 | Writes out a COLLADA array of 3D vectors. |
---|
401 | <p> |
---|
402 | To write out data values, it is preferable to use the AddSourceX functions. <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
403 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
404 | <tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>The parent XML tree node. </td></tr> |
---|
405 | <tr><td valign="top"></td><td valign="top"><em>id</em> </td><td>The COLLADA id of the array. This id is used only by the accessor of a source. </td></tr> |
---|
406 | <tr><td valign="top"></td><td valign="top"><em>values</em> </td><td>A list of 3D vectors. </td></tr> |
---|
407 | <tr><td valign="top"></td><td valign="top"><em>lengthFactor</em> </td><td>An optional scale factor for all the 3D vectors. </td></tr> |
---|
408 | </table> |
---|
409 | </dl> |
---|
410 | <dl compact><dt><b>Returns:</b></dt><dd>The created XML tree node. </dd></dl> |
---|
411 | </td> |
---|
412 | </tr> |
---|
413 | </table> |
---|
414 | <a class="anchor" name="f992c1f603ae50dd4a4b3dbfdd7f0f22"></a><!-- doxytag: member="FUDaeWriter::AddArray" ref="f992c1f603ae50dd4a4b3dbfdd7f0f22" args="(xmlNode *parent, const char *id, const FMMatrix44List &values, float lengthFactor=1.0f)" --><p> |
---|
415 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
416 | <tr> |
---|
417 | <td class="mdRow"> |
---|
418 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
419 | <tr> |
---|
420 | <td class="md" nowrap valign="top">FCOLLADA_EXPORT xmlNode* FUDaeWriter::AddArray </td> |
---|
421 | <td class="md" valign="top">( </td> |
---|
422 | <td class="md" nowrap valign="top">xmlNode * </td> |
---|
423 | <td class="mdname" nowrap> <em>parent</em>, </td> |
---|
424 | </tr> |
---|
425 | <tr> |
---|
426 | <td class="md" nowrap align="right"></td> |
---|
427 | <td class="md"></td> |
---|
428 | <td class="md" nowrap>const char * </td> |
---|
429 | <td class="mdname" nowrap> <em>id</em>, </td> |
---|
430 | </tr> |
---|
431 | <tr> |
---|
432 | <td class="md" nowrap align="right"></td> |
---|
433 | <td class="md"></td> |
---|
434 | <td class="md" nowrap>const <a class="el" href="classvector.html">FMMatrix44List</a> & </td> |
---|
435 | <td class="mdname" nowrap> <em>values</em>, </td> |
---|
436 | </tr> |
---|
437 | <tr> |
---|
438 | <td class="md" nowrap align="right"></td> |
---|
439 | <td class="md"></td> |
---|
440 | <td class="md" nowrap>float </td> |
---|
441 | <td class="mdname" nowrap> <em>lengthFactor</em> = <code>1.0f</code></td> |
---|
442 | </tr> |
---|
443 | <tr> |
---|
444 | <td class="md"></td> |
---|
445 | <td class="md">) </td> |
---|
446 | <td class="md" colspan="2"></td> |
---|
447 | </tr> |
---|
448 | </table> |
---|
449 | </td> |
---|
450 | </tr> |
---|
451 | </table> |
---|
452 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
453 | <tr> |
---|
454 | <td> |
---|
455 | |
---|
456 | </td> |
---|
457 | <td> |
---|
458 | |
---|
459 | <p> |
---|
460 | Writes out a COLLADA array of matrices. |
---|
461 | <p> |
---|
462 | To write out data values, it is preferable to use the AddSourceX functions. <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
463 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
464 | <tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>The parent XML tree node. </td></tr> |
---|
465 | <tr><td valign="top"></td><td valign="top"><em>id</em> </td><td>The COLLADA id of the array. This id is used only by the accessor of a source. </td></tr> |
---|
466 | <tr><td valign="top"></td><td valign="top"><em>values</em> </td><td>A list of matrices. </td></tr> |
---|
467 | <tr><td valign="top"></td><td valign="top"><em>lengthFactor</em> </td><td>An optional scale factor for the translation column of the matrices. </td></tr> |
---|
468 | </table> |
---|
469 | </dl> |
---|
470 | <dl compact><dt><b>Returns:</b></dt><dd>The created XML tree node. </dd></dl> |
---|
471 | </td> |
---|
472 | </tr> |
---|
473 | </table> |
---|
474 | <a class="anchor" name="1807f0288366d4d91c9e6b0c84bfd0fb"></a><!-- doxytag: member="FUDaeWriter::AddArray" ref="1807f0288366d4d91c9e6b0c84bfd0fb" args="(xmlNode *parent, const char *id, const char *arrayType, const char *content, size_t count)" --><p> |
---|
475 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
476 | <tr> |
---|
477 | <td class="mdRow"> |
---|
478 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
479 | <tr> |
---|
480 | <td class="md" nowrap valign="top">FCOLLADA_EXPORT xmlNode* FUDaeWriter::AddArray </td> |
---|
481 | <td class="md" valign="top">( </td> |
---|
482 | <td class="md" nowrap valign="top">xmlNode * </td> |
---|
483 | <td class="mdname" nowrap> <em>parent</em>, </td> |
---|
484 | </tr> |
---|
485 | <tr> |
---|
486 | <td class="md" nowrap align="right"></td> |
---|
487 | <td class="md"></td> |
---|
488 | <td class="md" nowrap>const char * </td> |
---|
489 | <td class="mdname" nowrap> <em>id</em>, </td> |
---|
490 | </tr> |
---|
491 | <tr> |
---|
492 | <td class="md" nowrap align="right"></td> |
---|
493 | <td class="md"></td> |
---|
494 | <td class="md" nowrap>const char * </td> |
---|
495 | <td class="mdname" nowrap> <em>arrayType</em>, </td> |
---|
496 | </tr> |
---|
497 | <tr> |
---|
498 | <td class="md" nowrap align="right"></td> |
---|
499 | <td class="md"></td> |
---|
500 | <td class="md" nowrap>const char * </td> |
---|
501 | <td class="mdname" nowrap> <em>content</em>, </td> |
---|
502 | </tr> |
---|
503 | <tr> |
---|
504 | <td class="md" nowrap align="right"></td> |
---|
505 | <td class="md"></td> |
---|
506 | <td class="md" nowrap>size_t </td> |
---|
507 | <td class="mdname" nowrap> <em>count</em></td> |
---|
508 | </tr> |
---|
509 | <tr> |
---|
510 | <td class="md"></td> |
---|
511 | <td class="md">) </td> |
---|
512 | <td class="md" colspan="2"></td> |
---|
513 | </tr> |
---|
514 | </table> |
---|
515 | </td> |
---|
516 | </tr> |
---|
517 | </table> |
---|
518 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
519 | <tr> |
---|
520 | <td> |
---|
521 | |
---|
522 | </td> |
---|
523 | <td> |
---|
524 | |
---|
525 | <p> |
---|
526 | Writes out a COLLADA strongly-typed data array. |
---|
527 | <p> |
---|
528 | To write out data values, it is preferable to use the AddSourceX functions. <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
529 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
530 | <tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>The parent XML tree node. </td></tr> |
---|
531 | <tr><td valign="top"></td><td valign="top"><em>id</em> </td><td>The COLLADA id of the array. This id is used only by the accessor of a source. </td></tr> |
---|
532 | <tr><td valign="top"></td><td valign="top"><em>arrayType</em> </td><td>The strongly-typed name of the array. For example: <float_array>, <Name_array>. </td></tr> |
---|
533 | <tr><td valign="top"></td><td valign="top"><em>content</em> </td><td>The array content. </td></tr> |
---|
534 | <tr><td valign="top"></td><td valign="top"><em>count</em> </td><td>The number of entries within the content of the array. </td></tr> |
---|
535 | </table> |
---|
536 | </dl> |
---|
537 | <dl compact><dt><b>Returns:</b></dt><dd>The created XML tree node. </dd></dl> |
---|
538 | </td> |
---|
539 | </tr> |
---|
540 | </table> |
---|
541 | <a class="anchor" name="ba74c6f8b178411e99246c2198b68f4d"></a><!-- doxytag: member="FUDaeWriter::AddExtraTechniqueChild" ref="ba74c6f8b178411e99246c2198b68f4d" args="(xmlNode *parent, const char *profile)" --><p> |
---|
542 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
543 | <tr> |
---|
544 | <td class="mdRow"> |
---|
545 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
546 | <tr> |
---|
547 | <td class="md" nowrap valign="top">FCOLLADA_EXPORT xmlNode* FUDaeWriter::AddExtraTechniqueChild </td> |
---|
548 | <td class="md" valign="top">( </td> |
---|
549 | <td class="md" nowrap valign="top">xmlNode * </td> |
---|
550 | <td class="mdname" nowrap> <em>parent</em>, </td> |
---|
551 | </tr> |
---|
552 | <tr> |
---|
553 | <td class="md" nowrap align="right"></td> |
---|
554 | <td class="md"></td> |
---|
555 | <td class="md" nowrap>const char * </td> |
---|
556 | <td class="mdname" nowrap> <em>profile</em></td> |
---|
557 | </tr> |
---|
558 | <tr> |
---|
559 | <td class="md"></td> |
---|
560 | <td class="md">) </td> |
---|
561 | <td class="md" colspan="2"></td> |
---|
562 | </tr> |
---|
563 | </table> |
---|
564 | </td> |
---|
565 | </tr> |
---|
566 | </table> |
---|
567 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
568 | <tr> |
---|
569 | <td> |
---|
570 | |
---|
571 | </td> |
---|
572 | <td> |
---|
573 | |
---|
574 | <p> |
---|
575 | Writes out the <extra><technique> element unto the given parent xml tree node. |
---|
576 | <p> |
---|
577 | This function ensures that only one <extra> element exists and that only one <technique> element exists for the given profile. <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
578 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
579 | <tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>The parent XML tree node. </td></tr> |
---|
580 | <tr><td valign="top"></td><td valign="top"><em>profile</em> </td><td>The application-specific profile name. </td></tr> |
---|
581 | </table> |
---|
582 | </dl> |
---|
583 | <dl compact><dt><b>Returns:</b></dt><dd>The <technique> XML tree node. </dd></dl> |
---|
584 | </td> |
---|
585 | </tr> |
---|
586 | </table> |
---|
587 | <a class="anchor" name="62c95317985e2e1c8c096c469ac28de7"></a><!-- doxytag: member="FUDaeWriter::AddInput" ref="62c95317985e2e1c8c096c469ac28de7" args="(xmlNode *parent, const char *sourceId, const char *semantic, int32 offset=-1, int32 set=-1)" --><p> |
---|
588 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
589 | <tr> |
---|
590 | <td class="mdRow"> |
---|
591 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
592 | <tr> |
---|
593 | <td class="md" nowrap valign="top">FCOLLADA_EXPORT xmlNode* FUDaeWriter::AddInput </td> |
---|
594 | <td class="md" valign="top">( </td> |
---|
595 | <td class="md" nowrap valign="top">xmlNode * </td> |
---|
596 | <td class="mdname" nowrap> <em>parent</em>, </td> |
---|
597 | </tr> |
---|
598 | <tr> |
---|
599 | <td class="md" nowrap align="right"></td> |
---|
600 | <td class="md"></td> |
---|
601 | <td class="md" nowrap>const char * </td> |
---|
602 | <td class="mdname" nowrap> <em>sourceId</em>, </td> |
---|
603 | </tr> |
---|
604 | <tr> |
---|
605 | <td class="md" nowrap align="right"></td> |
---|
606 | <td class="md"></td> |
---|
607 | <td class="md" nowrap>const char * </td> |
---|
608 | <td class="mdname" nowrap> <em>semantic</em>, </td> |
---|
609 | </tr> |
---|
610 | <tr> |
---|
611 | <td class="md" nowrap align="right"></td> |
---|
612 | <td class="md"></td> |
---|
613 | <td class="md" nowrap>int32 </td> |
---|
614 | <td class="mdname" nowrap> <em>offset</em> = <code>-1</code>, </td> |
---|
615 | </tr> |
---|
616 | <tr> |
---|
617 | <td class="md" nowrap align="right"></td> |
---|
618 | <td class="md"></td> |
---|
619 | <td class="md" nowrap>int32 </td> |
---|
620 | <td class="mdname" nowrap> <em>set</em> = <code>-1</code></td> |
---|
621 | </tr> |
---|
622 | <tr> |
---|
623 | <td class="md"></td> |
---|
624 | <td class="md">) </td> |
---|
625 | <td class="md" colspan="2"></td> |
---|
626 | </tr> |
---|
627 | </table> |
---|
628 | </td> |
---|
629 | </tr> |
---|
630 | </table> |
---|
631 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
632 | <tr> |
---|
633 | <td> |
---|
634 | |
---|
635 | </td> |
---|
636 | <td> |
---|
637 | |
---|
638 | <p> |
---|
639 | Writes out a COLLADA input element. |
---|
640 | <p> |
---|
641 | This is a very common element. For example, it is used in the <polygons>, <sampler> and <joints> elements. A COLLADA input has the form: <input source='#source_id' semantic='' offset='' set=''/>. <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
642 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
643 | <tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>The parent XML tree node. </td></tr> |
---|
644 | <tr><td valign="top"></td><td valign="top"><em>sourceId</em> </td><td>The source attribute value. This is the COLLADA id of a valid <source> element. </td></tr> |
---|
645 | <tr><td valign="top"></td><td valign="top"><em>semantic</em> </td><td>The semantic attribute value. This is a valid COLLADA semantic. For example: POSITION, TEXCOORD, WEIGHT, IN_TANGENT. </td></tr> |
---|
646 | <tr><td valign="top"></td><td valign="top"><em>offset</em> </td><td>The optional offset attribute value. When used in conjunction with the <v> or the <p> elements, this is the offset for the input data indices within the interleaved indices. </td></tr> |
---|
647 | <tr><td valign="top"></td><td valign="top"><em>set</em> </td><td>The optional set attribute value. This unsigned integer is used to tied together multiple inputs. </td></tr> |
---|
648 | </table> |
---|
649 | </dl> |
---|
650 | <dl compact><dt><b>Returns:</b></dt><dd>The created <input> XML tree node. </dd></dl> |
---|
651 | </td> |
---|
652 | </tr> |
---|
653 | </table> |
---|
654 | <a class="anchor" name="22c9610efda063dbb28c4d40e4d24558"></a><!-- doxytag: member="FUDaeWriter::AddNodeSid" ref="22c9610efda063dbb28c4d40e4d24558" args="(xmlNode *node, const char *wantedSid)" --><p> |
---|
655 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
656 | <tr> |
---|
657 | <td class="mdRow"> |
---|
658 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
659 | <tr> |
---|
660 | <td class="md" nowrap valign="top">FCOLLADA_EXPORT string FUDaeWriter::AddNodeSid </td> |
---|
661 | <td class="md" valign="top">( </td> |
---|
662 | <td class="md" nowrap valign="top">xmlNode * </td> |
---|
663 | <td class="mdname" nowrap> <em>node</em>, </td> |
---|
664 | </tr> |
---|
665 | <tr> |
---|
666 | <td class="md" nowrap align="right"></td> |
---|
667 | <td class="md"></td> |
---|
668 | <td class="md" nowrap>const char * </td> |
---|
669 | <td class="mdname" nowrap> <em>wantedSid</em></td> |
---|
670 | </tr> |
---|
671 | <tr> |
---|
672 | <td class="md"></td> |
---|
673 | <td class="md">) </td> |
---|
674 | <td class="md" colspan="2"></td> |
---|
675 | </tr> |
---|
676 | </table> |
---|
677 | </td> |
---|
678 | </tr> |
---|
679 | </table> |
---|
680 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
681 | <tr> |
---|
682 | <td> |
---|
683 | |
---|
684 | </td> |
---|
685 | <td> |
---|
686 | |
---|
687 | <p> |
---|
688 | Adds the 'sid' attribute to a given XML tree node. |
---|
689 | <p> |
---|
690 | The sub-id is verified to ensure uniqueness within the scope. <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
691 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
692 | <tr><td valign="top"></td><td valign="top"><em>node</em> </td><td>The XML tree node. </td></tr> |
---|
693 | <tr><td valign="top"></td><td valign="top"><em>wantedSid</em> </td><td>The wanted sub-id. </td></tr> |
---|
694 | </table> |
---|
695 | </dl> |
---|
696 | <dl compact><dt><b>Returns:</b></dt><dd>The actual sub-id written to the XML tree node. </dd></dl> |
---|
697 | </td> |
---|
698 | </tr> |
---|
699 | </table> |
---|
700 | <a class="anchor" name="d0eeb471f60953186f1b18ad665c7ea5"></a><!-- doxytag: member="FUDaeWriter::AddParameter" ref="d0eeb471f60953186f1b18ad665c7ea5" args="(xmlNode *parent, const char *name, const char *type)" --><p> |
---|
701 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
702 | <tr> |
---|
703 | <td class="mdRow"> |
---|
704 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
705 | <tr> |
---|
706 | <td class="md" nowrap valign="top">FCOLLADA_EXPORT xmlNode* FUDaeWriter::AddParameter </td> |
---|
707 | <td class="md" valign="top">( </td> |
---|
708 | <td class="md" nowrap valign="top">xmlNode * </td> |
---|
709 | <td class="mdname" nowrap> <em>parent</em>, </td> |
---|
710 | </tr> |
---|
711 | <tr> |
---|
712 | <td class="md" nowrap align="right"></td> |
---|
713 | <td class="md"></td> |
---|
714 | <td class="md" nowrap>const char * </td> |
---|
715 | <td class="mdname" nowrap> <em>name</em>, </td> |
---|
716 | </tr> |
---|
717 | <tr> |
---|
718 | <td class="md" nowrap align="right"></td> |
---|
719 | <td class="md"></td> |
---|
720 | <td class="md" nowrap>const char * </td> |
---|
721 | <td class="mdname" nowrap> <em>type</em></td> |
---|
722 | </tr> |
---|
723 | <tr> |
---|
724 | <td class="md"></td> |
---|
725 | <td class="md">) </td> |
---|
726 | <td class="md" colspan="2"></td> |
---|
727 | </tr> |
---|
728 | </table> |
---|
729 | </td> |
---|
730 | </tr> |
---|
731 | </table> |
---|
732 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
733 | <tr> |
---|
734 | <td> |
---|
735 | |
---|
736 | </td> |
---|
737 | <td> |
---|
738 | |
---|
739 | <p> |
---|
740 | Writes out a COLLADA parameter element. |
---|
741 | <p> |
---|
742 | This is used for the source accessors. A COLLADA parameter has the form: <param name='' type=''>value</param>. <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
743 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
744 | <tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>The parent XML tree node. </td></tr> |
---|
745 | <tr><td valign="top"></td><td valign="top"><em>name</em> </td><td>The name attribute value. </td></tr> |
---|
746 | <tr><td valign="top"></td><td valign="top"><em>type</em> </td><td>The type attribute value. </td></tr> |
---|
747 | </table> |
---|
748 | </dl> |
---|
749 | <dl compact><dt><b>Returns:</b></dt><dd>The created <param> XML tree node. </dd></dl> |
---|
750 | </td> |
---|
751 | </tr> |
---|
752 | </table> |
---|
753 | <a class="anchor" name="920ffc2998d81c43f2f6fbe8656a7f71"></a><!-- doxytag: member="FUDaeWriter::AddSourceColor" ref="920ffc2998d81c43f2f6fbe8656a7f71" args="(xmlNode *parent, const char *id, const FMVector3List &values)" --><p> |
---|
754 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
755 | <tr> |
---|
756 | <td class="mdRow"> |
---|
757 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
758 | <tr> |
---|
759 | <td class="md" nowrap valign="top">FCOLLADA_EXPORT xmlNode* FUDaeWriter::AddSourceColor </td> |
---|
760 | <td class="md" valign="top">( </td> |
---|
761 | <td class="md" nowrap valign="top">xmlNode * </td> |
---|
762 | <td class="mdname" nowrap> <em>parent</em>, </td> |
---|
763 | </tr> |
---|
764 | <tr> |
---|
765 | <td class="md" nowrap align="right"></td> |
---|
766 | <td class="md"></td> |
---|
767 | <td class="md" nowrap>const char * </td> |
---|
768 | <td class="mdname" nowrap> <em>id</em>, </td> |
---|
769 | </tr> |
---|
770 | <tr> |
---|
771 | <td class="md" nowrap align="right"></td> |
---|
772 | <td class="md"></td> |
---|
773 | <td class="md" nowrap>const <a class="el" href="classvector.html">FMVector3List</a> & </td> |
---|
774 | <td class="mdname" nowrap> <em>values</em></td> |
---|
775 | </tr> |
---|
776 | <tr> |
---|
777 | <td class="md"></td> |
---|
778 | <td class="md">) </td> |
---|
779 | <td class="md" colspan="2"></td> |
---|
780 | </tr> |
---|
781 | </table> |
---|
782 | </td> |
---|
783 | </tr> |
---|
784 | </table> |
---|
785 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
786 | <tr> |
---|
787 | <td> |
---|
788 | |
---|
789 | </td> |
---|
790 | <td> |
---|
791 | |
---|
792 | <p> |
---|
793 | Writes out a COLLADA source of matrices. |
---|
794 | <p> |
---|
795 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
796 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
797 | <tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>The parent XML tree node. </td></tr> |
---|
798 | <tr><td valign="top"></td><td valign="top"><em>id</em> </td><td>The COLLADA id of the source. </td></tr> |
---|
799 | <tr><td valign="top"></td><td valign="top"><em>values</em> </td><td>The list of matrices. </td></tr> |
---|
800 | </table> |
---|
801 | </dl> |
---|
802 | <dl compact><dt><b>Returns:</b></dt><dd>The created XML tree node. </dd></dl> |
---|
803 | </td> |
---|
804 | </tr> |
---|
805 | </table> |
---|
806 | <a class="anchor" name="c21c15a6862299427e93dc5bfed94187"></a><!-- doxytag: member="FUDaeWriter::AddSourceFloat" ref="c21c15a6862299427e93dc5bfed94187" args="(xmlNode *parent, const char *id, const FloatList &values, const char *parameter=NULL, float lengthFactor=1.0f)" --><p> |
---|
807 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
808 | <tr> |
---|
809 | <td class="mdRow"> |
---|
810 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
811 | <tr> |
---|
812 | <td class="md" nowrap valign="top">FCOLLADA_EXPORT xmlNode* FUDaeWriter::AddSourceFloat </td> |
---|
813 | <td class="md" valign="top">( </td> |
---|
814 | <td class="md" nowrap valign="top">xmlNode * </td> |
---|
815 | <td class="mdname" nowrap> <em>parent</em>, </td> |
---|
816 | </tr> |
---|
817 | <tr> |
---|
818 | <td class="md" nowrap align="right"></td> |
---|
819 | <td class="md"></td> |
---|
820 | <td class="md" nowrap>const char * </td> |
---|
821 | <td class="mdname" nowrap> <em>id</em>, </td> |
---|
822 | </tr> |
---|
823 | <tr> |
---|
824 | <td class="md" nowrap align="right"></td> |
---|
825 | <td class="md"></td> |
---|
826 | <td class="md" nowrap>const <a class="el" href="classvector.html">FloatList</a> & </td> |
---|
827 | <td class="mdname" nowrap> <em>values</em>, </td> |
---|
828 | </tr> |
---|
829 | <tr> |
---|
830 | <td class="md" nowrap align="right"></td> |
---|
831 | <td class="md"></td> |
---|
832 | <td class="md" nowrap>const char * </td> |
---|
833 | <td class="mdname" nowrap> <em>parameter</em> = <code>NULL</code>, </td> |
---|
834 | </tr> |
---|
835 | <tr> |
---|
836 | <td class="md" nowrap align="right"></td> |
---|
837 | <td class="md"></td> |
---|
838 | <td class="md" nowrap>float </td> |
---|
839 | <td class="mdname" nowrap> <em>lengthFactor</em> = <code>1.0f</code></td> |
---|
840 | </tr> |
---|
841 | <tr> |
---|
842 | <td class="md"></td> |
---|
843 | <td class="md">) </td> |
---|
844 | <td class="md" colspan="2"></td> |
---|
845 | </tr> |
---|
846 | </table> |
---|
847 | </td> |
---|
848 | </tr> |
---|
849 | </table> |
---|
850 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
851 | <tr> |
---|
852 | <td> |
---|
853 | |
---|
854 | </td> |
---|
855 | <td> |
---|
856 | |
---|
857 | <p> |
---|
858 | Writes out a COLLADA source of floating-point values. |
---|
859 | <p> |
---|
860 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
861 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
862 | <tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>The parent XML tree node. </td></tr> |
---|
863 | <tr><td valign="top"></td><td valign="top"><em>id</em> </td><td>The COLLADA id of the source. </td></tr> |
---|
864 | <tr><td valign="top"></td><td valign="top"><em>values</em> </td><td>The list of floating-point values. </td></tr> |
---|
865 | <tr><td valign="top"></td><td valign="top"><em>parameter</em> </td><td>The accessor parameter name. Some valid parameter names are available in the <a class="el" href="struct_f_u_dae_writer_1_1_f_u_dae_accessor.html">FUDaeAccessor</a> class. </td></tr> |
---|
866 | <tr><td valign="top"></td><td valign="top"><em>lengthFactor</em> </td><td>An optional scale factor for all the floating-point values. </td></tr> |
---|
867 | </table> |
---|
868 | </dl> |
---|
869 | <dl compact><dt><b>Returns:</b></dt><dd>The created XML tree node. </dd></dl> |
---|
870 | </td> |
---|
871 | </tr> |
---|
872 | </table> |
---|
873 | <a class="anchor" name="cc47ccc7300dcad210d180b953198a35"></a><!-- doxytag: member="FUDaeWriter::AddSourceFloat" ref="cc47ccc7300dcad210d180b953198a35" args="(xmlNode *parent, const char *id, const FloatList &values, size_t stride=1, const char **parameters=NULL, float lengthFactor=1.0f)" --><p> |
---|
874 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
875 | <tr> |
---|
876 | <td class="mdRow"> |
---|
877 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
878 | <tr> |
---|
879 | <td class="md" nowrap valign="top">FCOLLADA_EXPORT xmlNode* FUDaeWriter::AddSourceFloat </td> |
---|
880 | <td class="md" valign="top">( </td> |
---|
881 | <td class="md" nowrap valign="top">xmlNode * </td> |
---|
882 | <td class="mdname" nowrap> <em>parent</em>, </td> |
---|
883 | </tr> |
---|
884 | <tr> |
---|
885 | <td class="md" nowrap align="right"></td> |
---|
886 | <td class="md"></td> |
---|
887 | <td class="md" nowrap>const char * </td> |
---|
888 | <td class="mdname" nowrap> <em>id</em>, </td> |
---|
889 | </tr> |
---|
890 | <tr> |
---|
891 | <td class="md" nowrap align="right"></td> |
---|
892 | <td class="md"></td> |
---|
893 | <td class="md" nowrap>const <a class="el" href="classvector.html">FloatList</a> & </td> |
---|
894 | <td class="mdname" nowrap> <em>values</em>, </td> |
---|
895 | </tr> |
---|
896 | <tr> |
---|
897 | <td class="md" nowrap align="right"></td> |
---|
898 | <td class="md"></td> |
---|
899 | <td class="md" nowrap>size_t </td> |
---|
900 | <td class="mdname" nowrap> <em>stride</em> = <code>1</code>, </td> |
---|
901 | </tr> |
---|
902 | <tr> |
---|
903 | <td class="md" nowrap align="right"></td> |
---|
904 | <td class="md"></td> |
---|
905 | <td class="md" nowrap>const char ** </td> |
---|
906 | <td class="mdname" nowrap> <em>parameters</em> = <code>NULL</code>, </td> |
---|
907 | </tr> |
---|
908 | <tr> |
---|
909 | <td class="md" nowrap align="right"></td> |
---|
910 | <td class="md"></td> |
---|
911 | <td class="md" nowrap>float </td> |
---|
912 | <td class="mdname" nowrap> <em>lengthFactor</em> = <code>1.0f</code></td> |
---|
913 | </tr> |
---|
914 | <tr> |
---|
915 | <td class="md"></td> |
---|
916 | <td class="md">) </td> |
---|
917 | <td class="md" colspan="2"></td> |
---|
918 | </tr> |
---|
919 | </table> |
---|
920 | </td> |
---|
921 | </tr> |
---|
922 | </table> |
---|
923 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
924 | <tr> |
---|
925 | <td> |
---|
926 | |
---|
927 | </td> |
---|
928 | <td> |
---|
929 | |
---|
930 | <p> |
---|
931 | Writes out a COLLADA multi-dimensional source of floating-point values. |
---|
932 | <p> |
---|
933 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
934 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
935 | <tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>The parent XML tree node. </td></tr> |
---|
936 | <tr><td valign="top"></td><td valign="top"><em>id</em> </td><td>The COLLADA id of the source. </td></tr> |
---|
937 | <tr><td valign="top"></td><td valign="top"><em>values</em> </td><td>The list of floating-point values. </td></tr> |
---|
938 | <tr><td valign="top"></td><td valign="top"><em>stride</em> </td><td>The number of dimensions. This is the number of floating-point values that should be used together to create one element. </td></tr> |
---|
939 | <tr><td valign="top"></td><td valign="top"><em>parameters</em> </td><td>The list of accessor parameter names. Some valid parameter names are available in the <a class="el" href="struct_f_u_dae_writer_1_1_f_u_dae_accessor.html">FUDaeAccessor</a> class. </td></tr> |
---|
940 | <tr><td valign="top"></td><td valign="top"><em>lengthFactor</em> </td><td>An optional scale factor for all the floating-point values. </td></tr> |
---|
941 | </table> |
---|
942 | </dl> |
---|
943 | <dl compact><dt><b>Returns:</b></dt><dd>The created XML tree node. </dd></dl> |
---|
944 | </td> |
---|
945 | </tr> |
---|
946 | </table> |
---|
947 | <a class="anchor" name="21850e4e4c090482eb72cc5b1c9abf63"></a><!-- doxytag: member="FUDaeWriter::AddSourceIDRef" ref="21850e4e4c090482eb72cc5b1c9abf63" args="(xmlNode *parent, const char *id, const StringList &values, const char *parameter=NULL)" --><p> |
---|
948 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
949 | <tr> |
---|
950 | <td class="mdRow"> |
---|
951 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
952 | <tr> |
---|
953 | <td class="md" nowrap valign="top">FCOLLADA_EXPORT xmlNode* FUDaeWriter::AddSourceIDRef </td> |
---|
954 | <td class="md" valign="top">( </td> |
---|
955 | <td class="md" nowrap valign="top">xmlNode * </td> |
---|
956 | <td class="mdname" nowrap> <em>parent</em>, </td> |
---|
957 | </tr> |
---|
958 | <tr> |
---|
959 | <td class="md" nowrap align="right"></td> |
---|
960 | <td class="md"></td> |
---|
961 | <td class="md" nowrap>const char * </td> |
---|
962 | <td class="mdname" nowrap> <em>id</em>, </td> |
---|
963 | </tr> |
---|
964 | <tr> |
---|
965 | <td class="md" nowrap align="right"></td> |
---|
966 | <td class="md"></td> |
---|
967 | <td class="md" nowrap>const <a class="el" href="classvector.html">StringList</a> & </td> |
---|
968 | <td class="mdname" nowrap> <em>values</em>, </td> |
---|
969 | </tr> |
---|
970 | <tr> |
---|
971 | <td class="md" nowrap align="right"></td> |
---|
972 | <td class="md"></td> |
---|
973 | <td class="md" nowrap>const char * </td> |
---|
974 | <td class="mdname" nowrap> <em>parameter</em> = <code>NULL</code></td> |
---|
975 | </tr> |
---|
976 | <tr> |
---|
977 | <td class="md"></td> |
---|
978 | <td class="md">) </td> |
---|
979 | <td class="md" colspan="2"></td> |
---|
980 | </tr> |
---|
981 | </table> |
---|
982 | </td> |
---|
983 | </tr> |
---|
984 | </table> |
---|
985 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
986 | <tr> |
---|
987 | <td> |
---|
988 | |
---|
989 | </td> |
---|
990 | <td> |
---|
991 | |
---|
992 | <p> |
---|
993 | Writes out a COLLADA source of COLLADA references. |
---|
994 | <p> |
---|
995 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
996 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
997 | <tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>The parent XML tree node. </td></tr> |
---|
998 | <tr><td valign="top"></td><td valign="top"><em>id</em> </td><td>The COLLADA id of the source. </td></tr> |
---|
999 | <tr><td valign="top"></td><td valign="top"><em>values</em> </td><td>The list of COLLADA references. </td></tr> |
---|
1000 | <tr><td valign="top"></td><td valign="top"><em>parameter</em> </td><td>The name of the accessor parameter. </td></tr> |
---|
1001 | </table> |
---|
1002 | </dl> |
---|
1003 | <dl compact><dt><b>Returns:</b></dt><dd>The created XML tree node. </dd></dl> |
---|
1004 | </td> |
---|
1005 | </tr> |
---|
1006 | </table> |
---|
1007 | <a class="anchor" name="2b7d10055ceaa7f2ca6a35cd9e36ac9e"></a><!-- doxytag: member="FUDaeWriter::AddSourceInterpolation" ref="2b7d10055ceaa7f2ca6a35cd9e36ac9e" args="(xmlNode *parent, const char *id, const FUDaeInterpolationList &interpolations)" --><p> |
---|
1008 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1009 | <tr> |
---|
1010 | <td class="mdRow"> |
---|
1011 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1012 | <tr> |
---|
1013 | <td class="md" nowrap valign="top">FCOLLADA_EXPORT xmlNode* FUDaeWriter::AddSourceInterpolation </td> |
---|
1014 | <td class="md" valign="top">( </td> |
---|
1015 | <td class="md" nowrap valign="top">xmlNode * </td> |
---|
1016 | <td class="mdname" nowrap> <em>parent</em>, </td> |
---|
1017 | </tr> |
---|
1018 | <tr> |
---|
1019 | <td class="md" nowrap align="right"></td> |
---|
1020 | <td class="md"></td> |
---|
1021 | <td class="md" nowrap>const char * </td> |
---|
1022 | <td class="mdname" nowrap> <em>id</em>, </td> |
---|
1023 | </tr> |
---|
1024 | <tr> |
---|
1025 | <td class="md" nowrap align="right"></td> |
---|
1026 | <td class="md"></td> |
---|
1027 | <td class="md" nowrap>const <a class="el" href="classvector.html">FUDaeInterpolationList</a> & </td> |
---|
1028 | <td class="mdname" nowrap> <em>interpolations</em></td> |
---|
1029 | </tr> |
---|
1030 | <tr> |
---|
1031 | <td class="md"></td> |
---|
1032 | <td class="md">) </td> |
---|
1033 | <td class="md" colspan="2"></td> |
---|
1034 | </tr> |
---|
1035 | </table> |
---|
1036 | </td> |
---|
1037 | </tr> |
---|
1038 | </table> |
---|
1039 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1040 | <tr> |
---|
1041 | <td> |
---|
1042 | |
---|
1043 | </td> |
---|
1044 | <td> |
---|
1045 | |
---|
1046 | <p> |
---|
1047 | Writes out a COLLADA source of interpolation tokens. |
---|
1048 | <p> |
---|
1049 | This function is used within the export of animation curves. <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
1050 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
1051 | <tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>The parent XML tree node. </td></tr> |
---|
1052 | <tr><td valign="top"></td><td valign="top"><em>id</em> </td><td>The COLLADA id of the source. </td></tr> |
---|
1053 | <tr><td valign="top"></td><td valign="top"><em>interpolations</em> </td><td>The list of interpolation tokens. </td></tr> |
---|
1054 | </table> |
---|
1055 | </dl> |
---|
1056 | <dl compact><dt><b>Returns:</b></dt><dd>The created XML tree node. </dd></dl> |
---|
1057 | </td> |
---|
1058 | </tr> |
---|
1059 | </table> |
---|
1060 | <a class="anchor" name="2c5fe8f1dff0f7df32e71bda75459da8"></a><!-- doxytag: member="FUDaeWriter::AddSourceMatrix" ref="2c5fe8f1dff0f7df32e71bda75459da8" args="(xmlNode *parent, const char *id, const FMMatrix44List &values, float lengthFactor=1.0f)" --><p> |
---|
1061 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1062 | <tr> |
---|
1063 | <td class="mdRow"> |
---|
1064 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1065 | <tr> |
---|
1066 | <td class="md" nowrap valign="top">FCOLLADA_EXPORT xmlNode* FUDaeWriter::AddSourceMatrix </td> |
---|
1067 | <td class="md" valign="top">( </td> |
---|
1068 | <td class="md" nowrap valign="top">xmlNode * </td> |
---|
1069 | <td class="mdname" nowrap> <em>parent</em>, </td> |
---|
1070 | </tr> |
---|
1071 | <tr> |
---|
1072 | <td class="md" nowrap align="right"></td> |
---|
1073 | <td class="md"></td> |
---|
1074 | <td class="md" nowrap>const char * </td> |
---|
1075 | <td class="mdname" nowrap> <em>id</em>, </td> |
---|
1076 | </tr> |
---|
1077 | <tr> |
---|
1078 | <td class="md" nowrap align="right"></td> |
---|
1079 | <td class="md"></td> |
---|
1080 | <td class="md" nowrap>const <a class="el" href="classvector.html">FMMatrix44List</a> & </td> |
---|
1081 | <td class="mdname" nowrap> <em>values</em>, </td> |
---|
1082 | </tr> |
---|
1083 | <tr> |
---|
1084 | <td class="md" nowrap align="right"></td> |
---|
1085 | <td class="md"></td> |
---|
1086 | <td class="md" nowrap>float </td> |
---|
1087 | <td class="mdname" nowrap> <em>lengthFactor</em> = <code>1.0f</code></td> |
---|
1088 | </tr> |
---|
1089 | <tr> |
---|
1090 | <td class="md"></td> |
---|
1091 | <td class="md">) </td> |
---|
1092 | <td class="md" colspan="2"></td> |
---|
1093 | </tr> |
---|
1094 | </table> |
---|
1095 | </td> |
---|
1096 | </tr> |
---|
1097 | </table> |
---|
1098 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1099 | <tr> |
---|
1100 | <td> |
---|
1101 | |
---|
1102 | </td> |
---|
1103 | <td> |
---|
1104 | |
---|
1105 | <p> |
---|
1106 | Writes out a COLLADA source of matrices. |
---|
1107 | <p> |
---|
1108 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
1109 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
1110 | <tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>The parent XML tree node. </td></tr> |
---|
1111 | <tr><td valign="top"></td><td valign="top"><em>id</em> </td><td>The COLLADA id of the source. </td></tr> |
---|
1112 | <tr><td valign="top"></td><td valign="top"><em>values</em> </td><td>The list of matrices. </td></tr> |
---|
1113 | <tr><td valign="top"></td><td valign="top"><em>lengthFactor</em> </td><td>An optional scale factor for all the floating-point values. </td></tr> |
---|
1114 | </table> |
---|
1115 | </dl> |
---|
1116 | <dl compact><dt><b>Returns:</b></dt><dd>The created XML tree node. </dd></dl> |
---|
1117 | </td> |
---|
1118 | </tr> |
---|
1119 | </table> |
---|
1120 | <a class="anchor" name="d6f46fca62a90efa7a06beff638d9a63"></a><!-- doxytag: member="FUDaeWriter::AddSourcePosition" ref="d6f46fca62a90efa7a06beff638d9a63" args="(xmlNode *parent, const char *id, const FMVector3List &values, float lengthFactor=1.0f)" --><p> |
---|
1121 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1122 | <tr> |
---|
1123 | <td class="mdRow"> |
---|
1124 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1125 | <tr> |
---|
1126 | <td class="md" nowrap valign="top">FCOLLADA_EXPORT xmlNode* FUDaeWriter::AddSourcePosition </td> |
---|
1127 | <td class="md" valign="top">( </td> |
---|
1128 | <td class="md" nowrap valign="top">xmlNode * </td> |
---|
1129 | <td class="mdname" nowrap> <em>parent</em>, </td> |
---|
1130 | </tr> |
---|
1131 | <tr> |
---|
1132 | <td class="md" nowrap align="right"></td> |
---|
1133 | <td class="md"></td> |
---|
1134 | <td class="md" nowrap>const char * </td> |
---|
1135 | <td class="mdname" nowrap> <em>id</em>, </td> |
---|
1136 | </tr> |
---|
1137 | <tr> |
---|
1138 | <td class="md" nowrap align="right"></td> |
---|
1139 | <td class="md"></td> |
---|
1140 | <td class="md" nowrap>const <a class="el" href="classvector.html">FMVector3List</a> & </td> |
---|
1141 | <td class="mdname" nowrap> <em>values</em>, </td> |
---|
1142 | </tr> |
---|
1143 | <tr> |
---|
1144 | <td class="md" nowrap align="right"></td> |
---|
1145 | <td class="md"></td> |
---|
1146 | <td class="md" nowrap>float </td> |
---|
1147 | <td class="mdname" nowrap> <em>lengthFactor</em> = <code>1.0f</code></td> |
---|
1148 | </tr> |
---|
1149 | <tr> |
---|
1150 | <td class="md"></td> |
---|
1151 | <td class="md">) </td> |
---|
1152 | <td class="md" colspan="2"></td> |
---|
1153 | </tr> |
---|
1154 | </table> |
---|
1155 | </td> |
---|
1156 | </tr> |
---|
1157 | </table> |
---|
1158 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1159 | <tr> |
---|
1160 | <td> |
---|
1161 | |
---|
1162 | </td> |
---|
1163 | <td> |
---|
1164 | |
---|
1165 | <p> |
---|
1166 | Writes out a COLLADA source of 3D positions or vectors. |
---|
1167 | <p> |
---|
1168 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
1169 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
1170 | <tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>The parent XML tree node. </td></tr> |
---|
1171 | <tr><td valign="top"></td><td valign="top"><em>id</em> </td><td>The COLLADA id of the source. </td></tr> |
---|
1172 | <tr><td valign="top"></td><td valign="top"><em>values</em> </td><td>The list of 3D vectors. </td></tr> |
---|
1173 | <tr><td valign="top"></td><td valign="top"><em>lengthFactor</em> </td><td>An optional scale factor for all the 3D vectors. </td></tr> |
---|
1174 | </table> |
---|
1175 | </dl> |
---|
1176 | <dl compact><dt><b>Returns:</b></dt><dd>The created XML tree node. </dd></dl> |
---|
1177 | </td> |
---|
1178 | </tr> |
---|
1179 | </table> |
---|
1180 | <a class="anchor" name="05e0524827a1927b6c1cc528deeec566"></a><!-- doxytag: member="FUDaeWriter::AddSourceString" ref="05e0524827a1927b6c1cc528deeec566" args="(xmlNode *parent, const char *id, const StringList &values, const char *parameter=NULL)" --><p> |
---|
1181 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1182 | <tr> |
---|
1183 | <td class="mdRow"> |
---|
1184 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1185 | <tr> |
---|
1186 | <td class="md" nowrap valign="top">FCOLLADA_EXPORT xmlNode* FUDaeWriter::AddSourceString </td> |
---|
1187 | <td class="md" valign="top">( </td> |
---|
1188 | <td class="md" nowrap valign="top">xmlNode * </td> |
---|
1189 | <td class="mdname" nowrap> <em>parent</em>, </td> |
---|
1190 | </tr> |
---|
1191 | <tr> |
---|
1192 | <td class="md" nowrap align="right"></td> |
---|
1193 | <td class="md"></td> |
---|
1194 | <td class="md" nowrap>const char * </td> |
---|
1195 | <td class="mdname" nowrap> <em>id</em>, </td> |
---|
1196 | </tr> |
---|
1197 | <tr> |
---|
1198 | <td class="md" nowrap align="right"></td> |
---|
1199 | <td class="md"></td> |
---|
1200 | <td class="md" nowrap>const <a class="el" href="classvector.html">StringList</a> & </td> |
---|
1201 | <td class="mdname" nowrap> <em>values</em>, </td> |
---|
1202 | </tr> |
---|
1203 | <tr> |
---|
1204 | <td class="md" nowrap align="right"></td> |
---|
1205 | <td class="md"></td> |
---|
1206 | <td class="md" nowrap>const char * </td> |
---|
1207 | <td class="mdname" nowrap> <em>parameter</em> = <code>NULL</code></td> |
---|
1208 | </tr> |
---|
1209 | <tr> |
---|
1210 | <td class="md"></td> |
---|
1211 | <td class="md">) </td> |
---|
1212 | <td class="md" colspan="2"></td> |
---|
1213 | </tr> |
---|
1214 | </table> |
---|
1215 | </td> |
---|
1216 | </tr> |
---|
1217 | </table> |
---|
1218 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1219 | <tr> |
---|
1220 | <td> |
---|
1221 | |
---|
1222 | </td> |
---|
1223 | <td> |
---|
1224 | |
---|
1225 | <p> |
---|
1226 | Writes out a COLLADA source of UTF-8 tokens. |
---|
1227 | <p> |
---|
1228 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
1229 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
1230 | <tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>The parent XML tree node. </td></tr> |
---|
1231 | <tr><td valign="top"></td><td valign="top"><em>id</em> </td><td>The COLLADA id of the source. </td></tr> |
---|
1232 | <tr><td valign="top"></td><td valign="top"><em>values</em> </td><td>The list of UTF-8 tokens. This list will be space- separated within the COLLADA document, so you none of the token should have spaces in them. </td></tr> |
---|
1233 | <tr><td valign="top"></td><td valign="top"><em>parameter</em> </td><td>The name of the accessor parameter. </td></tr> |
---|
1234 | </table> |
---|
1235 | </dl> |
---|
1236 | <dl compact><dt><b>Returns:</b></dt><dd>The created XML tree node. </dd></dl> |
---|
1237 | </td> |
---|
1238 | </tr> |
---|
1239 | </table> |
---|
1240 | <a class="anchor" name="2a6e6caaafcd0b20c8e1daccd03e4a71"></a><!-- doxytag: member="FUDaeWriter::AddSourceTexcoord" ref="2a6e6caaafcd0b20c8e1daccd03e4a71" args="(xmlNode *parent, const char *id, const FMVector3List &values)" --><p> |
---|
1241 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1242 | <tr> |
---|
1243 | <td class="mdRow"> |
---|
1244 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1245 | <tr> |
---|
1246 | <td class="md" nowrap valign="top">FCOLLADA_EXPORT xmlNode* FUDaeWriter::AddSourceTexcoord </td> |
---|
1247 | <td class="md" valign="top">( </td> |
---|
1248 | <td class="md" nowrap valign="top">xmlNode * </td> |
---|
1249 | <td class="mdname" nowrap> <em>parent</em>, </td> |
---|
1250 | </tr> |
---|
1251 | <tr> |
---|
1252 | <td class="md" nowrap align="right"></td> |
---|
1253 | <td class="md"></td> |
---|
1254 | <td class="md" nowrap>const char * </td> |
---|
1255 | <td class="mdname" nowrap> <em>id</em>, </td> |
---|
1256 | </tr> |
---|
1257 | <tr> |
---|
1258 | <td class="md" nowrap align="right"></td> |
---|
1259 | <td class="md"></td> |
---|
1260 | <td class="md" nowrap>const <a class="el" href="classvector.html">FMVector3List</a> & </td> |
---|
1261 | <td class="mdname" nowrap> <em>values</em></td> |
---|
1262 | </tr> |
---|
1263 | <tr> |
---|
1264 | <td class="md"></td> |
---|
1265 | <td class="md">) </td> |
---|
1266 | <td class="md" colspan="2"></td> |
---|
1267 | </tr> |
---|
1268 | </table> |
---|
1269 | </td> |
---|
1270 | </tr> |
---|
1271 | </table> |
---|
1272 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1273 | <tr> |
---|
1274 | <td> |
---|
1275 | |
---|
1276 | </td> |
---|
1277 | <td> |
---|
1278 | |
---|
1279 | <p> |
---|
1280 | Writes out a COLLADA source of texture coordinates. |
---|
1281 | <p> |
---|
1282 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
1283 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
1284 | <tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>The parent XML tree node. </td></tr> |
---|
1285 | <tr><td valign="top"></td><td valign="top"><em>id</em> </td><td>The COLLADA id of the source. </td></tr> |
---|
1286 | <tr><td valign="top"></td><td valign="top"><em>values</em> </td><td>The list of 3D texture coordinates. </td></tr> |
---|
1287 | </table> |
---|
1288 | </dl> |
---|
1289 | <dl compact><dt><b>Returns:</b></dt><dd>The created XML tree node. </dd></dl> |
---|
1290 | </td> |
---|
1291 | </tr> |
---|
1292 | </table> |
---|
1293 | <a class="anchor" name="01b325c6912d018abbcaae463a1eff14"></a><!-- doxytag: member="FUDaeWriter::AddTechniqueChild" ref="01b325c6912d018abbcaae463a1eff14" args="(xmlNode *parent, const char *profile)" --><p> |
---|
1294 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1295 | <tr> |
---|
1296 | <td class="mdRow"> |
---|
1297 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1298 | <tr> |
---|
1299 | <td class="md" nowrap valign="top">FCOLLADA_EXPORT xmlNode* FUDaeWriter::AddTechniqueChild </td> |
---|
1300 | <td class="md" valign="top">( </td> |
---|
1301 | <td class="md" nowrap valign="top">xmlNode * </td> |
---|
1302 | <td class="mdname" nowrap> <em>parent</em>, </td> |
---|
1303 | </tr> |
---|
1304 | <tr> |
---|
1305 | <td class="md" nowrap align="right"></td> |
---|
1306 | <td class="md"></td> |
---|
1307 | <td class="md" nowrap>const char * </td> |
---|
1308 | <td class="mdname" nowrap> <em>profile</em></td> |
---|
1309 | </tr> |
---|
1310 | <tr> |
---|
1311 | <td class="md"></td> |
---|
1312 | <td class="md">) </td> |
---|
1313 | <td class="md" colspan="2"></td> |
---|
1314 | </tr> |
---|
1315 | </table> |
---|
1316 | </td> |
---|
1317 | </tr> |
---|
1318 | </table> |
---|
1319 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1320 | <tr> |
---|
1321 | <td> |
---|
1322 | |
---|
1323 | </td> |
---|
1324 | <td> |
---|
1325 | |
---|
1326 | <p> |
---|
1327 | Writes out the <technique> element unto the given parent xml tree node. |
---|
1328 | <p> |
---|
1329 | This function ensures that only one <technique> element exists for the given profile. <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
1330 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
1331 | <tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>The parent XML tree node. </td></tr> |
---|
1332 | <tr><td valign="top"></td><td valign="top"><em>profile</em> </td><td>The application-specific profile name. </td></tr> |
---|
1333 | </table> |
---|
1334 | </dl> |
---|
1335 | <dl compact><dt><b>Returns:</b></dt><dd>The <technique> XML tree node. </dd></dl> |
---|
1336 | </td> |
---|
1337 | </tr> |
---|
1338 | </table> |
---|
1339 | <a class="anchor" name="c8feb3ed6608efb4413939a415871934"></a><!-- doxytag: member="FUDaeWriter::CleanId" ref="c8feb3ed6608efb4413939a415871934" args="(const char *id)" --><p> |
---|
1340 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1341 | <tr> |
---|
1342 | <td class="mdRow"> |
---|
1343 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1344 | <tr> |
---|
1345 | <td class="md" nowrap valign="top">FCOLLADA_EXPORT string FUDaeWriter::CleanId </td> |
---|
1346 | <td class="md" valign="top">( </td> |
---|
1347 | <td class="md" nowrap valign="top">const char * </td> |
---|
1348 | <td class="mdname1" valign="top" nowrap> <em>id</em> </td> |
---|
1349 | <td class="md" valign="top"> ) </td> |
---|
1350 | <td class="md" nowrap></td> |
---|
1351 | </tr> |
---|
1352 | </table> |
---|
1353 | </td> |
---|
1354 | </tr> |
---|
1355 | </table> |
---|
1356 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1357 | <tr> |
---|
1358 | <td> |
---|
1359 | |
---|
1360 | </td> |
---|
1361 | <td> |
---|
1362 | |
---|
1363 | <p> |
---|
1364 | Cleans up a given name into a valid COLLADA id. |
---|
1365 | <p> |
---|
1366 | This function does no check for uniqueness. <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
1367 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
1368 | <tr><td valign="top"></td><td valign="top"><em>id</em> </td><td>A name. </td></tr> |
---|
1369 | </table> |
---|
1370 | </dl> |
---|
1371 | <dl compact><dt><b>Returns:</b></dt><dd>A valid COLLADA id. </dd></dl> |
---|
1372 | </td> |
---|
1373 | </tr> |
---|
1374 | </table> |
---|
1375 | <a class="anchor" name="b6593048f3e1669fb4c885f7fdf094ce"></a><!-- doxytag: member="FUDaeWriter::CleanName" ref="b6593048f3e1669fb4c885f7fdf094ce" args="(const fchar *name)" --><p> |
---|
1376 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1377 | <tr> |
---|
1378 | <td class="mdRow"> |
---|
1379 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1380 | <tr> |
---|
1381 | <td class="md" nowrap valign="top">FCOLLADA_EXPORT fstring FUDaeWriter::CleanName </td> |
---|
1382 | <td class="md" valign="top">( </td> |
---|
1383 | <td class="md" nowrap valign="top">const fchar * </td> |
---|
1384 | <td class="mdname1" valign="top" nowrap> <em>name</em> </td> |
---|
1385 | <td class="md" valign="top"> ) </td> |
---|
1386 | <td class="md" nowrap></td> |
---|
1387 | </tr> |
---|
1388 | </table> |
---|
1389 | </td> |
---|
1390 | </tr> |
---|
1391 | </table> |
---|
1392 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1393 | <tr> |
---|
1394 | <td> |
---|
1395 | |
---|
1396 | </td> |
---|
1397 | <td> |
---|
1398 | |
---|
1399 | <p> |
---|
1400 | Cleans up a given name into a valid COLLADA name. |
---|
1401 | <p> |
---|
1402 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
1403 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
1404 | <tr><td valign="top"></td><td valign="top"><em>name</em> </td><td>A name. </td></tr> |
---|
1405 | </table> |
---|
1406 | </dl> |
---|
1407 | <dl compact><dt><b>Returns:</b></dt><dd>A valid COLLADA name. </dd></dl> |
---|
1408 | </td> |
---|
1409 | </tr> |
---|
1410 | </table> |
---|
1411 | <hr size="1"><address style="align: right;"><small>Generated on Fri May 12 16:44:45 2006 for FCollada by |
---|
1412 | <a href="http://www.doxygen.org/index.html"> |
---|
1413 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6-NO </small></address> |
---|
1414 | </body> |
---|
1415 | </html> |
---|