Changeset 98 in flair-dev for trunk/doc/Flair/_mesh_scene_node_8h_source.html
- Timestamp:
- Jan 30, 2019, 5:07:25 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/Flair/_mesh_scene_node_8h_source.html
r94 r98 141 141 <div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="keyword">const</span> irr::core::vector3df &rotation = irr::core::vector3df(0, 0, 0),</div> 142 142 <div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  irr::video::ITexture *texture = NULL, irr::s32 <span class="keywordtype">id</span> = -1);</div> 143 <div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div> 144 <div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> OnRegisterSceneNode(<span class="keywordtype">void</span>);</div> 145 <div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> render(<span class="keywordtype">void</span>);</div> 146 <div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="keyword">virtual</span> <span class="keyword">const</span> irr::core::aabbox3d<irr::f32> &getBoundingBox()<span class="keyword"> const </span>{</div> 147 <div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keywordflow">return</span> Box;</div> 148 <div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  }</div> 149 <div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keyword">virtual</span> irr::u32 getMaterialCount(<span class="keywordtype">void</span>)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> 1; }</div> 150 <div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keyword">virtual</span> irr::video::SMaterial &getMaterial(irr::u32 i);</div> 151 <div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> setMesh(irr::scene::IMesh *ptr);</div> 152 <div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keyword">virtual</span> irr::scene::IMesh *getMesh(<span class="keywordtype">void</span>);</div> 153 <div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> setReadOnlyMaterials(<span class="keywordtype">bool</span> readonly);</div> 154 <div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isReadOnlyMaterials(<span class="keywordtype">void</span>)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">false</span>; }</div> 155 <div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="keyword">virtual</span> irr::scene::IShadowVolumeSceneNode *</div> 156 <div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  addShadowVolumeSceneNode(<span class="keyword">const</span> irr::scene::IMesh *shadowMesh = 0,</div> 157 <div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  irr::s32 <span class="keywordtype">id</span> = -1, <span class="keywordtype">bool</span> zfailmethod = <span class="keyword">true</span>,</div> 158 <div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  irr::f32 infinity = 1000.0f) {</div> 159 <div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="keywordflow">return</span> NULL;</div> 160 <div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  }</div> 161 <div class="line"><a name="l00051"></a><span class="lineno"> 51</span> </div> 162 <div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="keyword">private</span>:</div> 163 <div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  irr::scene::IMesh *mesh;</div> 164 <div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  irr::core::aabbox3d<irr::f32> Box;</div> 165 <div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  irr::video::SMaterial Material;</div> 166 <div class="line"><a name="l00056"></a><span class="lineno"> 56</span> };</div> 167 <div class="line"><a name="l00057"></a><span class="lineno"> 57</span> } <span class="comment">// end namespace simulator</span></div> 168 <div class="line"><a name="l00058"></a><span class="lineno"> 58</span> } <span class="comment">// end namespace flair</span></div> 169 <div class="line"><a name="l00059"></a><span class="lineno"> 59</span> </div> 170 <div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="preprocessor">#endif // MESHSCENENODE_H</span></div> 143 <div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  </div> 144 <div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <a class="code" href="classflair_1_1simulator_1_1_mesh_scene_node.html">MeshSceneNode</a>(</div> 145 <div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  irr::scene::ISceneNode *parent, irr::scene::IMesh *mesh,</div> 146 <div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="keyword">const</span> irr::core::vector3df &position = irr::core::vector3df(0, 0, 0),</div> 147 <div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keyword">const</span> irr::core::vector3df &rotation = irr::core::vector3df(0, 0, 0),</div> 148 <div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  irr::video::ITexture *texture = NULL, irr::s32 <span class="keywordtype">id</span> = -1);</div> 149 <div class="line"><a name="l00039"></a><span class="lineno"> 39</span> </div> 150 <div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> OnRegisterSceneNode(<span class="keywordtype">void</span>);</div> 151 <div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> render(<span class="keywordtype">void</span>);</div> 152 <div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keyword">virtual</span> <span class="keyword">const</span> irr::core::aabbox3d<irr::f32> &getBoundingBox()<span class="keyword"> const </span>{</div> 153 <div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keywordflow">return</span> Box;</div> 154 <div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  }</div> 155 <div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="keyword">virtual</span> irr::u32 getMaterialCount(<span class="keywordtype">void</span>)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> 1; }</div> 156 <div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keyword">virtual</span> irr::video::SMaterial &getMaterial(irr::u32 i);</div> 157 <div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> setMesh(irr::scene::IMesh *ptr);</div> 158 <div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keyword">virtual</span> irr::scene::IMesh *getMesh(<span class="keywordtype">void</span>);</div> 159 <div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> setReadOnlyMaterials(<span class="keywordtype">bool</span> readonly);</div> 160 <div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isReadOnlyMaterials(<span class="keywordtype">void</span>)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">false</span>; }</div> 161 <div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="keyword">virtual</span> irr::scene::IShadowVolumeSceneNode *</div> 162 <div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  addShadowVolumeSceneNode(<span class="keyword">const</span> irr::scene::IMesh *shadowMesh = 0,</div> 163 <div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  irr::s32 <span class="keywordtype">id</span> = -1, <span class="keywordtype">bool</span> zfailmethod = <span class="keyword">true</span>,</div> 164 <div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  irr::f32 infinity = 1000.0f) {</div> 165 <div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keywordflow">return</span> NULL;</div> 166 <div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  }</div> 167 <div class="line"><a name="l00057"></a><span class="lineno"> 57</span> </div> 168 <div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="keyword">private</span>:</div> 169 <div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  irr::scene::IMesh *mesh;</div> 170 <div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  irr::core::aabbox3d<irr::f32> Box;</div> 171 <div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  irr::video::SMaterial Material;</div> 172 <div class="line"><a name="l00062"></a><span class="lineno"> 62</span> };</div> 173 <div class="line"><a name="l00063"></a><span class="lineno"> 63</span> } <span class="comment">// end namespace simulator</span></div> 174 <div class="line"><a name="l00064"></a><span class="lineno"> 64</span> } <span class="comment">// end namespace flair</span></div> 175 <div class="line"><a name="l00065"></a><span class="lineno"> 65</span> </div> 176 <div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="preprocessor">#endif // MESHSCENENODE_H</span></div> 171 177 <div class="ttc" id="namespaceflair_html"><div class="ttname"><a href="namespaceflair.html">flair</a></div><div class="ttdoc">namespace of the flair Framework </div><div class="ttdef"><b>Definition:</b> Ahrs.h:19</div></div> 172 178 <div class="ttc" id="classflair_1_1simulator_1_1_mesh_scene_node_html"><div class="ttname"><a href="classflair_1_1simulator_1_1_mesh_scene_node.html">flair::simulator::MeshSceneNode</a></div><div class="ttdef"><b>Definition:</b> MeshSceneNode.h:26</div></div> … … 178 184 <ul> 179 185 <li class="navelem"><a class="el" href="dir_33c2ee9b1665499374b4225c427cf176.html">igep</a></li><li class="navelem"><a class="el" href="dir_f1fe274389177bd7e17de7949c4ffada.html">flair-src</a></li><li class="navelem"><a class="el" href="dir_3ef62148cf94871b4b6ee5d6e3a989c1.html">lib</a></li><li class="navelem"><a class="el" href="dir_6c18a444e32a4cd48a96c3b539dd8d1b.html">FlairSimulator</a></li><li class="navelem"><a class="el" href="dir_601030f00f475cf118bb493a6f5bdaf5.html">src</a></li><li class="navelem"><b>MeshSceneNode.h</b></li> 180 <li class="footer">Generated on Wed Dec 5 2018 16:50:42for Flair by186 <li class="footer">Generated on Wed Jan 16 2019 09:54:09 for Flair by 181 187 <a href="http://www.doxygen.org/index.html"> 182 188 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
Note:
See TracChangeset
for help on using the changeset viewer.