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: FCDSceneNode 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>FCDSceneNode Class Reference<br> |
---|
25 | <small> |
---|
26 | [<a class="el" href="group___f_c_document.html">COLLADA Document Object Model.</a>]</small> |
---|
27 | </h1><!-- doxytag: class="FCDSceneNode" --><!-- doxytag: inherits="FCDEntity" -->A COLLADA visual scene node. |
---|
28 | <a href="#_details">More...</a> |
---|
29 | <p> |
---|
30 | <code>#include <<a class="el" href="_f_c_d_scene_node_8h-source.html">FCDSceneNode.h</a>></code> |
---|
31 | <p> |
---|
32 | <p>Inheritance diagram for FCDSceneNode: |
---|
33 | <p><center><img src="class_f_c_d_scene_node.png" usemap="#FCDSceneNode_map" border="0" alt=""></center> |
---|
34 | <map name="FCDSceneNode_map"> |
---|
35 | <area href="class_f_c_d_entity.html" alt="FCDEntity" shape="rect" coords="0,168,109,192"> |
---|
36 | <area href="class_f_c_d_object_with_id.html" alt="FCDObjectWithId" shape="rect" coords="0,112,109,136"> |
---|
37 | <area href="class_f_c_d_object.html" alt="FCDObject" shape="rect" coords="0,56,109,80"> |
---|
38 | <area href="class_f_u_object.html" alt="FUObject" shape="rect" coords="0,0,109,24"> |
---|
39 | </map> |
---|
40 | <a href="class_f_c_d_scene_node-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
---|
41 | <tr><td></td></tr> |
---|
42 | <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
---|
43 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_scene_node.html#ca298791ceb66267f0c8856c404a5a92">FCDSceneNode</a> (<a class="el" href="class_f_c_document.html">FCDocument</a> *document)</td></tr> |
---|
44 | |
---|
45 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor: do not use directly. <a href="#ca298791ceb66267f0c8856c404a5a92"></a><br></td></tr> |
---|
46 | <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_scene_node.html#22797fa8df1e2c8c2664cedd609c80cf">~FCDSceneNode</a> ()</td></tr> |
---|
47 | |
---|
48 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor: do not use directly. <a href="#22797fa8df1e2c8c2664cedd609c80cf"></a><br></td></tr> |
---|
49 | <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="class_f_c_d_entity.html#9301a4bd5f4d4190ec13e40db4effdd7">Type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_scene_node.html#5dad40efa762d2cb7b3df38288c7f5aa">GetType</a> () const </td></tr> |
---|
50 | |
---|
51 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the type of the entity class. <a href="#5dad40efa762d2cb7b3df38288c7f5aa"></a><br></td></tr> |
---|
52 | <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_scene_node.html#cce55d7e3bbcb7219e1f568ade78a33e">GetParentCount</a> () const </td></tr> |
---|
53 | |
---|
54 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the number of parent nodes for this visual scene node. <a href="#cce55d7e3bbcb7219e1f568ade78a33e"></a><br></td></tr> |
---|
55 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_c_d_scene_node.html">FCDSceneNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_scene_node.html#e8d1c192e6c14a332d5e60b8956b00f5">GetParent</a> (size_t index=0)</td></tr> |
---|
56 | |
---|
57 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves a specific parent of the visual scene node. <a href="#e8d1c192e6c14a332d5e60b8956b00f5"></a><br></td></tr> |
---|
58 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="95e707d6ae9e15397c5c2128e0ddea86"></a><!-- doxytag: member="FCDSceneNode::GetParent" ref="95e707d6ae9e15397c5c2128e0ddea86" args="(size_t index=0) const " --> |
---|
59 | const <a class="el" href="class_f_c_d_scene_node.html">FCDSceneNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_scene_node.html#95e707d6ae9e15397c5c2128e0ddea86">GetParent</a> (size_t index=0) const </td></tr> |
---|
60 | |
---|
61 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
62 | <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_scene_node.html#3d626d46b55be55ecebdb44036705c62">GetChildrenCount</a> () const </td></tr> |
---|
63 | |
---|
64 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the number of child nodes for this visual scene node. <a href="#3d626d46b55be55ecebdb44036705c62"></a><br></td></tr> |
---|
65 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_c_d_scene_node.html">FCDSceneNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_scene_node.html#4137a5a0035341285adc7ae30cf4523b">GetChild</a> (size_t index)</td></tr> |
---|
66 | |
---|
67 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves a specific child of the visual scene node. <a href="#4137a5a0035341285adc7ae30cf4523b"></a><br></td></tr> |
---|
68 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="48e743198b721783eec2058f719c4c8d"></a><!-- doxytag: member="FCDSceneNode::GetChild" ref="48e743198b721783eec2058f719c4c8d" args="(size_t index) const " --> |
---|
69 | const <a class="el" href="class_f_c_d_scene_node.html">FCDSceneNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_scene_node.html#48e743198b721783eec2058f719c4c8d">GetChild</a> (size_t index) const </td></tr> |
---|
70 | |
---|
71 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
72 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classvector.html">FCDSceneNodeList</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_scene_node.html#fee23cb728eb5d766fb2ea237d93b2db">GetChildren</a> ()</td></tr> |
---|
73 | |
---|
74 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the list of children of the visual scene node. <a href="#fee23cb728eb5d766fb2ea237d93b2db"></a><br></td></tr> |
---|
75 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="25553c851cb0bf051eafbfa136b9d61f"></a><!-- doxytag: member="FCDSceneNode::GetChildren" ref="25553c851cb0bf051eafbfa136b9d61f" args="() const " --> |
---|
76 | const <a class="el" href="classvector.html">FCDSceneNodeList</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_scene_node.html#25553c851cb0bf051eafbfa136b9d61f">GetChildren</a> () const </td></tr> |
---|
77 | |
---|
78 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
79 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_c_d_scene_node.html">FCDSceneNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_scene_node.html#85dbc87fcb26a14cf310e50f86b7ef88">AddChildNode</a> ()</td></tr> |
---|
80 | |
---|
81 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new child scene node. <a href="#85dbc87fcb26a14cf310e50f86b7ef88"></a><br></td></tr> |
---|
82 | <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_scene_node.html#2aa73a31353db13b3c9cb9931c8479e8">AddChildNode</a> (<a class="el" href="class_f_c_d_scene_node.html">FCDSceneNode</a> *sceneNode)</td></tr> |
---|
83 | |
---|
84 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Attaches a existing scene node to this visual scene node. <a href="#2aa73a31353db13b3c9cb9931c8479e8"></a><br></td></tr> |
---|
85 | <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_scene_node.html#191a57fdbb1ae5ddab8b45b4d4984e63">GetInstanceCount</a> () const </td></tr> |
---|
86 | |
---|
87 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the number of entity instances at this node of the scene graph. <a href="#191a57fdbb1ae5ddab8b45b4d4984e63"></a><br></td></tr> |
---|
88 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_c_d_entity_instance.html">FCDEntityInstance</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_scene_node.html#5289e4d1feedb3af83a0719d04da348e">GetInstance</a> (size_t index)</td></tr> |
---|
89 | |
---|
90 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves a specific entity instance. <a href="#5289e4d1feedb3af83a0719d04da348e"></a><br></td></tr> |
---|
91 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="daee3075febbaa2443fba9bd6c1fe56b"></a><!-- doxytag: member="FCDSceneNode::GetInstance" ref="daee3075febbaa2443fba9bd6c1fe56b" args="(size_t index) const " --> |
---|
92 | const <a class="el" href="class_f_c_d_entity_instance.html">FCDEntityInstance</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_scene_node.html#daee3075febbaa2443fba9bd6c1fe56b">GetInstance</a> (size_t index) const </td></tr> |
---|
93 | |
---|
94 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
95 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classvector.html">FCDEntityInstanceList</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_scene_node.html#6ed7654648f65e5ca95438ab734dac6c">GetInstances</a> ()</td></tr> |
---|
96 | |
---|
97 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the list of entity instances at this node of the scene graph. <a href="#6ed7654648f65e5ca95438ab734dac6c"></a><br></td></tr> |
---|
98 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c6d305115148be718268247de0541a40"></a><!-- doxytag: member="FCDSceneNode::GetInstances" ref="c6d305115148be718268247de0541a40" args="() const " --> |
---|
99 | const <a class="el" href="classvector.html">FCDEntityInstanceList</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_scene_node.html#c6d305115148be718268247de0541a40">GetInstances</a> () const </td></tr> |
---|
100 | |
---|
101 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
102 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_c_d_entity_instance.html">FCDEntityInstance</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_scene_node.html#7660c240db5c142f087c6aa90a2b25e3">AddInstance</a> (<a class="el" href="class_f_c_d_entity.html">FCDEntity</a> *entity)</td></tr> |
---|
103 | |
---|
104 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new entity instance. <a href="#7660c240db5c142f087c6aa90a2b25e3"></a><br></td></tr> |
---|
105 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_scene_node.html#51c32207d487862c1ca2d53a119b1345">ReleaseInstance</a> (<a class="el" href="class_f_c_d_entity_instance.html">FCDEntityInstance</a> *instance)</td></tr> |
---|
106 | |
---|
107 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Releases an entity instance. <a href="#51c32207d487862c1ca2d53a119b1345"></a><br></td></tr> |
---|
108 | <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_scene_node.html#3767ecd3e9c672a4e13e7185ccd7305c">GetTransformCount</a> () const </td></tr> |
---|
109 | |
---|
110 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the number of transforms for this node of the scene graph. <a href="#3767ecd3e9c672a4e13e7185ccd7305c"></a><br></td></tr> |
---|
111 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_c_d_transform.html">FCDTransform</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_scene_node.html#77f7cd7f791b74d161f5b0a88d21018c">GetTransform</a> (size_t index)</td></tr> |
---|
112 | |
---|
113 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves a specific transform. <a href="#77f7cd7f791b74d161f5b0a88d21018c"></a><br></td></tr> |
---|
114 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a21348079b3e12aaa49ffa80c931bc97"></a><!-- doxytag: member="FCDSceneNode::GetTransform" ref="a21348079b3e12aaa49ffa80c931bc97" args="(size_t index) const " --> |
---|
115 | const <a class="el" href="class_f_c_d_transform.html">FCDTransform</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_scene_node.html#a21348079b3e12aaa49ffa80c931bc97">GetTransform</a> (size_t index) const </td></tr> |
---|
116 | |
---|
117 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
118 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classvector.html">FCDTransformList</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_scene_node.html#ae060361a7b43e664b66a85b019e5d46">GetTransforms</a> ()</td></tr> |
---|
119 | |
---|
120 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the list of transforms for this node of the scene graph. <a href="#ae060361a7b43e664b66a85b019e5d46"></a><br></td></tr> |
---|
121 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="07233cd2933c83a3613ee3f2106983a6"></a><!-- doxytag: member="FCDSceneNode::GetTransforms" ref="07233cd2933c83a3613ee3f2106983a6" args="() const " --> |
---|
122 | const <a class="el" href="classvector.html">FCDTransformList</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_scene_node.html#07233cd2933c83a3613ee3f2106983a6">GetTransforms</a> () const </td></tr> |
---|
123 | |
---|
124 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
125 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_c_d_transform.html">FCDTransform</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_scene_node.html#822ee50114c3607ab632a4dd0b405aa1">AddTransform</a> (<a class="el" href="class_f_c_d_transform.html#13e561c5e53aeaf84dedf4661cdc8921">FCDTransform::Type</a> type, size_t index=(size_t)-1)</td></tr> |
---|
126 | |
---|
127 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new transform for this visual scene node. <a href="#822ee50114c3607ab632a4dd0b405aa1"></a><br></td></tr> |
---|
128 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_scene_node.html#c679529b68c59acb808ff8a14f4d9a33">ReleaseTransform</a> (<a class="el" href="class_f_c_d_transform.html">FCDTransform</a> *transform)</td></tr> |
---|
129 | |
---|
130 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Releases a transform affecting this visual scene node. <a href="#c679529b68c59acb808ff8a14f4d9a33"></a><br></td></tr> |
---|
131 | <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <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_scene_node.html#bb12a38d1f2c6c38b719dff8f21d9cd5">FindDaeId</a> (const string &daeId)</td></tr> |
---|
132 | |
---|
133 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the visual scene node with the given id. <a href="#bb12a38d1f2c6c38b719dff8f21d9cd5"></a><br></td></tr> |
---|
134 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_scene_node.html#7793b12c203624d5e1604b9f996b78bd">GetVisibility</a> ()</td></tr> |
---|
135 | |
---|
136 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves whether the visual scene node is visible. <a href="#7793b12c203624d5e1604b9f996b78bd"></a><br></td></tr> |
---|
137 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="339793143d423269112076add8234272"></a><!-- doxytag: member="FCDSceneNode::GetVisibility" ref="339793143d423269112076add8234272" args="() const " --> |
---|
138 | const float & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_scene_node.html#339793143d423269112076add8234272">GetVisibility</a> () const </td></tr> |
---|
139 | |
---|
140 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
141 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_scene_node.html#03230a78e14fc4be25c8e0b60b4e0222">SetVisibility</a> (bool isVisible)</td></tr> |
---|
142 | |
---|
143 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the visibility of the visual scene node. <a href="#03230a78e14fc4be25c8e0b60b4e0222"></a><br></td></tr> |
---|
144 | <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_scene_node.html#0c06b667e6f1545745e0ce30f8f8a044">IsTarget</a> () const </td></tr> |
---|
145 | |
---|
146 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves whether this visual scene node is the target of an entity. <a href="#0c06b667e6f1545745e0ce30f8f8a044"></a><br></td></tr> |
---|
147 | <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_scene_node.html#abc87983cba1f9e7dbe7a10e3c2138e8">IsJoint</a> () const </td></tr> |
---|
148 | |
---|
149 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves whether this visual scene node is a joint. <a href="#abc87983cba1f9e7dbe7a10e3c2138e8"></a><br></td></tr> |
---|
150 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_scene_node.html#6f264292c81b39bcb9e349313dd08ba9">SetJointFlag</a> (bool _isJoint)</td></tr> |
---|
151 | |
---|
152 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets whether a visual scene node is a joint. <a href="#6f264292c81b39bcb9e349313dd08ba9"></a><br></td></tr> |
---|
153 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><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_scene_node.html#d14e7dc6ec8ff1755f40eade0e607f70">ToMatrix</a> () const </td></tr> |
---|
154 | |
---|
155 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the local transform for this visual scene node. <a href="#d14e7dc6ec8ff1755f40eade0e607f70"></a><br></td></tr> |
---|
156 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_scene_node.html#68e94104d336d4e3449b08949b4407ee">GenerateSampledMatrixAnimation</a> (<a class="el" href="classvector.html">FloatList</a> &keys, <a class="el" href="classvector.html">FMMatrix44List</a> &values)</td></tr> |
---|
157 | |
---|
158 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Generates a list of local transform samples for this visual scene node. <a href="#68e94104d336d4e3449b08949b4407ee"></a><br></td></tr> |
---|
159 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_scene_node.html#8d2667408080453df148768c648695e9">IncrementTargetCount</a> ()</td></tr> |
---|
160 | |
---|
161 | <tr><td class="mdescLeft"> </td><td class="mdescRight">[INTERNAL] Increments the number of entities target this node. <a href="#8d2667408080453df148768c648695e9"></a><br></td></tr> |
---|
162 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_scene_node.html#80bef3c1b93bc7f746a4d2af9c4e5883">DecrementTargetCount</a> ()</td></tr> |
---|
163 | |
---|
164 | <tr><td class="mdescLeft"> </td><td class="mdescRight">[INTERNAL] Decrements the number of entities target this node. <a href="#80bef3c1b93bc7f746a4d2af9c4e5883"></a><br></td></tr> |
---|
165 | <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <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_scene_node.html#1f24b3efe031d6195c2523d36ec127d7">LoadFromXML</a> (xmlNode *sceneNode)</td></tr> |
---|
166 | |
---|
167 | <tr><td class="mdescLeft"> </td><td class="mdescRight">[INTERNAL] Reads in the visual scene node from a given COLLADA XML tree node. <a href="#1f24b3efe031d6195c2523d36ec127d7"></a><br></td></tr> |
---|
168 | <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual xmlNode * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_scene_node.html#bb247124a836a1bb99d015d7de8d6943">WriteToXML</a> (xmlNode *parentNode) const </td></tr> |
---|
169 | |
---|
170 | <tr><td class="mdescLeft"> </td><td class="mdescRight">[INTERNAL] Writes out the visual scene node to the given COLLADA XML tree node. <a href="#bb247124a836a1bb99d015d7de8d6943"></a><br></td></tr> |
---|
171 | </table> |
---|
172 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
173 | A COLLADA visual scene node. |
---|
174 | <p> |
---|
175 | This class is also used to represent COLLADA visual scene entities.<p> |
---|
176 | A visual scene node contains child scene nodes to make a tree. A visual scene node may appear multiple times within the scene graph, but checks are made to verify that there are no cycles within the graph.<p> |
---|
177 | A visual scene node also contained an ordered list of transformations and a list of entity instances. |
---|
178 | <p> |
---|
179 | <hr><h2>Constructor & Destructor Documentation</h2> |
---|
180 | <a class="anchor" name="ca298791ceb66267f0c8856c404a5a92"></a><!-- doxytag: member="FCDSceneNode::FCDSceneNode" ref="ca298791ceb66267f0c8856c404a5a92" args="(FCDocument *document)" --><p> |
---|
181 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
182 | <tr> |
---|
183 | <td class="mdRow"> |
---|
184 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
185 | <tr> |
---|
186 | <td class="md" nowrap valign="top">FCDSceneNode::FCDSceneNode </td> |
---|
187 | <td class="md" valign="top">( </td> |
---|
188 | <td class="md" nowrap valign="top"><a class="el" href="class_f_c_document.html">FCDocument</a> * </td> |
---|
189 | <td class="mdname1" valign="top" nowrap> <em>document</em> </td> |
---|
190 | <td class="md" valign="top"> ) </td> |
---|
191 | <td class="md" nowrap></td> |
---|
192 | </tr> |
---|
193 | </table> |
---|
194 | </td> |
---|
195 | </tr> |
---|
196 | </table> |
---|
197 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
198 | <tr> |
---|
199 | <td> |
---|
200 | |
---|
201 | </td> |
---|
202 | <td> |
---|
203 | |
---|
204 | <p> |
---|
205 | Constructor: do not use directly. |
---|
206 | <p> |
---|
207 | Instead, use the <a class="el" href="namespace_f_u_xml_writer.html#16ea61a32b6aabc975ae2b64b15519c8">FCDSceneNode::AddChild</a> function for child visual scene nodes or the <a class="el" href="class_f_c_d_library.html#a5cdcac5a447298d5e3816e4f8c864d0">FCDLibrary::AddEntity</a> function for visual scenes. <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
208 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
209 | <tr><td valign="top"></td><td valign="top"><em>document</em> </td><td>The COLLADA document that owns the scene node. </td></tr> |
---|
210 | </table> |
---|
211 | </dl> |
---|
212 | </td> |
---|
213 | </tr> |
---|
214 | </table> |
---|
215 | <a class="anchor" name="22797fa8df1e2c8c2664cedd609c80cf"></a><!-- doxytag: member="FCDSceneNode::~FCDSceneNode" ref="22797fa8df1e2c8c2664cedd609c80cf" args="()" --><p> |
---|
216 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
217 | <tr> |
---|
218 | <td class="mdRow"> |
---|
219 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
220 | <tr> |
---|
221 | <td class="md" nowrap valign="top">virtual FCDSceneNode::~FCDSceneNode </td> |
---|
222 | <td class="md" valign="top">( </td> |
---|
223 | <td class="mdname1" valign="top" nowrap> </td> |
---|
224 | <td class="md" valign="top"> ) </td> |
---|
225 | <td class="md" nowrap><code> [virtual]</code></td> |
---|
226 | </tr> |
---|
227 | </table> |
---|
228 | </td> |
---|
229 | </tr> |
---|
230 | </table> |
---|
231 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
232 | <tr> |
---|
233 | <td> |
---|
234 | |
---|
235 | </td> |
---|
236 | <td> |
---|
237 | |
---|
238 | <p> |
---|
239 | Destructor: do not use directly. |
---|
240 | <p> |
---|
241 | Instead, use the FCDSceneNode::ReleaseChild function for visual scene nodes or the <a class="el" href="class_f_c_d_library.html#3fbfbcf4ade5b9c94d2ee2f59db5921d">FCDLibrary::ReleaseEntity</a> function for visual scenes. </td> |
---|
242 | </tr> |
---|
243 | </table> |
---|
244 | <hr><h2>Member Function Documentation</h2> |
---|
245 | <a class="anchor" name="2aa73a31353db13b3c9cb9931c8479e8"></a><!-- doxytag: member="FCDSceneNode::AddChildNode" ref="2aa73a31353db13b3c9cb9931c8479e8" args="(FCDSceneNode *sceneNode)" --><p> |
---|
246 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
247 | <tr> |
---|
248 | <td class="mdRow"> |
---|
249 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
250 | <tr> |
---|
251 | <td class="md" nowrap valign="top">bool FCDSceneNode::AddChildNode </td> |
---|
252 | <td class="md" valign="top">( </td> |
---|
253 | <td class="md" nowrap valign="top"><a class="el" href="class_f_c_d_scene_node.html">FCDSceneNode</a> * </td> |
---|
254 | <td class="mdname1" valign="top" nowrap> <em>sceneNode</em> </td> |
---|
255 | <td class="md" valign="top"> ) </td> |
---|
256 | <td class="md" nowrap></td> |
---|
257 | </tr> |
---|
258 | </table> |
---|
259 | </td> |
---|
260 | </tr> |
---|
261 | </table> |
---|
262 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
263 | <tr> |
---|
264 | <td> |
---|
265 | |
---|
266 | </td> |
---|
267 | <td> |
---|
268 | |
---|
269 | <p> |
---|
270 | Attaches a existing scene node to this visual scene node. |
---|
271 | <p> |
---|
272 | This function will fail if attaching the given scene node to this visual scene node creates a cycle within the scene graph. <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
273 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
274 | <tr><td valign="top"></td><td valign="top"><em>sceneNode</em> </td><td>The scene node to attach. </td></tr> |
---|
275 | </table> |
---|
276 | </dl> |
---|
277 | <dl compact><dt><b>Returns:</b></dt><dd>Whether the given scene node was attached to this scene node. </dd></dl> |
---|
278 | </td> |
---|
279 | </tr> |
---|
280 | </table> |
---|
281 | <a class="anchor" name="85dbc87fcb26a14cf310e50f86b7ef88"></a><!-- doxytag: member="FCDSceneNode::AddChildNode" ref="85dbc87fcb26a14cf310e50f86b7ef88" args="()" --><p> |
---|
282 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
283 | <tr> |
---|
284 | <td class="mdRow"> |
---|
285 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
286 | <tr> |
---|
287 | <td class="md" nowrap valign="top"><a class="el" href="class_f_c_d_scene_node.html">FCDSceneNode</a>* FCDSceneNode::AddChildNode </td> |
---|
288 | <td class="md" valign="top">( </td> |
---|
289 | <td class="mdname1" valign="top" nowrap> </td> |
---|
290 | <td class="md" valign="top"> ) </td> |
---|
291 | <td class="md" nowrap></td> |
---|
292 | </tr> |
---|
293 | </table> |
---|
294 | </td> |
---|
295 | </tr> |
---|
296 | </table> |
---|
297 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
298 | <tr> |
---|
299 | <td> |
---|
300 | |
---|
301 | </td> |
---|
302 | <td> |
---|
303 | |
---|
304 | <p> |
---|
305 | Creates a new child scene node. |
---|
306 | <p> |
---|
307 | <dl compact><dt><b>Returns:</b></dt><dd>The new child scene node. </dd></dl> |
---|
308 | </td> |
---|
309 | </tr> |
---|
310 | </table> |
---|
311 | <a class="anchor" name="7660c240db5c142f087c6aa90a2b25e3"></a><!-- doxytag: member="FCDSceneNode::AddInstance" ref="7660c240db5c142f087c6aa90a2b25e3" args="(FCDEntity *entity)" --><p> |
---|
312 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
313 | <tr> |
---|
314 | <td class="mdRow"> |
---|
315 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
316 | <tr> |
---|
317 | <td class="md" nowrap valign="top"><a class="el" href="class_f_c_d_entity_instance.html">FCDEntityInstance</a>* FCDSceneNode::AddInstance </td> |
---|
318 | <td class="md" valign="top">( </td> |
---|
319 | <td class="md" nowrap valign="top"><a class="el" href="class_f_c_d_entity.html">FCDEntity</a> * </td> |
---|
320 | <td class="mdname1" valign="top" nowrap> <em>entity</em> </td> |
---|
321 | <td class="md" valign="top"> ) </td> |
---|
322 | <td class="md" nowrap></td> |
---|
323 | </tr> |
---|
324 | </table> |
---|
325 | </td> |
---|
326 | </tr> |
---|
327 | </table> |
---|
328 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
329 | <tr> |
---|
330 | <td> |
---|
331 | |
---|
332 | </td> |
---|
333 | <td> |
---|
334 | |
---|
335 | <p> |
---|
336 | Creates a new entity instance. |
---|
337 | <p> |
---|
338 | Only geometric entities, controllers, light and cameras can be instantiated in the scene graph. To instantiate visual scene nodes, use the AddChildNode function. <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
339 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
340 | <tr><td valign="top"></td><td valign="top"><em>entity</em> </td><td>The entity to instantiate. Set this pointer to NULL to instantiate an external entity. </td></tr> |
---|
341 | </table> |
---|
342 | </dl> |
---|
343 | <dl compact><dt><b>Returns:</b></dt><dd>The entity instance structure. This pointer will be NULL if the entity cannot be instantiated here. </dd></dl> |
---|
344 | </td> |
---|
345 | </tr> |
---|
346 | </table> |
---|
347 | <a class="anchor" name="822ee50114c3607ab632a4dd0b405aa1"></a><!-- doxytag: member="FCDSceneNode::AddTransform" ref="822ee50114c3607ab632a4dd0b405aa1" args="(FCDTransform::Type type, size_t index=(size_t)-1)" --><p> |
---|
348 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
349 | <tr> |
---|
350 | <td class="mdRow"> |
---|
351 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
352 | <tr> |
---|
353 | <td class="md" nowrap valign="top"><a class="el" href="class_f_c_d_transform.html">FCDTransform</a>* FCDSceneNode::AddTransform </td> |
---|
354 | <td class="md" valign="top">( </td> |
---|
355 | <td class="md" nowrap valign="top"><a class="el" href="class_f_c_d_transform.html#13e561c5e53aeaf84dedf4661cdc8921">FCDTransform::Type</a> </td> |
---|
356 | <td class="mdname" nowrap> <em>type</em>, </td> |
---|
357 | </tr> |
---|
358 | <tr> |
---|
359 | <td class="md" nowrap align="right"></td> |
---|
360 | <td class="md"></td> |
---|
361 | <td class="md" nowrap>size_t </td> |
---|
362 | <td class="mdname" nowrap> <em>index</em> = <code>(size_t)-1</code></td> |
---|
363 | </tr> |
---|
364 | <tr> |
---|
365 | <td class="md"></td> |
---|
366 | <td class="md">) </td> |
---|
367 | <td class="md" colspan="2"></td> |
---|
368 | </tr> |
---|
369 | </table> |
---|
370 | </td> |
---|
371 | </tr> |
---|
372 | </table> |
---|
373 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
374 | <tr> |
---|
375 | <td> |
---|
376 | |
---|
377 | </td> |
---|
378 | <td> |
---|
379 | |
---|
380 | <p> |
---|
381 | Creates a new transform for this visual scene node. |
---|
382 | <p> |
---|
383 | The transforms are processed in order and COLLADA is column-major. For row-major matrix stacks, such as DirectX, this implies that the transformations will be processed in reverse order. By default, a transform is added at the end of the list. <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
384 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
385 | <tr><td valign="top"></td><td valign="top"><em>type</em> </td><td>The type of transform to create. </td></tr> |
---|
386 | <tr><td valign="top"></td><td valign="top"><em>index</em> </td><td>The index at which to insert the transform. Set this value to -1 to indicate that you want this transform at the end of the stack. </td></tr> |
---|
387 | </table> |
---|
388 | </dl> |
---|
389 | <dl compact><dt><b>Returns:</b></dt><dd>The created transform. </dd></dl> |
---|
390 | </td> |
---|
391 | </tr> |
---|
392 | </table> |
---|
393 | <a class="anchor" name="80bef3c1b93bc7f746a4d2af9c4e5883"></a><!-- doxytag: member="FCDSceneNode::DecrementTargetCount" ref="80bef3c1b93bc7f746a4d2af9c4e5883" args="()" --><p> |
---|
394 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
395 | <tr> |
---|
396 | <td class="mdRow"> |
---|
397 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
398 | <tr> |
---|
399 | <td class="md" nowrap valign="top">void FCDSceneNode::DecrementTargetCount </td> |
---|
400 | <td class="md" valign="top">( </td> |
---|
401 | <td class="mdname1" valign="top" nowrap> </td> |
---|
402 | <td class="md" valign="top"> ) </td> |
---|
403 | <td class="md" nowrap><code> [inline]</code></td> |
---|
404 | </tr> |
---|
405 | </table> |
---|
406 | </td> |
---|
407 | </tr> |
---|
408 | </table> |
---|
409 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
410 | <tr> |
---|
411 | <td> |
---|
412 | |
---|
413 | </td> |
---|
414 | <td> |
---|
415 | |
---|
416 | <p> |
---|
417 | [INTERNAL] Decrements the number of entities target this node. |
---|
418 | <p> |
---|
419 | To set targets, use the FCDTargetedEntity::SetTarget function. </td> |
---|
420 | </tr> |
---|
421 | </table> |
---|
422 | <a class="anchor" name="bb12a38d1f2c6c38b719dff8f21d9cd5"></a><!-- doxytag: member="FCDSceneNode::FindDaeId" ref="bb12a38d1f2c6c38b719dff8f21d9cd5" args="(const string &daeId)" --><p> |
---|
423 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
424 | <tr> |
---|
425 | <td class="mdRow"> |
---|
426 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
427 | <tr> |
---|
428 | <td class="md" nowrap valign="top">virtual <a class="el" href="class_f_c_d_entity.html">FCDEntity</a>* FCDSceneNode::FindDaeId </td> |
---|
429 | <td class="md" valign="top">( </td> |
---|
430 | <td class="md" nowrap valign="top">const string & </td> |
---|
431 | <td class="mdname1" valign="top" nowrap> <em>daeId</em> </td> |
---|
432 | <td class="md" valign="top"> ) </td> |
---|
433 | <td class="md" nowrap><code> [virtual]</code></td> |
---|
434 | </tr> |
---|
435 | </table> |
---|
436 | </td> |
---|
437 | </tr> |
---|
438 | </table> |
---|
439 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
440 | <tr> |
---|
441 | <td> |
---|
442 | |
---|
443 | </td> |
---|
444 | <td> |
---|
445 | |
---|
446 | <p> |
---|
447 | Retrieves the visual scene node with the given id. |
---|
448 | <p> |
---|
449 | This function looks through the whole tree of visual scene nodes for the wanted COLLADA id. <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
450 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
451 | <tr><td valign="top"></td><td valign="top"><em>daeId</em> </td><td>The COLLADA id to look for. </td></tr> |
---|
452 | </table> |
---|
453 | </dl> |
---|
454 | <dl compact><dt><b>Returns:</b></dt><dd>The visual scene node which has the given COLLADA id. This pointer will be NULL if no visual scene node can be found with the given COLLADA id. </dd></dl> |
---|
455 | |
---|
456 | <p> |
---|
457 | Reimplemented from <a class="el" href="class_f_c_d_entity.html#90832c3838b2eaf5e5b346052ec2331e">FCDEntity</a>. </td> |
---|
458 | </tr> |
---|
459 | </table> |
---|
460 | <a class="anchor" name="68e94104d336d4e3449b08949b4407ee"></a><!-- doxytag: member="FCDSceneNode::GenerateSampledMatrixAnimation" ref="68e94104d336d4e3449b08949b4407ee" args="(FloatList &keys, FMMatrix44List &values)" --><p> |
---|
461 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
462 | <tr> |
---|
463 | <td class="mdRow"> |
---|
464 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
465 | <tr> |
---|
466 | <td class="md" nowrap valign="top">void FCDSceneNode::GenerateSampledMatrixAnimation </td> |
---|
467 | <td class="md" valign="top">( </td> |
---|
468 | <td class="md" nowrap valign="top"><a class="el" href="classvector.html">FloatList</a> & </td> |
---|
469 | <td class="mdname" nowrap> <em>keys</em>, </td> |
---|
470 | </tr> |
---|
471 | <tr> |
---|
472 | <td class="md" nowrap align="right"></td> |
---|
473 | <td class="md"></td> |
---|
474 | <td class="md" nowrap><a class="el" href="classvector.html">FMMatrix44List</a> & </td> |
---|
475 | <td class="mdname" nowrap> <em>values</em></td> |
---|
476 | </tr> |
---|
477 | <tr> |
---|
478 | <td class="md"></td> |
---|
479 | <td class="md">) </td> |
---|
480 | <td class="md" colspan="2"></td> |
---|
481 | </tr> |
---|
482 | </table> |
---|
483 | </td> |
---|
484 | </tr> |
---|
485 | </table> |
---|
486 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
487 | <tr> |
---|
488 | <td> |
---|
489 | |
---|
490 | </td> |
---|
491 | <td> |
---|
492 | |
---|
493 | <p> |
---|
494 | Generates a list of local transform samples for this visual scene node. |
---|
495 | <p> |
---|
496 | This function will <b>permanently</b> modify the transforms of this visual scene node. <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
497 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
498 | <tr><td valign="top"></td><td valign="top"><em>keys</em> </td><td>A list of key inputs that will be filled in with the sample times. </td></tr> |
---|
499 | <tr><td valign="top"></td><td valign="top"><em>values</em> </td><td>A list of matrices that will be filled in with the sampled local transforms. </td></tr> |
---|
500 | </table> |
---|
501 | </dl> |
---|
502 | </td> |
---|
503 | </tr> |
---|
504 | </table> |
---|
505 | <a class="anchor" name="4137a5a0035341285adc7ae30cf4523b"></a><!-- doxytag: member="FCDSceneNode::GetChild" ref="4137a5a0035341285adc7ae30cf4523b" args="(size_t index)" --><p> |
---|
506 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
507 | <tr> |
---|
508 | <td class="mdRow"> |
---|
509 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
510 | <tr> |
---|
511 | <td class="md" nowrap valign="top"><a class="el" href="class_f_c_d_scene_node.html">FCDSceneNode</a>* FCDSceneNode::GetChild </td> |
---|
512 | <td class="md" valign="top">( </td> |
---|
513 | <td class="md" nowrap valign="top">size_t </td> |
---|
514 | <td class="mdname1" valign="top" nowrap> <em>index</em> </td> |
---|
515 | <td class="md" valign="top"> ) </td> |
---|
516 | <td class="md" nowrap><code> [inline]</code></td> |
---|
517 | </tr> |
---|
518 | </table> |
---|
519 | </td> |
---|
520 | </tr> |
---|
521 | </table> |
---|
522 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
523 | <tr> |
---|
524 | <td> |
---|
525 | |
---|
526 | </td> |
---|
527 | <td> |
---|
528 | |
---|
529 | <p> |
---|
530 | Retrieves a specific child of the visual scene node. |
---|
531 | <p> |
---|
532 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
533 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
534 | <tr><td valign="top"></td><td valign="top"><em>index</em> </td><td>The index of the child. </td></tr> |
---|
535 | </table> |
---|
536 | </dl> |
---|
537 | <dl compact><dt><b>Returns:</b></dt><dd>The child scene node. This pointer will be NULL if the index is out-of-bounds. </dd></dl> |
---|
538 | </td> |
---|
539 | </tr> |
---|
540 | </table> |
---|
541 | <a class="anchor" name="fee23cb728eb5d766fb2ea237d93b2db"></a><!-- doxytag: member="FCDSceneNode::GetChildren" ref="fee23cb728eb5d766fb2ea237d93b2db" args="()" --><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"><a class="el" href="classvector.html">FCDSceneNodeList</a>& FCDSceneNode::GetChildren </td> |
---|
548 | <td class="md" valign="top">( </td> |
---|
549 | <td class="mdname1" valign="top" nowrap> </td> |
---|
550 | <td class="md" valign="top"> ) </td> |
---|
551 | <td class="md" nowrap><code> [inline]</code></td> |
---|
552 | </tr> |
---|
553 | </table> |
---|
554 | </td> |
---|
555 | </tr> |
---|
556 | </table> |
---|
557 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
558 | <tr> |
---|
559 | <td> |
---|
560 | |
---|
561 | </td> |
---|
562 | <td> |
---|
563 | |
---|
564 | <p> |
---|
565 | Retrieves the list of children of the visual scene node. |
---|
566 | <p> |
---|
567 | <dl compact><dt><b>Returns:</b></dt><dd>The list of child scene nodes. </dd></dl> |
---|
568 | </td> |
---|
569 | </tr> |
---|
570 | </table> |
---|
571 | <a class="anchor" name="3d626d46b55be55ecebdb44036705c62"></a><!-- doxytag: member="FCDSceneNode::GetChildrenCount" ref="3d626d46b55be55ecebdb44036705c62" args="() const " --><p> |
---|
572 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
573 | <tr> |
---|
574 | <td class="mdRow"> |
---|
575 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
576 | <tr> |
---|
577 | <td class="md" nowrap valign="top">size_t FCDSceneNode::GetChildrenCount </td> |
---|
578 | <td class="md" valign="top">( </td> |
---|
579 | <td class="mdname1" valign="top" nowrap> </td> |
---|
580 | <td class="md" valign="top"> ) </td> |
---|
581 | <td class="md" nowrap> const<code> [inline]</code></td> |
---|
582 | </tr> |
---|
583 | </table> |
---|
584 | </td> |
---|
585 | </tr> |
---|
586 | </table> |
---|
587 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
588 | <tr> |
---|
589 | <td> |
---|
590 | |
---|
591 | </td> |
---|
592 | <td> |
---|
593 | |
---|
594 | <p> |
---|
595 | Retrieves the number of child nodes for this visual scene node. |
---|
596 | <p> |
---|
597 | <dl compact><dt><b>Returns:</b></dt><dd>The number of children. </dd></dl> |
---|
598 | </td> |
---|
599 | </tr> |
---|
600 | </table> |
---|
601 | <a class="anchor" name="5289e4d1feedb3af83a0719d04da348e"></a><!-- doxytag: member="FCDSceneNode::GetInstance" ref="5289e4d1feedb3af83a0719d04da348e" args="(size_t index)" --><p> |
---|
602 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
603 | <tr> |
---|
604 | <td class="mdRow"> |
---|
605 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
606 | <tr> |
---|
607 | <td class="md" nowrap valign="top"><a class="el" href="class_f_c_d_entity_instance.html">FCDEntityInstance</a>* FCDSceneNode::GetInstance </td> |
---|
608 | <td class="md" valign="top">( </td> |
---|
609 | <td class="md" nowrap valign="top">size_t </td> |
---|
610 | <td class="mdname1" valign="top" nowrap> <em>index</em> </td> |
---|
611 | <td class="md" valign="top"> ) </td> |
---|
612 | <td class="md" nowrap><code> [inline]</code></td> |
---|
613 | </tr> |
---|
614 | </table> |
---|
615 | </td> |
---|
616 | </tr> |
---|
617 | </table> |
---|
618 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
619 | <tr> |
---|
620 | <td> |
---|
621 | |
---|
622 | </td> |
---|
623 | <td> |
---|
624 | |
---|
625 | <p> |
---|
626 | Retrieves a specific entity instance. |
---|
627 | <p> |
---|
628 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
629 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
630 | <tr><td valign="top"></td><td valign="top"><em>index</em> </td><td>The index of the instance. </td></tr> |
---|
631 | </table> |
---|
632 | </dl> |
---|
633 | <dl compact><dt><b>Returns:</b></dt><dd>The entity instance at the given index. This pointer will be NULL if the index is out-of-bounds. </dd></dl> |
---|
634 | </td> |
---|
635 | </tr> |
---|
636 | </table> |
---|
637 | <a class="anchor" name="191a57fdbb1ae5ddab8b45b4d4984e63"></a><!-- doxytag: member="FCDSceneNode::GetInstanceCount" ref="191a57fdbb1ae5ddab8b45b4d4984e63" args="() const " --><p> |
---|
638 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
639 | <tr> |
---|
640 | <td class="mdRow"> |
---|
641 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
642 | <tr> |
---|
643 | <td class="md" nowrap valign="top">size_t FCDSceneNode::GetInstanceCount </td> |
---|
644 | <td class="md" valign="top">( </td> |
---|
645 | <td class="mdname1" valign="top" nowrap> </td> |
---|
646 | <td class="md" valign="top"> ) </td> |
---|
647 | <td class="md" nowrap> const<code> [inline]</code></td> |
---|
648 | </tr> |
---|
649 | </table> |
---|
650 | </td> |
---|
651 | </tr> |
---|
652 | </table> |
---|
653 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
654 | <tr> |
---|
655 | <td> |
---|
656 | |
---|
657 | </td> |
---|
658 | <td> |
---|
659 | |
---|
660 | <p> |
---|
661 | Retrieves the number of entity instances at this node of the scene graph. |
---|
662 | <p> |
---|
663 | <dl compact><dt><b>Returns:</b></dt><dd>The number of entity instances. </dd></dl> |
---|
664 | </td> |
---|
665 | </tr> |
---|
666 | </table> |
---|
667 | <a class="anchor" name="6ed7654648f65e5ca95438ab734dac6c"></a><!-- doxytag: member="FCDSceneNode::GetInstances" ref="6ed7654648f65e5ca95438ab734dac6c" args="()" --><p> |
---|
668 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
669 | <tr> |
---|
670 | <td class="mdRow"> |
---|
671 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
672 | <tr> |
---|
673 | <td class="md" nowrap valign="top"><a class="el" href="classvector.html">FCDEntityInstanceList</a>& FCDSceneNode::GetInstances </td> |
---|
674 | <td class="md" valign="top">( </td> |
---|
675 | <td class="mdname1" valign="top" nowrap> </td> |
---|
676 | <td class="md" valign="top"> ) </td> |
---|
677 | <td class="md" nowrap><code> [inline]</code></td> |
---|
678 | </tr> |
---|
679 | </table> |
---|
680 | </td> |
---|
681 | </tr> |
---|
682 | </table> |
---|
683 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
684 | <tr> |
---|
685 | <td> |
---|
686 | |
---|
687 | </td> |
---|
688 | <td> |
---|
689 | |
---|
690 | <p> |
---|
691 | Retrieves the list of entity instances at this node of the scene graph. |
---|
692 | <p> |
---|
693 | <dl compact><dt><b>Returns:</b></dt><dd>The list of entity instances. </dd></dl> |
---|
694 | </td> |
---|
695 | </tr> |
---|
696 | </table> |
---|
697 | <a class="anchor" name="e8d1c192e6c14a332d5e60b8956b00f5"></a><!-- doxytag: member="FCDSceneNode::GetParent" ref="e8d1c192e6c14a332d5e60b8956b00f5" args="(size_t index=0)" --><p> |
---|
698 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
699 | <tr> |
---|
700 | <td class="mdRow"> |
---|
701 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
702 | <tr> |
---|
703 | <td class="md" nowrap valign="top"><a class="el" href="class_f_c_d_scene_node.html">FCDSceneNode</a>* FCDSceneNode::GetParent </td> |
---|
704 | <td class="md" valign="top">( </td> |
---|
705 | <td class="md" nowrap valign="top">size_t </td> |
---|
706 | <td class="mdname1" valign="top" nowrap> <em>index</em> = <code>0</code> </td> |
---|
707 | <td class="md" valign="top"> ) </td> |
---|
708 | <td class="md" nowrap><code> [inline]</code></td> |
---|
709 | </tr> |
---|
710 | </table> |
---|
711 | </td> |
---|
712 | </tr> |
---|
713 | </table> |
---|
714 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
715 | <tr> |
---|
716 | <td> |
---|
717 | |
---|
718 | </td> |
---|
719 | <td> |
---|
720 | |
---|
721 | <p> |
---|
722 | Retrieves a specific parent of the visual scene node. |
---|
723 | <p> |
---|
724 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
725 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
726 | <tr><td valign="top"></td><td valign="top"><em>index</em> </td><td>The index of the parent. </td></tr> |
---|
727 | </table> |
---|
728 | </dl> |
---|
729 | <dl compact><dt><b>Returns:</b></dt><dd>The parent visual scene node. This pointer will be NULL if the scene node has no parents or if the index is out-of-bounds. </dd></dl> |
---|
730 | </td> |
---|
731 | </tr> |
---|
732 | </table> |
---|
733 | <a class="anchor" name="cce55d7e3bbcb7219e1f568ade78a33e"></a><!-- doxytag: member="FCDSceneNode::GetParentCount" ref="cce55d7e3bbcb7219e1f568ade78a33e" args="() const " --><p> |
---|
734 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
735 | <tr> |
---|
736 | <td class="mdRow"> |
---|
737 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
738 | <tr> |
---|
739 | <td class="md" nowrap valign="top">size_t FCDSceneNode::GetParentCount </td> |
---|
740 | <td class="md" valign="top">( </td> |
---|
741 | <td class="mdname1" valign="top" nowrap> </td> |
---|
742 | <td class="md" valign="top"> ) </td> |
---|
743 | <td class="md" nowrap> const<code> [inline]</code></td> |
---|
744 | </tr> |
---|
745 | </table> |
---|
746 | </td> |
---|
747 | </tr> |
---|
748 | </table> |
---|
749 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
750 | <tr> |
---|
751 | <td> |
---|
752 | |
---|
753 | </td> |
---|
754 | <td> |
---|
755 | |
---|
756 | <p> |
---|
757 | Retrieves the number of parent nodes for this visual scene node. |
---|
758 | <p> |
---|
759 | <dl compact><dt><b>Returns:</b></dt><dd>The number of parents. </dd></dl> |
---|
760 | </td> |
---|
761 | </tr> |
---|
762 | </table> |
---|
763 | <a class="anchor" name="77f7cd7f791b74d161f5b0a88d21018c"></a><!-- doxytag: member="FCDSceneNode::GetTransform" ref="77f7cd7f791b74d161f5b0a88d21018c" args="(size_t index)" --><p> |
---|
764 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
765 | <tr> |
---|
766 | <td class="mdRow"> |
---|
767 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
768 | <tr> |
---|
769 | <td class="md" nowrap valign="top"><a class="el" href="class_f_c_d_transform.html">FCDTransform</a>* FCDSceneNode::GetTransform </td> |
---|
770 | <td class="md" valign="top">( </td> |
---|
771 | <td class="md" nowrap valign="top">size_t </td> |
---|
772 | <td class="mdname1" valign="top" nowrap> <em>index</em> </td> |
---|
773 | <td class="md" valign="top"> ) </td> |
---|
774 | <td class="md" nowrap><code> [inline]</code></td> |
---|
775 | </tr> |
---|
776 | </table> |
---|
777 | </td> |
---|
778 | </tr> |
---|
779 | </table> |
---|
780 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
781 | <tr> |
---|
782 | <td> |
---|
783 | |
---|
784 | </td> |
---|
785 | <td> |
---|
786 | |
---|
787 | <p> |
---|
788 | Retrieves a specific transform. |
---|
789 | <p> |
---|
790 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
791 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
792 | <tr><td valign="top"></td><td valign="top"><em>index</em> </td><td>The index of the transform. </td></tr> |
---|
793 | </table> |
---|
794 | </dl> |
---|
795 | <dl compact><dt><b>Returns:</b></dt><dd>The transform at the given index. This pointer will be NULL if the index is out-of-bounds. </dd></dl> |
---|
796 | </td> |
---|
797 | </tr> |
---|
798 | </table> |
---|
799 | <a class="anchor" name="3767ecd3e9c672a4e13e7185ccd7305c"></a><!-- doxytag: member="FCDSceneNode::GetTransformCount" ref="3767ecd3e9c672a4e13e7185ccd7305c" args="() const " --><p> |
---|
800 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
801 | <tr> |
---|
802 | <td class="mdRow"> |
---|
803 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
804 | <tr> |
---|
805 | <td class="md" nowrap valign="top">size_t FCDSceneNode::GetTransformCount </td> |
---|
806 | <td class="md" valign="top">( </td> |
---|
807 | <td class="mdname1" valign="top" nowrap> </td> |
---|
808 | <td class="md" valign="top"> ) </td> |
---|
809 | <td class="md" nowrap> const<code> [inline]</code></td> |
---|
810 | </tr> |
---|
811 | </table> |
---|
812 | </td> |
---|
813 | </tr> |
---|
814 | </table> |
---|
815 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
816 | <tr> |
---|
817 | <td> |
---|
818 | |
---|
819 | </td> |
---|
820 | <td> |
---|
821 | |
---|
822 | <p> |
---|
823 | Retrieves the number of transforms for this node of the scene graph. |
---|
824 | <p> |
---|
825 | <dl compact><dt><b>Returns:</b></dt><dd>The number of transforms. </dd></dl> |
---|
826 | </td> |
---|
827 | </tr> |
---|
828 | </table> |
---|
829 | <a class="anchor" name="ae060361a7b43e664b66a85b019e5d46"></a><!-- doxytag: member="FCDSceneNode::GetTransforms" ref="ae060361a7b43e664b66a85b019e5d46" args="()" --><p> |
---|
830 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
831 | <tr> |
---|
832 | <td class="mdRow"> |
---|
833 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
834 | <tr> |
---|
835 | <td class="md" nowrap valign="top"><a class="el" href="classvector.html">FCDTransformList</a>& FCDSceneNode::GetTransforms </td> |
---|
836 | <td class="md" valign="top">( </td> |
---|
837 | <td class="mdname1" valign="top" nowrap> </td> |
---|
838 | <td class="md" valign="top"> ) </td> |
---|
839 | <td class="md" nowrap><code> [inline]</code></td> |
---|
840 | </tr> |
---|
841 | </table> |
---|
842 | </td> |
---|
843 | </tr> |
---|
844 | </table> |
---|
845 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
846 | <tr> |
---|
847 | <td> |
---|
848 | |
---|
849 | </td> |
---|
850 | <td> |
---|
851 | |
---|
852 | <p> |
---|
853 | Retrieves the list of transforms for this node of the scene graph. |
---|
854 | <p> |
---|
855 | <dl compact><dt><b>Returns:</b></dt><dd>The list of transforms. </dd></dl> |
---|
856 | </td> |
---|
857 | </tr> |
---|
858 | </table> |
---|
859 | <a class="anchor" name="5dad40efa762d2cb7b3df38288c7f5aa"></a><!-- doxytag: member="FCDSceneNode::GetType" ref="5dad40efa762d2cb7b3df38288c7f5aa" args="() const " --><p> |
---|
860 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
861 | <tr> |
---|
862 | <td class="mdRow"> |
---|
863 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
864 | <tr> |
---|
865 | <td class="md" nowrap valign="top">virtual <a class="el" href="class_f_c_d_entity.html#9301a4bd5f4d4190ec13e40db4effdd7">Type</a> FCDSceneNode::GetType </td> |
---|
866 | <td class="md" valign="top">( </td> |
---|
867 | <td class="mdname1" valign="top" nowrap> </td> |
---|
868 | <td class="md" valign="top"> ) </td> |
---|
869 | <td class="md" nowrap> const<code> [inline, virtual]</code></td> |
---|
870 | </tr> |
---|
871 | </table> |
---|
872 | </td> |
---|
873 | </tr> |
---|
874 | </table> |
---|
875 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
876 | <tr> |
---|
877 | <td> |
---|
878 | |
---|
879 | </td> |
---|
880 | <td> |
---|
881 | |
---|
882 | <p> |
---|
883 | Retrieves the type of the entity class. |
---|
884 | <p> |
---|
885 | <dl compact><dt><b>Returns:</b></dt><dd>The type of entity class: SCENE_NODE. </dd></dl> |
---|
886 | |
---|
887 | <p> |
---|
888 | Reimplemented from <a class="el" href="class_f_c_d_entity.html#bfd4312a7124f92364c1e6517c7e60ba">FCDEntity</a>. </td> |
---|
889 | </tr> |
---|
890 | </table> |
---|
891 | <a class="anchor" name="7793b12c203624d5e1604b9f996b78bd"></a><!-- doxytag: member="FCDSceneNode::GetVisibility" ref="7793b12c203624d5e1604b9f996b78bd" args="()" --><p> |
---|
892 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
893 | <tr> |
---|
894 | <td class="mdRow"> |
---|
895 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
896 | <tr> |
---|
897 | <td class="md" nowrap valign="top">float& FCDSceneNode::GetVisibility </td> |
---|
898 | <td class="md" valign="top">( </td> |
---|
899 | <td class="mdname1" valign="top" nowrap> </td> |
---|
900 | <td class="md" valign="top"> ) </td> |
---|
901 | <td class="md" nowrap><code> [inline]</code></td> |
---|
902 | </tr> |
---|
903 | </table> |
---|
904 | </td> |
---|
905 | </tr> |
---|
906 | </table> |
---|
907 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
908 | <tr> |
---|
909 | <td> |
---|
910 | |
---|
911 | </td> |
---|
912 | <td> |
---|
913 | |
---|
914 | <p> |
---|
915 | Retrieves whether the visual scene node is visible. |
---|
916 | <p> |
---|
917 | A hidden visual scene node will not be rendered but will still affect the world. This parameter is a floating-point value because it is animated. It should be intepreted as a Boolean value. <dl compact><dt><b>Returns:</b></dt><dd>Whether the scene node is visible. </dd></dl> |
---|
918 | </td> |
---|
919 | </tr> |
---|
920 | </table> |
---|
921 | <a class="anchor" name="8d2667408080453df148768c648695e9"></a><!-- doxytag: member="FCDSceneNode::IncrementTargetCount" ref="8d2667408080453df148768c648695e9" args="()" --><p> |
---|
922 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
923 | <tr> |
---|
924 | <td class="mdRow"> |
---|
925 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
926 | <tr> |
---|
927 | <td class="md" nowrap valign="top">void FCDSceneNode::IncrementTargetCount </td> |
---|
928 | <td class="md" valign="top">( </td> |
---|
929 | <td class="mdname1" valign="top" nowrap> </td> |
---|
930 | <td class="md" valign="top"> ) </td> |
---|
931 | <td class="md" nowrap><code> [inline]</code></td> |
---|
932 | </tr> |
---|
933 | </table> |
---|
934 | </td> |
---|
935 | </tr> |
---|
936 | </table> |
---|
937 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
938 | <tr> |
---|
939 | <td> |
---|
940 | |
---|
941 | </td> |
---|
942 | <td> |
---|
943 | |
---|
944 | <p> |
---|
945 | [INTERNAL] Increments the number of entities target this node. |
---|
946 | <p> |
---|
947 | To set targets, use the FCDTargetedEntity::SetTarget function. </td> |
---|
948 | </tr> |
---|
949 | </table> |
---|
950 | <a class="anchor" name="abc87983cba1f9e7dbe7a10e3c2138e8"></a><!-- doxytag: member="FCDSceneNode::IsJoint" ref="abc87983cba1f9e7dbe7a10e3c2138e8" args="() const " --><p> |
---|
951 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
952 | <tr> |
---|
953 | <td class="mdRow"> |
---|
954 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
955 | <tr> |
---|
956 | <td class="md" nowrap valign="top">bool FCDSceneNode::IsJoint </td> |
---|
957 | <td class="md" valign="top">( </td> |
---|
958 | <td class="mdname1" valign="top" nowrap> </td> |
---|
959 | <td class="md" valign="top"> ) </td> |
---|
960 | <td class="md" nowrap> const<code> [inline]</code></td> |
---|
961 | </tr> |
---|
962 | </table> |
---|
963 | </td> |
---|
964 | </tr> |
---|
965 | </table> |
---|
966 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
967 | <tr> |
---|
968 | <td> |
---|
969 | |
---|
970 | </td> |
---|
971 | <td> |
---|
972 | |
---|
973 | <p> |
---|
974 | Retrieves whether this visual scene node is a joint. |
---|
975 | <p> |
---|
976 | Joints are called bones in 3dsMax. A joint is a scene node that is used in skinning. <dl compact><dt><b>Returns:</b></dt><dd>Whether this node is a joint. </dd></dl> |
---|
977 | </td> |
---|
978 | </tr> |
---|
979 | </table> |
---|
980 | <a class="anchor" name="0c06b667e6f1545745e0ce30f8f8a044"></a><!-- doxytag: member="FCDSceneNode::IsTarget" ref="0c06b667e6f1545745e0ce30f8f8a044" args="() const " --><p> |
---|
981 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
982 | <tr> |
---|
983 | <td class="mdRow"> |
---|
984 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
985 | <tr> |
---|
986 | <td class="md" nowrap valign="top">bool FCDSceneNode::IsTarget </td> |
---|
987 | <td class="md" valign="top">( </td> |
---|
988 | <td class="mdname1" valign="top" nowrap> </td> |
---|
989 | <td class="md" valign="top"> ) </td> |
---|
990 | <td class="md" nowrap> const<code> [inline]</code></td> |
---|
991 | </tr> |
---|
992 | </table> |
---|
993 | </td> |
---|
994 | </tr> |
---|
995 | </table> |
---|
996 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
997 | <tr> |
---|
998 | <td> |
---|
999 | |
---|
1000 | </td> |
---|
1001 | <td> |
---|
1002 | |
---|
1003 | <p> |
---|
1004 | Retrieves whether this visual scene node is the target of an entity. |
---|
1005 | <p> |
---|
1006 | <dl compact><dt><b>Returns:</b></dt><dd>Whether this is an entity target. </dd></dl> |
---|
1007 | </td> |
---|
1008 | </tr> |
---|
1009 | </table> |
---|
1010 | <a class="anchor" name="1f24b3efe031d6195c2523d36ec127d7"></a><!-- doxytag: member="FCDSceneNode::LoadFromXML" ref="1f24b3efe031d6195c2523d36ec127d7" args="(xmlNode *sceneNode)" --><p> |
---|
1011 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1012 | <tr> |
---|
1013 | <td class="mdRow"> |
---|
1014 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1015 | <tr> |
---|
1016 | <td class="md" nowrap valign="top">virtual <a class="el" href="class_f_u_status.html">FUStatus</a> FCDSceneNode::LoadFromXML </td> |
---|
1017 | <td class="md" valign="top">( </td> |
---|
1018 | <td class="md" nowrap valign="top">xmlNode * </td> |
---|
1019 | <td class="mdname1" valign="top" nowrap> <em>sceneNode</em> </td> |
---|
1020 | <td class="md" valign="top"> ) </td> |
---|
1021 | <td class="md" nowrap><code> [virtual]</code></td> |
---|
1022 | </tr> |
---|
1023 | </table> |
---|
1024 | </td> |
---|
1025 | </tr> |
---|
1026 | </table> |
---|
1027 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1028 | <tr> |
---|
1029 | <td> |
---|
1030 | |
---|
1031 | </td> |
---|
1032 | <td> |
---|
1033 | |
---|
1034 | <p> |
---|
1035 | [INTERNAL] Reads in the visual scene node from a given COLLADA XML tree node. |
---|
1036 | <p> |
---|
1037 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
1038 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
1039 | <tr><td valign="top"></td><td valign="top"><em>sceneNode</em> </td><td>The COLLADA XML tree node. </td></tr> |
---|
1040 | </table> |
---|
1041 | </dl> |
---|
1042 | <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 node. </dd></dl> |
---|
1043 | |
---|
1044 | <p> |
---|
1045 | Reimplemented from <a class="el" href="class_f_c_d_entity.html#8e32fcc93de76acc4b606db7b5b83890">FCDEntity</a>. </td> |
---|
1046 | </tr> |
---|
1047 | </table> |
---|
1048 | <a class="anchor" name="51c32207d487862c1ca2d53a119b1345"></a><!-- doxytag: member="FCDSceneNode::ReleaseInstance" ref="51c32207d487862c1ca2d53a119b1345" args="(FCDEntityInstance *instance)" --><p> |
---|
1049 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1050 | <tr> |
---|
1051 | <td class="mdRow"> |
---|
1052 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1053 | <tr> |
---|
1054 | <td class="md" nowrap valign="top">void FCDSceneNode::ReleaseInstance </td> |
---|
1055 | <td class="md" valign="top">( </td> |
---|
1056 | <td class="md" nowrap valign="top"><a class="el" href="class_f_c_d_entity_instance.html">FCDEntityInstance</a> * </td> |
---|
1057 | <td class="mdname1" valign="top" nowrap> <em>instance</em> </td> |
---|
1058 | <td class="md" valign="top"> ) </td> |
---|
1059 | <td class="md" nowrap></td> |
---|
1060 | </tr> |
---|
1061 | </table> |
---|
1062 | </td> |
---|
1063 | </tr> |
---|
1064 | </table> |
---|
1065 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1066 | <tr> |
---|
1067 | <td> |
---|
1068 | |
---|
1069 | </td> |
---|
1070 | <td> |
---|
1071 | |
---|
1072 | <p> |
---|
1073 | Releases an entity instance. |
---|
1074 | <p> |
---|
1075 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
1076 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
1077 | <tr><td valign="top"></td><td valign="top"><em>instance</em> </td><td>The entity instance to release. </td></tr> |
---|
1078 | </table> |
---|
1079 | </dl> |
---|
1080 | </td> |
---|
1081 | </tr> |
---|
1082 | </table> |
---|
1083 | <a class="anchor" name="c679529b68c59acb808ff8a14f4d9a33"></a><!-- doxytag: member="FCDSceneNode::ReleaseTransform" ref="c679529b68c59acb808ff8a14f4d9a33" args="(FCDTransform *transform)" --><p> |
---|
1084 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1085 | <tr> |
---|
1086 | <td class="mdRow"> |
---|
1087 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1088 | <tr> |
---|
1089 | <td class="md" nowrap valign="top">void FCDSceneNode::ReleaseTransform </td> |
---|
1090 | <td class="md" valign="top">( </td> |
---|
1091 | <td class="md" nowrap valign="top"><a class="el" href="class_f_c_d_transform.html">FCDTransform</a> * </td> |
---|
1092 | <td class="mdname1" valign="top" nowrap> <em>transform</em> </td> |
---|
1093 | <td class="md" valign="top"> ) </td> |
---|
1094 | <td class="md" nowrap></td> |
---|
1095 | </tr> |
---|
1096 | </table> |
---|
1097 | </td> |
---|
1098 | </tr> |
---|
1099 | </table> |
---|
1100 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1101 | <tr> |
---|
1102 | <td> |
---|
1103 | |
---|
1104 | </td> |
---|
1105 | <td> |
---|
1106 | |
---|
1107 | <p> |
---|
1108 | Releases a transform affecting this visual scene node. |
---|
1109 | <p> |
---|
1110 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
1111 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
1112 | <tr><td valign="top"></td><td valign="top"><em>transform</em> </td><td>The transform to release. </td></tr> |
---|
1113 | </table> |
---|
1114 | </dl> |
---|
1115 | </td> |
---|
1116 | </tr> |
---|
1117 | </table> |
---|
1118 | <a class="anchor" name="6f264292c81b39bcb9e349313dd08ba9"></a><!-- doxytag: member="FCDSceneNode::SetJointFlag" ref="6f264292c81b39bcb9e349313dd08ba9" args="(bool _isJoint)" --><p> |
---|
1119 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1120 | <tr> |
---|
1121 | <td class="mdRow"> |
---|
1122 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1123 | <tr> |
---|
1124 | <td class="md" nowrap valign="top">void FCDSceneNode::SetJointFlag </td> |
---|
1125 | <td class="md" valign="top">( </td> |
---|
1126 | <td class="md" nowrap valign="top">bool </td> |
---|
1127 | <td class="mdname1" valign="top" nowrap> <em>_isJoint</em> </td> |
---|
1128 | <td class="md" valign="top"> ) </td> |
---|
1129 | <td class="md" nowrap><code> [inline]</code></td> |
---|
1130 | </tr> |
---|
1131 | </table> |
---|
1132 | </td> |
---|
1133 | </tr> |
---|
1134 | </table> |
---|
1135 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1136 | <tr> |
---|
1137 | <td> |
---|
1138 | |
---|
1139 | </td> |
---|
1140 | <td> |
---|
1141 | |
---|
1142 | <p> |
---|
1143 | Sets whether a visual scene node is a joint. |
---|
1144 | <p> |
---|
1145 | Joints are called bones in 3dsMax. A joint is a scene node that is used in skinning. <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
1146 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
1147 | <tr><td valign="top"></td><td valign="top"><em>_isJoint</em> </td><td>Whether this node is a joint. </td></tr> |
---|
1148 | </table> |
---|
1149 | </dl> |
---|
1150 | </td> |
---|
1151 | </tr> |
---|
1152 | </table> |
---|
1153 | <a class="anchor" name="03230a78e14fc4be25c8e0b60b4e0222"></a><!-- doxytag: member="FCDSceneNode::SetVisibility" ref="03230a78e14fc4be25c8e0b60b4e0222" args="(bool isVisible)" --><p> |
---|
1154 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1155 | <tr> |
---|
1156 | <td class="mdRow"> |
---|
1157 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1158 | <tr> |
---|
1159 | <td class="md" nowrap valign="top">void FCDSceneNode::SetVisibility </td> |
---|
1160 | <td class="md" valign="top">( </td> |
---|
1161 | <td class="md" nowrap valign="top">bool </td> |
---|
1162 | <td class="mdname1" valign="top" nowrap> <em>isVisible</em> </td> |
---|
1163 | <td class="md" valign="top"> ) </td> |
---|
1164 | <td class="md" nowrap><code> [inline]</code></td> |
---|
1165 | </tr> |
---|
1166 | </table> |
---|
1167 | </td> |
---|
1168 | </tr> |
---|
1169 | </table> |
---|
1170 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1171 | <tr> |
---|
1172 | <td> |
---|
1173 | |
---|
1174 | </td> |
---|
1175 | <td> |
---|
1176 | |
---|
1177 | <p> |
---|
1178 | Sets the visibility of the visual scene node. |
---|
1179 | <p> |
---|
1180 | A hidden visual scene node will not be rendered but will still affect the world. <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
1181 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
1182 | <tr><td valign="top"></td><td valign="top"><em>isVisible</em> </td><td>Whether the visual scene node is visible. </td></tr> |
---|
1183 | </table> |
---|
1184 | </dl> |
---|
1185 | </td> |
---|
1186 | </tr> |
---|
1187 | </table> |
---|
1188 | <a class="anchor" name="d14e7dc6ec8ff1755f40eade0e607f70"></a><!-- doxytag: member="FCDSceneNode::ToMatrix" ref="d14e7dc6ec8ff1755f40eade0e607f70" args="() const " --><p> |
---|
1189 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1190 | <tr> |
---|
1191 | <td class="mdRow"> |
---|
1192 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1193 | <tr> |
---|
1194 | <td class="md" nowrap valign="top"><a class="el" href="class_f_m_matrix44.html">FMMatrix44</a> FCDSceneNode::ToMatrix </td> |
---|
1195 | <td class="md" valign="top">( </td> |
---|
1196 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1197 | <td class="md" valign="top"> ) </td> |
---|
1198 | <td class="md" nowrap> const</td> |
---|
1199 | </tr> |
---|
1200 | </table> |
---|
1201 | </td> |
---|
1202 | </tr> |
---|
1203 | </table> |
---|
1204 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1205 | <tr> |
---|
1206 | <td> |
---|
1207 | |
---|
1208 | </td> |
---|
1209 | <td> |
---|
1210 | |
---|
1211 | <p> |
---|
1212 | Retrieves the local transform for this visual scene node. |
---|
1213 | <p> |
---|
1214 | This function does not handle or apply animations. <dl compact><dt><b>Returns:</b></dt><dd>The local transform. </dd></dl> |
---|
1215 | </td> |
---|
1216 | </tr> |
---|
1217 | </table> |
---|
1218 | <a class="anchor" name="bb247124a836a1bb99d015d7de8d6943"></a><!-- doxytag: member="FCDSceneNode::WriteToXML" ref="bb247124a836a1bb99d015d7de8d6943" args="(xmlNode *parentNode) const " --><p> |
---|
1219 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1220 | <tr> |
---|
1221 | <td class="mdRow"> |
---|
1222 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1223 | <tr> |
---|
1224 | <td class="md" nowrap valign="top">virtual xmlNode* FCDSceneNode::WriteToXML </td> |
---|
1225 | <td class="md" valign="top">( </td> |
---|
1226 | <td class="md" nowrap valign="top">xmlNode * </td> |
---|
1227 | <td class="mdname1" valign="top" nowrap> <em>parentNode</em> </td> |
---|
1228 | <td class="md" valign="top"> ) </td> |
---|
1229 | <td class="md" nowrap> const<code> [virtual]</code></td> |
---|
1230 | </tr> |
---|
1231 | </table> |
---|
1232 | </td> |
---|
1233 | </tr> |
---|
1234 | </table> |
---|
1235 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1236 | <tr> |
---|
1237 | <td> |
---|
1238 | |
---|
1239 | </td> |
---|
1240 | <td> |
---|
1241 | |
---|
1242 | <p> |
---|
1243 | [INTERNAL] Writes out the visual scene node to the given COLLADA XML tree node. |
---|
1244 | <p> |
---|
1245 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
1246 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
1247 | <tr><td valign="top"></td><td valign="top"><em>parentNode</em> </td><td>The COLLADA XML parent node in which to insert the node. </td></tr> |
---|
1248 | </table> |
---|
1249 | </dl> |
---|
1250 | <dl compact><dt><b>Returns:</b></dt><dd>The created XML tree node. </dd></dl> |
---|
1251 | |
---|
1252 | <p> |
---|
1253 | Reimplemented from <a class="el" href="class_f_c_d_entity.html#b27f0c175c3f8fd7064cde48bcf1d7a0">FCDEntity</a>. </td> |
---|
1254 | </tr> |
---|
1255 | </table> |
---|
1256 | <hr>The documentation for this class was generated from the following file:<ul> |
---|
1257 | <li>FCDocument/<a class="el" href="_f_c_d_scene_node_8h-source.html">FCDSceneNode.h</a></ul> |
---|
1258 | <hr size="1"><address style="align: right;"><small>Generated on Fri May 12 16:44:43 2006 for FCollada by |
---|
1259 | <a href="http://www.doxygen.org/index.html"> |
---|
1260 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6-NO </small></address> |
---|
1261 | </body> |
---|
1262 | </html> |
---|