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: FCDSkinController Class Reference</title> |
---|
4 | <link href="doxygen.css" rel="stylesheet" type="text/css"> |
---|
5 | <link href="tabs.css" rel="stylesheet" type="text/css"> |
---|
6 | </head><body> |
---|
7 | <!-- Generated by Doxygen 1.4.6-NO --> |
---|
8 | <div class="tabs"> |
---|
9 | <ul> |
---|
10 | <li><a href="index.html"><span>Main Page</span></a></li> |
---|
11 | <li><a href="modules.html"><span>Modules</span></a></li> |
---|
12 | <li><a href="namespaces.html"><span>Namespaces</span></a></li> |
---|
13 | <li id="current"><a href="classes.html"><span>Classes</span></a></li> |
---|
14 | <li><a href="files.html"><span>Files</span></a></li> |
---|
15 | <li><a href="pages.html"><span>Related Pages</span></a></li> |
---|
16 | </ul></div> |
---|
17 | <div class="tabs"> |
---|
18 | <ul> |
---|
19 | <li><a href="classes.html"><span>Alphabetical List</span></a></li> |
---|
20 | <li><a href="annotated.html"><span>Class List</span></a></li> |
---|
21 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
---|
22 | <li><a href="functions.html"><span>Class Members</span></a></li> |
---|
23 | </ul></div> |
---|
24 | <h1>FCDSkinController Class Reference<br> |
---|
25 | <small> |
---|
26 | [<a class="el" href="group___f_c_d_geometry.html">COLLADA Document Geometry Entity</a>]</small> |
---|
27 | </h1><!-- doxytag: class="FCDSkinController" --><!-- doxytag: inherits="FCDObject" -->A COLLADA skin controller. |
---|
28 | <a href="#_details">More...</a> |
---|
29 | <p> |
---|
30 | <code>#include <<a class="el" href="_f_c_d_skin_controller_8h-source.html">FCDSkinController.h</a>></code> |
---|
31 | <p> |
---|
32 | <p>Inheritance diagram for FCDSkinController: |
---|
33 | <p><center><img src="class_f_c_d_skin_controller.png" usemap="#FCDSkinController_map" border="0" alt=""></center> |
---|
34 | <map name="FCDSkinController_map"> |
---|
35 | <area href="class_f_c_d_object.html" alt="FCDObject" shape="rect" coords="0,56,118,80"> |
---|
36 | <area href="class_f_u_object.html" alt="FUObject" shape="rect" coords="0,0,118,24"> |
---|
37 | </map> |
---|
38 | <a href="class_f_c_d_skin_controller-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
---|
39 | <tr><td></td></tr> |
---|
40 | <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
---|
41 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_skin_controller.html#15bfb70a67633c1a87e4ea887e1bff85">FCDSkinController</a> (<a class="el" href="class_f_c_document.html">FCDocument</a> *document, <a class="el" href="class_f_c_d_controller.html">FCDController</a> *parent)</td></tr> |
---|
42 | |
---|
43 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor: do not use directly. <a href="#15bfb70a67633c1a87e4ea887e1bff85"></a><br></td></tr> |
---|
44 | <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_skin_controller.html#ff4f6b3062c267cfb412a045f66d62fd">~FCDSkinController</a> ()</td></tr> |
---|
45 | |
---|
46 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor: do not use directly. <a href="#ff4f6b3062c267cfb412a045f66d62fd"></a><br></td></tr> |
---|
47 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_c_d_entity.html">FCDEntity</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_skin_controller.html#20318bd59ae1e95005eb7ac59a314dae">GetTarget</a> ()</td></tr> |
---|
48 | |
---|
49 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the target entity. <a href="#20318bd59ae1e95005eb7ac59a314dae"></a><br></td></tr> |
---|
50 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c7c493410e4c600362bcf6997bd3e187"></a><!-- doxytag: member="FCDSkinController::GetTarget" ref="c7c493410e4c600362bcf6997bd3e187" args="() const " --> |
---|
51 | const <a class="el" href="class_f_c_d_entity.html">FCDEntity</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_skin_controller.html#c7c493410e4c600362bcf6997bd3e187">GetTarget</a> () const </td></tr> |
---|
52 | |
---|
53 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
54 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_skin_controller.html#570337f366b9760bf1828620541c130b">SetTarget</a> (<a class="el" href="class_f_c_d_entity.html">FCDEntity</a> *_target)</td></tr> |
---|
55 | |
---|
56 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the target entity. <a href="#570337f366b9760bf1828620541c130b"></a><br></td></tr> |
---|
57 | <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_skin_controller.html#fdd606f592acbdbb18e987dd7ac7f526">GetBindShapeTransform</a> () const </td></tr> |
---|
58 | |
---|
59 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the bind-pose transform of the target entity. <a href="#fdd606f592acbdbb18e987dd7ac7f526"></a><br></td></tr> |
---|
60 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_skin_controller.html#98e96fb0d648822f57ac2f94a2d13c63">SetBindShapeTransform</a> (const <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a> &bindPose)</td></tr> |
---|
61 | |
---|
62 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the bind-pose transform of the target entity. <a href="#98e96fb0d648822f57ac2f94a2d13c63"></a><br></td></tr> |
---|
63 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classvector.html">FCDJointList</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_skin_controller.html#50c10208d6dbb0d6f4462562bae0b519">GetJoints</a> ()</td></tr> |
---|
64 | |
---|
65 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves a list of the joints that influence this skin. <a href="#50c10208d6dbb0d6f4462562bae0b519"></a><br></td></tr> |
---|
66 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a77e51340875b7a2d43cb5ebc2b17b45"></a><!-- doxytag: member="FCDSkinController::GetJoints" ref="a77e51340875b7a2d43cb5ebc2b17b45" args="() const " --> |
---|
67 | const <a class="el" href="classvector.html">FCDJointList</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_skin_controller.html#a77e51340875b7a2d43cb5ebc2b17b45">GetJoints</a> () const </td></tr> |
---|
68 | |
---|
69 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
70 | <tr><td class="memItemLeft" nowrap align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_skin_controller.html#4ec9325fef3ed3ed837eb99e82b79f35">GetJointCount</a> () const </td></tr> |
---|
71 | |
---|
72 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the number of joints that influence the skin. <a href="#4ec9325fef3ed3ed837eb99e82b79f35"></a><br></td></tr> |
---|
73 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="struct_f_c_d_joint_matrix_pair.html">FCDJointMatrixPair</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_skin_controller.html#47f41dd14a41e86e2b78fbca47631318">GetJoint</a> (size_t index)</td></tr> |
---|
74 | |
---|
75 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves a specific joint. <a href="#47f41dd14a41e86e2b78fbca47631318"></a><br></td></tr> |
---|
76 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="355affaa56997502c9d7fd02e71040ab"></a><!-- doxytag: member="FCDSkinController::GetJoint" ref="355affaa56997502c9d7fd02e71040ab" args="(size_t index) const " --> |
---|
77 | const <a class="el" href="struct_f_c_d_joint_matrix_pair.html">FCDJointMatrixPair</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_skin_controller.html#355affaa56997502c9d7fd02e71040ab">GetJoint</a> (size_t index) const </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"><a class="el" href="struct_f_c_d_joint_matrix_pair.html">FCDJointMatrixPair</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_skin_controller.html#fc4f4d15618f9c2174853e85059696c3">FindJoint</a> (<a class="el" href="class_f_c_d_scene_node.html">FCDSceneNode</a> *joint)</td></tr> |
---|
81 | |
---|
82 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the information specific to a given joint. <a href="#fc4f4d15618f9c2174853e85059696c3"></a><br></td></tr> |
---|
83 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0ffaacf8e322e2ad03253e0c4964a085"></a><!-- doxytag: member="FCDSkinController::FindJoint" ref="0ffaacf8e322e2ad03253e0c4964a085" args="(const FCDSceneNode *joint) const " --> |
---|
84 | const <a class="el" href="struct_f_c_d_joint_matrix_pair.html">FCDJointMatrixPair</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_skin_controller.html#0ffaacf8e322e2ad03253e0c4964a085">FindJoint</a> (const <a class="el" href="class_f_c_d_scene_node.html">FCDSceneNode</a> *joint) const </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">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_skin_controller.html#198242d3ba60ba9ee76a3436abc9f06e">AddJoint</a> (<a class="el" href="class_f_c_d_scene_node.html">FCDSceneNode</a> *joint, const <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a> &bindPose)</td></tr> |
---|
88 | |
---|
89 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a joint and its bind-pose to the list of joint influencing the skin. <a href="#198242d3ba60ba9ee76a3436abc9f06e"></a><br></td></tr> |
---|
90 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_skin_controller.html#42c8cff590d995568e54cf7d1a5f3f37">RemoveJoint</a> (<a class="el" href="class_f_c_d_scene_node.html">FCDSceneNode</a> *joint)</td></tr> |
---|
91 | |
---|
92 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Removes a joint from the list of joints influencing the skin. <a href="#42c8cff590d995568e54cf7d1a5f3f37"></a><br></td></tr> |
---|
93 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classvector.html">FCDWeightedMatches</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_skin_controller.html#67ae45a2c46fdfcad1030c591debb50f">GetWeightedMatches</a> ()</td></tr> |
---|
94 | |
---|
95 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves a list of the per-vertex influences for the skin. <a href="#67ae45a2c46fdfcad1030c591debb50f"></a><br></td></tr> |
---|
96 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="03fd4da711c2a9d8dc1c1264734bc4d5"></a><!-- doxytag: member="FCDSkinController::GetWeightedMatches" ref="03fd4da711c2a9d8dc1c1264734bc4d5" args="() const " --> |
---|
97 | const <a class="el" href="classvector.html">FCDWeightedMatches</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_skin_controller.html#03fd4da711c2a9d8dc1c1264734bc4d5">GetWeightedMatches</a> () const </td></tr> |
---|
98 | |
---|
99 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
100 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classvector.html">FCDWeightedMatches</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_skin_controller.html#ee3de90c78f999482e7b29e0f0c0af3e">GetVertexInfluences</a> ()</td></tr> |
---|
101 | |
---|
102 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves a list of the per-vertex influences for the skin. <a href="#ee3de90c78f999482e7b29e0f0c0af3e"></a><br></td></tr> |
---|
103 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="460781d52f85ae9b83b5ad7dc6047531"></a><!-- doxytag: member="FCDSkinController::GetVertexInfluences" ref="460781d52f85ae9b83b5ad7dc6047531" args="() const " --> |
---|
104 | const <a class="el" href="classvector.html">FCDWeightedMatches</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_skin_controller.html#460781d52f85ae9b83b5ad7dc6047531">GetVertexInfluences</a> () const </td></tr> |
---|
105 | |
---|
106 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
107 | <tr><td class="memItemLeft" nowrap align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_skin_controller.html#142399b71519a95b23a39ac36aecb048">GetVertexInfluenceCount</a> () const </td></tr> |
---|
108 | |
---|
109 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the number of per-vertex influences. <a href="#142399b71519a95b23a39ac36aecb048"></a><br></td></tr> |
---|
110 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classvector.html">FCDJointWeightPairList</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_skin_controller.html#f8ea848c9fc580de40659ac7ecb4bade">GetInfluences</a> (size_t index)</td></tr> |
---|
111 | |
---|
112 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the per-vertex influences for a given vertex. <a href="#f8ea848c9fc580de40659ac7ecb4bade"></a><br></td></tr> |
---|
113 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fc0aef92cd4ab53c6265273cf4bc6816"></a><!-- doxytag: member="FCDSkinController::GetInfluences" ref="fc0aef92cd4ab53c6265273cf4bc6816" args="(size_t index) const " --> |
---|
114 | const <a class="el" href="classvector.html">FCDJointWeightPairList</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_skin_controller.html#fc0aef92cd4ab53c6265273cf4bc6816">GetInfluences</a> (size_t index) const </td></tr> |
---|
115 | |
---|
116 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
117 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_skin_controller.html#a6257743677e7d538e4b9fcbca98254c">ReduceInfluences</a> (uint32 maxInfluenceCount, float minimumWeight=0.0f)</td></tr> |
---|
118 | |
---|
119 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Reduces the number of joints influencing each vertex. <a href="#a6257743677e7d538e4b9fcbca98254c"></a><br></td></tr> |
---|
120 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_u_status.html">FUStatus</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_skin_controller.html#20059644e8ad6f0a4e01ad0db5cb817a">LoadFromXML</a> (xmlNode *skinNode)</td></tr> |
---|
121 | |
---|
122 | <tr><td class="mdescLeft"> </td><td class="mdescRight">[INTERNAL] Reads in the <skin> element from a given COLLADA XML tree node. <a href="#20059644e8ad6f0a4e01ad0db5cb817a"></a><br></td></tr> |
---|
123 | <tr><td class="memItemLeft" nowrap align="right" valign="top">xmlNode * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_skin_controller.html#8bad2e6d27b91fea9f1815e0a5e09f40">WriteToXML</a> (xmlNode *parentNode) const </td></tr> |
---|
124 | |
---|
125 | <tr><td class="mdescLeft"> </td><td class="mdescRight">[INTERNAL] Writes out the <skin> element to the given COLLADA XML tree node. <a href="#8bad2e6d27b91fea9f1815e0a5e09f40"></a><br></td></tr> |
---|
126 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_u_status.html">FUStatus</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_skin_controller.html#0f410e2052bc94b694cdb4646cc47768">Link</a> ()</td></tr> |
---|
127 | |
---|
128 | <tr><td class="mdescLeft"> </td><td class="mdescRight">[INTERNAL] Links the skin with its joints. <a href="#0f410e2052bc94b694cdb4646cc47768"></a><br></td></tr> |
---|
129 | </table> |
---|
130 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
131 | A COLLADA skin controller. |
---|
132 | <p> |
---|
133 | The skin controller holds the information to skin a geometric object. That information includes a target/base entity and its bind-pose matrix, a list of joints and their bind pose and the influences for the joints.<p> |
---|
134 | The influences are a list, for each vertex of the target entity, of which joints affect the vertex and by how much. |
---|
135 | <p> |
---|
136 | <hr><h2>Constructor & Destructor Documentation</h2> |
---|
137 | <a class="anchor" name="15bfb70a67633c1a87e4ea887e1bff85"></a><!-- doxytag: member="FCDSkinController::FCDSkinController" ref="15bfb70a67633c1a87e4ea887e1bff85" args="(FCDocument *document, FCDController *parent)" --><p> |
---|
138 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
139 | <tr> |
---|
140 | <td class="mdRow"> |
---|
141 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
142 | <tr> |
---|
143 | <td class="md" nowrap valign="top">FCDSkinController::FCDSkinController </td> |
---|
144 | <td class="md" valign="top">( </td> |
---|
145 | <td class="md" nowrap valign="top"><a class="el" href="class_f_c_document.html">FCDocument</a> * </td> |
---|
146 | <td class="mdname" nowrap> <em>document</em>, </td> |
---|
147 | </tr> |
---|
148 | <tr> |
---|
149 | <td class="md" nowrap align="right"></td> |
---|
150 | <td class="md"></td> |
---|
151 | <td class="md" nowrap><a class="el" href="class_f_c_d_controller.html">FCDController</a> * </td> |
---|
152 | <td class="mdname" nowrap> <em>parent</em></td> |
---|
153 | </tr> |
---|
154 | <tr> |
---|
155 | <td class="md"></td> |
---|
156 | <td class="md">) </td> |
---|
157 | <td class="md" colspan="2"></td> |
---|
158 | </tr> |
---|
159 | </table> |
---|
160 | </td> |
---|
161 | </tr> |
---|
162 | </table> |
---|
163 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
164 | <tr> |
---|
165 | <td> |
---|
166 | |
---|
167 | </td> |
---|
168 | <td> |
---|
169 | |
---|
170 | <p> |
---|
171 | Constructor: do not use directly. |
---|
172 | <p> |
---|
173 | Instead, use the <a class="el" href="class_f_c_d_controller.html#38ee749fe069c72add7d4c565288ce4e">FCDController::CreateSkinController</a> function. <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
174 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
175 | <tr><td valign="top"></td><td valign="top"><em>document</em> </td><td>The COLLADA document that owns the skin. </td></tr> |
---|
176 | <tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>The COLLADA controller that contains this skin. </td></tr> |
---|
177 | </table> |
---|
178 | </dl> |
---|
179 | </td> |
---|
180 | </tr> |
---|
181 | </table> |
---|
182 | <a class="anchor" name="ff4f6b3062c267cfb412a045f66d62fd"></a><!-- doxytag: member="FCDSkinController::~FCDSkinController" ref="ff4f6b3062c267cfb412a045f66d62fd" args="()" --><p> |
---|
183 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
184 | <tr> |
---|
185 | <td class="mdRow"> |
---|
186 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
187 | <tr> |
---|
188 | <td class="md" nowrap valign="top">virtual FCDSkinController::~FCDSkinController </td> |
---|
189 | <td class="md" valign="top">( </td> |
---|
190 | <td class="mdname1" valign="top" nowrap> </td> |
---|
191 | <td class="md" valign="top"> ) </td> |
---|
192 | <td class="md" nowrap><code> [virtual]</code></td> |
---|
193 | </tr> |
---|
194 | </table> |
---|
195 | </td> |
---|
196 | </tr> |
---|
197 | </table> |
---|
198 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
199 | <tr> |
---|
200 | <td> |
---|
201 | |
---|
202 | </td> |
---|
203 | <td> |
---|
204 | |
---|
205 | <p> |
---|
206 | Destructor: do not use directly. |
---|
207 | <p> |
---|
208 | Instead, release the parent controller or create a new skin/morpher. </td> |
---|
209 | </tr> |
---|
210 | </table> |
---|
211 | <hr><h2>Member Function Documentation</h2> |
---|
212 | <a class="anchor" name="198242d3ba60ba9ee76a3436abc9f06e"></a><!-- doxytag: member="FCDSkinController::AddJoint" ref="198242d3ba60ba9ee76a3436abc9f06e" args="(FCDSceneNode *joint, const FMMatrix44 &bindPose)" --><p> |
---|
213 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
214 | <tr> |
---|
215 | <td class="mdRow"> |
---|
216 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
217 | <tr> |
---|
218 | <td class="md" nowrap valign="top">void FCDSkinController::AddJoint </td> |
---|
219 | <td class="md" valign="top">( </td> |
---|
220 | <td class="md" nowrap valign="top"><a class="el" href="class_f_c_d_scene_node.html">FCDSceneNode</a> * </td> |
---|
221 | <td class="mdname" nowrap> <em>joint</em>, </td> |
---|
222 | </tr> |
---|
223 | <tr> |
---|
224 | <td class="md" nowrap align="right"></td> |
---|
225 | <td class="md"></td> |
---|
226 | <td class="md" nowrap>const <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a> & </td> |
---|
227 | <td class="mdname" nowrap> <em>bindPose</em></td> |
---|
228 | </tr> |
---|
229 | <tr> |
---|
230 | <td class="md"></td> |
---|
231 | <td class="md">) </td> |
---|
232 | <td class="md" colspan="2"></td> |
---|
233 | </tr> |
---|
234 | </table> |
---|
235 | </td> |
---|
236 | </tr> |
---|
237 | </table> |
---|
238 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
239 | <tr> |
---|
240 | <td> |
---|
241 | |
---|
242 | </td> |
---|
243 | <td> |
---|
244 | |
---|
245 | <p> |
---|
246 | Adds a joint and its bind-pose to the list of joint influencing the skin. |
---|
247 | <p> |
---|
248 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
249 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
250 | <tr><td valign="top"></td><td valign="top"><em>joint</em> </td><td>The joint. </td></tr> |
---|
251 | <tr><td valign="top"></td><td valign="top"><em>bindPose</em> </td><td>The joint's bind-pose. This matrix will be inverted by this function. </td></tr> |
---|
252 | </table> |
---|
253 | </dl> |
---|
254 | </td> |
---|
255 | </tr> |
---|
256 | </table> |
---|
257 | <a class="anchor" name="fc4f4d15618f9c2174853e85059696c3"></a><!-- doxytag: member="FCDSkinController::FindJoint" ref="fc4f4d15618f9c2174853e85059696c3" args="(FCDSceneNode *joint)" --><p> |
---|
258 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
259 | <tr> |
---|
260 | <td class="mdRow"> |
---|
261 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
262 | <tr> |
---|
263 | <td class="md" nowrap valign="top"><a class="el" href="struct_f_c_d_joint_matrix_pair.html">FCDJointMatrixPair</a>* FCDSkinController::FindJoint </td> |
---|
264 | <td class="md" valign="top">( </td> |
---|
265 | <td class="md" nowrap valign="top"><a class="el" href="class_f_c_d_scene_node.html">FCDSceneNode</a> * </td> |
---|
266 | <td class="mdname1" valign="top" nowrap> <em>joint</em> </td> |
---|
267 | <td class="md" valign="top"> ) </td> |
---|
268 | <td class="md" nowrap></td> |
---|
269 | </tr> |
---|
270 | </table> |
---|
271 | </td> |
---|
272 | </tr> |
---|
273 | </table> |
---|
274 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
275 | <tr> |
---|
276 | <td> |
---|
277 | |
---|
278 | </td> |
---|
279 | <td> |
---|
280 | |
---|
281 | <p> |
---|
282 | Retrieves the information specific to a given joint. |
---|
283 | <p> |
---|
284 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
285 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
286 | <tr><td valign="top"></td><td valign="top"><em>joint</em> </td><td>The joint. </td></tr> |
---|
287 | </table> |
---|
288 | </dl> |
---|
289 | <dl compact><dt><b>Returns:</b></dt><dd>The information specific to this joint. This pointer will be NULL if the given joint does not influence this skin. </dd></dl> |
---|
290 | </td> |
---|
291 | </tr> |
---|
292 | </table> |
---|
293 | <a class="anchor" name="fdd606f592acbdbb18e987dd7ac7f526"></a><!-- doxytag: member="FCDSkinController::GetBindShapeTransform" ref="fdd606f592acbdbb18e987dd7ac7f526" args="() const " --><p> |
---|
294 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
295 | <tr> |
---|
296 | <td class="mdRow"> |
---|
297 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
298 | <tr> |
---|
299 | <td class="md" nowrap valign="top">const <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a>& FCDSkinController::GetBindShapeTransform </td> |
---|
300 | <td class="md" valign="top">( </td> |
---|
301 | <td class="mdname1" valign="top" nowrap> </td> |
---|
302 | <td class="md" valign="top"> ) </td> |
---|
303 | <td class="md" nowrap> const<code> [inline]</code></td> |
---|
304 | </tr> |
---|
305 | </table> |
---|
306 | </td> |
---|
307 | </tr> |
---|
308 | </table> |
---|
309 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
310 | <tr> |
---|
311 | <td> |
---|
312 | |
---|
313 | </td> |
---|
314 | <td> |
---|
315 | |
---|
316 | <p> |
---|
317 | Retrieves the bind-pose transform of the target entity. |
---|
318 | <p> |
---|
319 | <dl compact><dt><b>Returns:</b></dt><dd>The bind-pose transform. </dd></dl> |
---|
320 | </td> |
---|
321 | </tr> |
---|
322 | </table> |
---|
323 | <a class="anchor" name="f8ea848c9fc580de40659ac7ecb4bade"></a><!-- doxytag: member="FCDSkinController::GetInfluences" ref="f8ea848c9fc580de40659ac7ecb4bade" args="(size_t index)" --><p> |
---|
324 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
325 | <tr> |
---|
326 | <td class="mdRow"> |
---|
327 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
328 | <tr> |
---|
329 | <td class="md" nowrap valign="top"><a class="el" href="classvector.html">FCDJointWeightPairList</a>* FCDSkinController::GetInfluences </td> |
---|
330 | <td class="md" valign="top">( </td> |
---|
331 | <td class="md" nowrap valign="top">size_t </td> |
---|
332 | <td class="mdname1" valign="top" nowrap> <em>index</em> </td> |
---|
333 | <td class="md" valign="top"> ) </td> |
---|
334 | <td class="md" nowrap><code> [inline]</code></td> |
---|
335 | </tr> |
---|
336 | </table> |
---|
337 | </td> |
---|
338 | </tr> |
---|
339 | </table> |
---|
340 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
341 | <tr> |
---|
342 | <td> |
---|
343 | |
---|
344 | </td> |
---|
345 | <td> |
---|
346 | |
---|
347 | <p> |
---|
348 | Retrieves the per-vertex influences for a given vertex. |
---|
349 | <p> |
---|
350 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
351 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
352 | <tr><td valign="top"></td><td valign="top"><em>index</em> </td><td>The vertex index. </td></tr> |
---|
353 | </table> |
---|
354 | </dl> |
---|
355 | <dl compact><dt><b>Returns:</b></dt><dd>The per-vertex influences. </dd></dl> |
---|
356 | </td> |
---|
357 | </tr> |
---|
358 | </table> |
---|
359 | <a class="anchor" name="47f41dd14a41e86e2b78fbca47631318"></a><!-- doxytag: member="FCDSkinController::GetJoint" ref="47f41dd14a41e86e2b78fbca47631318" args="(size_t index)" --><p> |
---|
360 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
361 | <tr> |
---|
362 | <td class="mdRow"> |
---|
363 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
364 | <tr> |
---|
365 | <td class="md" nowrap valign="top"><a class="el" href="struct_f_c_d_joint_matrix_pair.html">FCDJointMatrixPair</a>* FCDSkinController::GetJoint </td> |
---|
366 | <td class="md" valign="top">( </td> |
---|
367 | <td class="md" nowrap valign="top">size_t </td> |
---|
368 | <td class="mdname1" valign="top" nowrap> <em>index</em> </td> |
---|
369 | <td class="md" valign="top"> ) </td> |
---|
370 | <td class="md" nowrap><code> [inline]</code></td> |
---|
371 | </tr> |
---|
372 | </table> |
---|
373 | </td> |
---|
374 | </tr> |
---|
375 | </table> |
---|
376 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
377 | <tr> |
---|
378 | <td> |
---|
379 | |
---|
380 | </td> |
---|
381 | <td> |
---|
382 | |
---|
383 | <p> |
---|
384 | Retrieves a specific joint. |
---|
385 | <p> |
---|
386 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
387 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
388 | <tr><td valign="top"></td><td valign="top"><em>index</em> </td><td>The index of the joint. </td></tr> |
---|
389 | </table> |
---|
390 | </dl> |
---|
391 | <dl compact><dt><b>Returns:</b></dt><dd>The joint. This pointer will be NULL, if the index is out-of-bounds. </dd></dl> |
---|
392 | </td> |
---|
393 | </tr> |
---|
394 | </table> |
---|
395 | <a class="anchor" name="4ec9325fef3ed3ed837eb99e82b79f35"></a><!-- doxytag: member="FCDSkinController::GetJointCount" ref="4ec9325fef3ed3ed837eb99e82b79f35" args="() const " --><p> |
---|
396 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
397 | <tr> |
---|
398 | <td class="mdRow"> |
---|
399 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
400 | <tr> |
---|
401 | <td class="md" nowrap valign="top">size_t FCDSkinController::GetJointCount </td> |
---|
402 | <td class="md" valign="top">( </td> |
---|
403 | <td class="mdname1" valign="top" nowrap> </td> |
---|
404 | <td class="md" valign="top"> ) </td> |
---|
405 | <td class="md" nowrap> const<code> [inline]</code></td> |
---|
406 | </tr> |
---|
407 | </table> |
---|
408 | </td> |
---|
409 | </tr> |
---|
410 | </table> |
---|
411 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
412 | <tr> |
---|
413 | <td> |
---|
414 | |
---|
415 | </td> |
---|
416 | <td> |
---|
417 | |
---|
418 | <p> |
---|
419 | Retrieves the number of joints that influence the skin. |
---|
420 | <p> |
---|
421 | <dl compact><dt><b>Returns:</b></dt><dd>The number of joints. </dd></dl> |
---|
422 | </td> |
---|
423 | </tr> |
---|
424 | </table> |
---|
425 | <a class="anchor" name="50c10208d6dbb0d6f4462562bae0b519"></a><!-- doxytag: member="FCDSkinController::GetJoints" ref="50c10208d6dbb0d6f4462562bae0b519" args="()" --><p> |
---|
426 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
427 | <tr> |
---|
428 | <td class="mdRow"> |
---|
429 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
430 | <tr> |
---|
431 | <td class="md" nowrap valign="top"><a class="el" href="classvector.html">FCDJointList</a>& FCDSkinController::GetJoints </td> |
---|
432 | <td class="md" valign="top">( </td> |
---|
433 | <td class="mdname1" valign="top" nowrap> </td> |
---|
434 | <td class="md" valign="top"> ) </td> |
---|
435 | <td class="md" nowrap><code> [inline]</code></td> |
---|
436 | </tr> |
---|
437 | </table> |
---|
438 | </td> |
---|
439 | </tr> |
---|
440 | </table> |
---|
441 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
442 | <tr> |
---|
443 | <td> |
---|
444 | |
---|
445 | </td> |
---|
446 | <td> |
---|
447 | |
---|
448 | <p> |
---|
449 | Retrieves a list of the joints that influence this skin. |
---|
450 | <p> |
---|
451 | <dl compact><dt><b>Returns:</b></dt><dd>The list of joints. </dd></dl> |
---|
452 | </td> |
---|
453 | </tr> |
---|
454 | </table> |
---|
455 | <a class="anchor" name="20318bd59ae1e95005eb7ac59a314dae"></a><!-- doxytag: member="FCDSkinController::GetTarget" ref="20318bd59ae1e95005eb7ac59a314dae" args="()" --><p> |
---|
456 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
457 | <tr> |
---|
458 | <td class="mdRow"> |
---|
459 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
460 | <tr> |
---|
461 | <td class="md" nowrap valign="top"><a class="el" href="class_f_c_d_entity.html">FCDEntity</a>* FCDSkinController::GetTarget </td> |
---|
462 | <td class="md" valign="top">( </td> |
---|
463 | <td class="mdname1" valign="top" nowrap> </td> |
---|
464 | <td class="md" valign="top"> ) </td> |
---|
465 | <td class="md" nowrap><code> [inline]</code></td> |
---|
466 | </tr> |
---|
467 | </table> |
---|
468 | </td> |
---|
469 | </tr> |
---|
470 | </table> |
---|
471 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
472 | <tr> |
---|
473 | <td> |
---|
474 | |
---|
475 | </td> |
---|
476 | <td> |
---|
477 | |
---|
478 | <p> |
---|
479 | Retrieves the target entity. |
---|
480 | <p> |
---|
481 | This entity may be a geometric entity or another controller. <dl compact><dt><b>Returns:</b></dt><dd>The target entity. </dd></dl> |
---|
482 | </td> |
---|
483 | </tr> |
---|
484 | </table> |
---|
485 | <a class="anchor" name="142399b71519a95b23a39ac36aecb048"></a><!-- doxytag: member="FCDSkinController::GetVertexInfluenceCount" ref="142399b71519a95b23a39ac36aecb048" args="() const " --><p> |
---|
486 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
487 | <tr> |
---|
488 | <td class="mdRow"> |
---|
489 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
490 | <tr> |
---|
491 | <td class="md" nowrap valign="top">size_t FCDSkinController::GetVertexInfluenceCount </td> |
---|
492 | <td class="md" valign="top">( </td> |
---|
493 | <td class="mdname1" valign="top" nowrap> </td> |
---|
494 | <td class="md" valign="top"> ) </td> |
---|
495 | <td class="md" nowrap> const<code> [inline]</code></td> |
---|
496 | </tr> |
---|
497 | </table> |
---|
498 | </td> |
---|
499 | </tr> |
---|
500 | </table> |
---|
501 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
502 | <tr> |
---|
503 | <td> |
---|
504 | |
---|
505 | </td> |
---|
506 | <td> |
---|
507 | |
---|
508 | <p> |
---|
509 | Retrieves the number of per-vertex influences. |
---|
510 | <p> |
---|
511 | This value should be equal to the number of vertices/control points within the target geometric entity. <dl compact><dt><b>Returns:</b></dt><dd>The number of per-vertex influences. </dd></dl> |
---|
512 | </td> |
---|
513 | </tr> |
---|
514 | </table> |
---|
515 | <a class="anchor" name="ee3de90c78f999482e7b29e0f0c0af3e"></a><!-- doxytag: member="FCDSkinController::GetVertexInfluences" ref="ee3de90c78f999482e7b29e0f0c0af3e" args="()" --><p> |
---|
516 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
517 | <tr> |
---|
518 | <td class="mdRow"> |
---|
519 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
520 | <tr> |
---|
521 | <td class="md" nowrap valign="top"><a class="el" href="classvector.html">FCDWeightedMatches</a>& FCDSkinController::GetVertexInfluences </td> |
---|
522 | <td class="md" valign="top">( </td> |
---|
523 | <td class="mdname1" valign="top" nowrap> </td> |
---|
524 | <td class="md" valign="top"> ) </td> |
---|
525 | <td class="md" nowrap><code> [inline]</code></td> |
---|
526 | </tr> |
---|
527 | </table> |
---|
528 | </td> |
---|
529 | </tr> |
---|
530 | </table> |
---|
531 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
532 | <tr> |
---|
533 | <td> |
---|
534 | |
---|
535 | </td> |
---|
536 | <td> |
---|
537 | |
---|
538 | <p> |
---|
539 | Retrieves a list of the per-vertex influences for the skin. |
---|
540 | <p> |
---|
541 | You should not modify the size of the list. Instead, use the SetTarget function. <dl compact><dt><b>Returns:</b></dt><dd>The list of per-vertex influences. </dd></dl> |
---|
542 | </td> |
---|
543 | </tr> |
---|
544 | </table> |
---|
545 | <a class="anchor" name="67ae45a2c46fdfcad1030c591debb50f"></a><!-- doxytag: member="FCDSkinController::GetWeightedMatches" ref="67ae45a2c46fdfcad1030c591debb50f" args="()" --><p> |
---|
546 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
547 | <tr> |
---|
548 | <td class="mdRow"> |
---|
549 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
550 | <tr> |
---|
551 | <td class="md" nowrap valign="top"><a class="el" href="classvector.html">FCDWeightedMatches</a>& FCDSkinController::GetWeightedMatches </td> |
---|
552 | <td class="md" valign="top">( </td> |
---|
553 | <td class="mdname1" valign="top" nowrap> </td> |
---|
554 | <td class="md" valign="top"> ) </td> |
---|
555 | <td class="md" nowrap><code> [inline]</code></td> |
---|
556 | </tr> |
---|
557 | </table> |
---|
558 | </td> |
---|
559 | </tr> |
---|
560 | </table> |
---|
561 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
562 | <tr> |
---|
563 | <td> |
---|
564 | |
---|
565 | </td> |
---|
566 | <td> |
---|
567 | |
---|
568 | <p> |
---|
569 | Retrieves a list of the per-vertex influences for the skin. |
---|
570 | <p> |
---|
571 | You should not modify the size of the list. Instead, use the SetTarget function. <dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000024">Deprecated:</a></b></dt><dd>Will be replaces by GetVertexInfluences. </dd></dl> |
---|
572 | <dl compact><dt><b>Returns:</b></dt><dd>The list of per-vertex influences. </dd></dl> |
---|
573 | </td> |
---|
574 | </tr> |
---|
575 | </table> |
---|
576 | <a class="anchor" name="0f410e2052bc94b694cdb4646cc47768"></a><!-- doxytag: member="FCDSkinController::Link" ref="0f410e2052bc94b694cdb4646cc47768" args="()" --><p> |
---|
577 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
578 | <tr> |
---|
579 | <td class="mdRow"> |
---|
580 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
581 | <tr> |
---|
582 | <td class="md" nowrap valign="top"><a class="el" href="class_f_u_status.html">FUStatus</a> FCDSkinController::Link </td> |
---|
583 | <td class="md" valign="top">( </td> |
---|
584 | <td class="mdname1" valign="top" nowrap> </td> |
---|
585 | <td class="md" valign="top"> ) </td> |
---|
586 | <td class="md" nowrap></td> |
---|
587 | </tr> |
---|
588 | </table> |
---|
589 | </td> |
---|
590 | </tr> |
---|
591 | </table> |
---|
592 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
593 | <tr> |
---|
594 | <td> |
---|
595 | |
---|
596 | </td> |
---|
597 | <td> |
---|
598 | |
---|
599 | <p> |
---|
600 | [INTERNAL] Links the skin with its joints. |
---|
601 | <p> |
---|
602 | Since the scene graph is imported after the controllers, this function is used to link the skin with its joints. <dl compact><dt><b>Returns:</b></dt><dd>The status of the linkage. </dd></dl> |
---|
603 | </td> |
---|
604 | </tr> |
---|
605 | </table> |
---|
606 | <a class="anchor" name="20059644e8ad6f0a4e01ad0db5cb817a"></a><!-- doxytag: member="FCDSkinController::LoadFromXML" ref="20059644e8ad6f0a4e01ad0db5cb817a" args="(xmlNode *skinNode)" --><p> |
---|
607 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
608 | <tr> |
---|
609 | <td class="mdRow"> |
---|
610 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
611 | <tr> |
---|
612 | <td class="md" nowrap valign="top"><a class="el" href="class_f_u_status.html">FUStatus</a> FCDSkinController::LoadFromXML </td> |
---|
613 | <td class="md" valign="top">( </td> |
---|
614 | <td class="md" nowrap valign="top">xmlNode * </td> |
---|
615 | <td class="mdname1" valign="top" nowrap> <em>skinNode</em> </td> |
---|
616 | <td class="md" valign="top"> ) </td> |
---|
617 | <td class="md" nowrap></td> |
---|
618 | </tr> |
---|
619 | </table> |
---|
620 | </td> |
---|
621 | </tr> |
---|
622 | </table> |
---|
623 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
624 | <tr> |
---|
625 | <td> |
---|
626 | |
---|
627 | </td> |
---|
628 | <td> |
---|
629 | |
---|
630 | <p> |
---|
631 | [INTERNAL] Reads in the <skin> element from a given COLLADA XML tree node. |
---|
632 | <p> |
---|
633 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
634 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
635 | <tr><td valign="top"></td><td valign="top"><em>skinNode</em> </td><td>The COLLADA XML tree node. </td></tr> |
---|
636 | </table> |
---|
637 | </dl> |
---|
638 | <dl compact><dt><b>Returns:</b></dt><dd>The status of the import. If the status is not successful, it may be dangerous to extract information from the skin. </dd></dl> |
---|
639 | </td> |
---|
640 | </tr> |
---|
641 | </table> |
---|
642 | <a class="anchor" name="a6257743677e7d538e4b9fcbca98254c"></a><!-- doxytag: member="FCDSkinController::ReduceInfluences" ref="a6257743677e7d538e4b9fcbca98254c" args="(uint32 maxInfluenceCount, float minimumWeight=0.0f)" --><p> |
---|
643 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
644 | <tr> |
---|
645 | <td class="mdRow"> |
---|
646 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
647 | <tr> |
---|
648 | <td class="md" nowrap valign="top">void FCDSkinController::ReduceInfluences </td> |
---|
649 | <td class="md" valign="top">( </td> |
---|
650 | <td class="md" nowrap valign="top">uint32 </td> |
---|
651 | <td class="mdname" nowrap> <em>maxInfluenceCount</em>, </td> |
---|
652 | </tr> |
---|
653 | <tr> |
---|
654 | <td class="md" nowrap align="right"></td> |
---|
655 | <td class="md"></td> |
---|
656 | <td class="md" nowrap>float </td> |
---|
657 | <td class="mdname" nowrap> <em>minimumWeight</em> = <code>0.0f</code></td> |
---|
658 | </tr> |
---|
659 | <tr> |
---|
660 | <td class="md"></td> |
---|
661 | <td class="md">) </td> |
---|
662 | <td class="md" colspan="2"></td> |
---|
663 | </tr> |
---|
664 | </table> |
---|
665 | </td> |
---|
666 | </tr> |
---|
667 | </table> |
---|
668 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
669 | <tr> |
---|
670 | <td> |
---|
671 | |
---|
672 | </td> |
---|
673 | <td> |
---|
674 | |
---|
675 | <p> |
---|
676 | Reduces the number of joints influencing each vertex. |
---|
677 | <p> |
---|
678 | 1) All the influences with a weight less than the minimum will be removed. 2) If a vertex has more influences than the given maximum, they will be sorted and the most important influences will be kept. If some of the influences for a vertex are removed, the weight will be normalized. <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
679 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
680 | <tr><td valign="top"></td><td valign="top"><em>maxInfluenceCount</em> </td><td>The maximum number of influence to keep for each vertex. </td></tr> |
---|
681 | <tr><td valign="top"></td><td valign="top"><em>minimumWeight</em> </td><td>The smallest weight to keep. </td></tr> |
---|
682 | </table> |
---|
683 | </dl> |
---|
684 | </td> |
---|
685 | </tr> |
---|
686 | </table> |
---|
687 | <a class="anchor" name="42c8cff590d995568e54cf7d1a5f3f37"></a><!-- doxytag: member="FCDSkinController::RemoveJoint" ref="42c8cff590d995568e54cf7d1a5f3f37" args="(FCDSceneNode *joint)" --><p> |
---|
688 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
689 | <tr> |
---|
690 | <td class="mdRow"> |
---|
691 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
692 | <tr> |
---|
693 | <td class="md" nowrap valign="top">void FCDSkinController::RemoveJoint </td> |
---|
694 | <td class="md" valign="top">( </td> |
---|
695 | <td class="md" nowrap valign="top"><a class="el" href="class_f_c_d_scene_node.html">FCDSceneNode</a> * </td> |
---|
696 | <td class="mdname1" valign="top" nowrap> <em>joint</em> </td> |
---|
697 | <td class="md" valign="top"> ) </td> |
---|
698 | <td class="md" nowrap></td> |
---|
699 | </tr> |
---|
700 | </table> |
---|
701 | </td> |
---|
702 | </tr> |
---|
703 | </table> |
---|
704 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
705 | <tr> |
---|
706 | <td> |
---|
707 | |
---|
708 | </td> |
---|
709 | <td> |
---|
710 | |
---|
711 | <p> |
---|
712 | Removes a joint from the list of joints influencing the skin. |
---|
713 | <p> |
---|
714 | All the per-vertex influences that use this joint will be removed. <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
715 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
716 | <tr><td valign="top"></td><td valign="top"><em>joint</em> </td><td>The joint. </td></tr> |
---|
717 | </table> |
---|
718 | </dl> |
---|
719 | </td> |
---|
720 | </tr> |
---|
721 | </table> |
---|
722 | <a class="anchor" name="98e96fb0d648822f57ac2f94a2d13c63"></a><!-- doxytag: member="FCDSkinController::SetBindShapeTransform" ref="98e96fb0d648822f57ac2f94a2d13c63" args="(const FMMatrix44 &bindPose)" --><p> |
---|
723 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
724 | <tr> |
---|
725 | <td class="mdRow"> |
---|
726 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
727 | <tr> |
---|
728 | <td class="md" nowrap valign="top">void FCDSkinController::SetBindShapeTransform </td> |
---|
729 | <td class="md" valign="top">( </td> |
---|
730 | <td class="md" nowrap valign="top">const <a class="el" href="class_f_m_matrix44.html">FMMatrix44</a> & </td> |
---|
731 | <td class="mdname1" valign="top" nowrap> <em>bindPose</em> </td> |
---|
732 | <td class="md" valign="top"> ) </td> |
---|
733 | <td class="md" nowrap><code> [inline]</code></td> |
---|
734 | </tr> |
---|
735 | </table> |
---|
736 | </td> |
---|
737 | </tr> |
---|
738 | </table> |
---|
739 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
740 | <tr> |
---|
741 | <td> |
---|
742 | |
---|
743 | </td> |
---|
744 | <td> |
---|
745 | |
---|
746 | <p> |
---|
747 | Sets the bind-pose transform of the target entity. |
---|
748 | <p> |
---|
749 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
750 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
751 | <tr><td valign="top"></td><td valign="top"><em>bindPose</em> </td><td>The bind-pose transform. </td></tr> |
---|
752 | </table> |
---|
753 | </dl> |
---|
754 | </td> |
---|
755 | </tr> |
---|
756 | </table> |
---|
757 | <a class="anchor" name="570337f366b9760bf1828620541c130b"></a><!-- doxytag: member="FCDSkinController::SetTarget" ref="570337f366b9760bf1828620541c130b" args="(FCDEntity *_target)" --><p> |
---|
758 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
759 | <tr> |
---|
760 | <td class="mdRow"> |
---|
761 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
762 | <tr> |
---|
763 | <td class="md" nowrap valign="top">void FCDSkinController::SetTarget </td> |
---|
764 | <td class="md" valign="top">( </td> |
---|
765 | <td class="md" nowrap valign="top"><a class="el" href="class_f_c_d_entity.html">FCDEntity</a> * </td> |
---|
766 | <td class="mdname1" valign="top" nowrap> <em>_target</em> </td> |
---|
767 | <td class="md" valign="top"> ) </td> |
---|
768 | <td class="md" nowrap></td> |
---|
769 | </tr> |
---|
770 | </table> |
---|
771 | </td> |
---|
772 | </tr> |
---|
773 | </table> |
---|
774 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
775 | <tr> |
---|
776 | <td> |
---|
777 | |
---|
778 | </td> |
---|
779 | <td> |
---|
780 | |
---|
781 | <p> |
---|
782 | Sets the target entity. |
---|
783 | <p> |
---|
784 | This function has very important ramifications, as the number of vertices may change. The influences list will be modified to follow the number of vertices. This entity may be a geometric entity or another controller. <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
785 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
786 | <tr><td valign="top"></td><td valign="top"><em>_target</em> </td><td>The target entity. </td></tr> |
---|
787 | </table> |
---|
788 | </dl> |
---|
789 | </td> |
---|
790 | </tr> |
---|
791 | </table> |
---|
792 | <a class="anchor" name="8bad2e6d27b91fea9f1815e0a5e09f40"></a><!-- doxytag: member="FCDSkinController::WriteToXML" ref="8bad2e6d27b91fea9f1815e0a5e09f40" args="(xmlNode *parentNode) const " --><p> |
---|
793 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
794 | <tr> |
---|
795 | <td class="mdRow"> |
---|
796 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
797 | <tr> |
---|
798 | <td class="md" nowrap valign="top">xmlNode* FCDSkinController::WriteToXML </td> |
---|
799 | <td class="md" valign="top">( </td> |
---|
800 | <td class="md" nowrap valign="top">xmlNode * </td> |
---|
801 | <td class="mdname1" valign="top" nowrap> <em>parentNode</em> </td> |
---|
802 | <td class="md" valign="top"> ) </td> |
---|
803 | <td class="md" nowrap> const</td> |
---|
804 | </tr> |
---|
805 | </table> |
---|
806 | </td> |
---|
807 | </tr> |
---|
808 | </table> |
---|
809 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
810 | <tr> |
---|
811 | <td> |
---|
812 | |
---|
813 | </td> |
---|
814 | <td> |
---|
815 | |
---|
816 | <p> |
---|
817 | [INTERNAL] Writes out the <skin> element to the given COLLADA XML tree node. |
---|
818 | <p> |
---|
819 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
820 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
821 | <tr><td valign="top"></td><td valign="top"><em>parentNode</em> </td><td>The COLLADA XML parent node in which to insert the skin information. </td></tr> |
---|
822 | </table> |
---|
823 | </dl> |
---|
824 | <dl compact><dt><b>Returns:</b></dt><dd>The created element XML tree node. </dd></dl> |
---|
825 | </td> |
---|
826 | </tr> |
---|
827 | </table> |
---|
828 | <hr>The documentation for this class was generated from the following file:<ul> |
---|
829 | <li>FCDocument/<a class="el" href="_f_c_d_skin_controller_8h-source.html">FCDSkinController.h</a></ul> |
---|
830 | <hr size="1"><address style="align: right;"><small>Generated on Fri May 12 16:44:43 2006 for FCollada by |
---|
831 | <a href="http://www.doxygen.org/index.html"> |
---|
832 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6-NO </small></address> |
---|
833 | </body> |
---|
834 | </html> |
---|