source: OGRE/trunk/ogrenew/Docs/api/html/OgreMovableObject_8h-source.html @ 692

Revision 692, 27.6 KB checked in by mattausch, 19 years ago (diff)

adding ogre 1.2 and dependencies

Line 
1<html>
2<head>
3<title>OgreMovableObject.h Source File - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
4<link type="text/css" rel="stylesheet" href="style.css">
5</head>
6
7<body>
8<!-- Generated by Doxygen 1.3.6 -->
9<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
10<h1>OgreMovableObject.h</h1><a href="OgreMovableObject_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*</span>
1100002 <span class="comment">-----------------------------------------------------------------------------</span>
1200003 <span class="comment">This source file is part of OGRE</span>
1300004 <span class="comment">    (Object-oriented Graphics Rendering Engine)</span>
1400005 <span class="comment">For the latest info, see http://www.ogre3d.org/</span>
1500006 <span class="comment"></span>
1600007 <span class="comment">Copyright (c) 2000-2005 The OGRE Team</span>
1700008 <span class="comment">Also see acknowledgements in Readme.html</span>
1800009 <span class="comment"></span>
1900010 <span class="comment">This program is free software; you can redistribute it and/or modify it under</span>
2000011 <span class="comment">the terms of the GNU Lesser General Public License as published by the Free Software</span>
2100012 <span class="comment">Foundation; either version 2 of the License, or (at your option) any later</span>
2200013 <span class="comment">version.</span>
2300014 <span class="comment"></span>
2400015 <span class="comment">This program is distributed in the hope that it will be useful, but WITHOUT</span>
2500016 <span class="comment">ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS</span>
2600017 <span class="comment">FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.</span>
2700018 <span class="comment"></span>
2800019 <span class="comment">You should have received a copy of the GNU Lesser General Public License along with</span>
2900020 <span class="comment">this program; if not, write to the Free Software Foundation, Inc., 59 Temple</span>
3000021 <span class="comment">Place - Suite 330, Boston, MA 02111-1307, USA, or go to</span>
3100022 <span class="comment">http://www.gnu.org/copyleft/lesser.txt.</span>
3200023 <span class="comment">-----------------------------------------------------------------------------</span>
3300024 <span class="comment">*/</span>
3400025
3500026 <span class="preprocessor">#ifndef __MovableObject_H__</span>
3600027 <span class="preprocessor"></span><span class="preprocessor">#define __MovableObject_H__</span>
3700028 <span class="preprocessor"></span>
3800029 <span class="comment">// Precompiler options</span>
3900030 <span class="preprocessor">#include "<a class="code" href="OgrePrerequisites_8h.html">OgrePrerequisites.h</a>"</span>
4000031 <span class="preprocessor">#include "<a class="code" href="OgreRenderQueue_8h.html">OgreRenderQueue.h</a>"</span>
4100032 <span class="preprocessor">#include "<a class="code" href="OgreAxisAlignedBox_8h.html">OgreAxisAlignedBox.h</a>"</span>
4200033 <span class="preprocessor">#include "<a class="code" href="OgreSphere_8h.html">OgreSphere.h</a>"</span>
4300034 <span class="preprocessor">#include "<a class="code" href="OgreShadowCaster_8h.html">OgreShadowCaster.h</a>"</span>
4400035 <span class="preprocessor">#include "<a class="code" href="OgreFactoryObj_8h.html">OgreFactoryObj.h</a>"</span>
4500036 <span class="preprocessor">#include "<a class="code" href="OgreAnimable_8h.html">OgreAnimable.h</a>"</span>
4600037 <span class="preprocessor">#include "<a class="code" href="OgreAny_8h.html">OgreAny.h</a>"</span>
4700038 <span class="preprocessor">#include "<a class="code" href="OgreUserDefinedObject_8h.html">OgreUserDefinedObject.h</a>"</span>
4800039
4900040 <span class="keyword">namespace </span>Ogre {
5000041
5100042     <span class="comment">// Forward declaration</span>
5200043     <span class="keyword">class </span>MovableObjectFactory;
5300044
54<a name="l00050"></a><a class="code" href="classOgre_1_1MovableObject.html">00050</a>     <span class="keyword">class </span><a class="code" href="OgrePlatform_8h.html#a16">_OgreExport</a> MovableObject : <span class="keyword">public</span> <a class="code" href="classOgre_1_1ShadowCaster.html">ShadowCaster</a>, <span class="keyword">public</span> <a class="code" href="classOgre_1_1AnimableObject.html">AnimableObject</a>
5500051     {
5600052     <span class="keyword">protected</span>:
57<a name="l00054"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxp8">00054</a>         <a class="code" href="namespaceOgre.html#a471">String</a> mName;
58<a name="l00056"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxp9">00056</a>         <a class="code" href="classOgre_1_1MovableObjectFactory.html">MovableObjectFactory</a>* mCreator;
59<a name="l00058"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxp10">00058</a>         <a class="code" href="classOgre_1_1SceneManager.html">SceneManager</a>* mManager;
60<a name="l00060"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxp11">00060</a>         <a class="code" href="classOgre_1_1Node.html">Node</a>* mParentNode;
61<a name="l00061"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxp12">00061</a>         <span class="keywordtype">bool</span> mParentIsTagPoint;
62<a name="l00063"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxp13">00063</a>         <span class="keywordtype">bool</span> mVisible;
63<a name="l00065"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxp14">00065</a>         <a class="code" href="namespaceOgre.html#a465">Real</a> mUpperDistance;
64<a name="l00066"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxp15">00066</a>         <a class="code" href="namespaceOgre.html#a465">Real</a> mSquaredUpperDistance;
65<a name="l00068"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxp16">00068</a>         <span class="keywordtype">bool</span> mBeyondFarDistance;
66<a name="l00070"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxp17">00070</a>         <a class="code" href="classOgre_1_1Any.html">Any</a> mUserAny;
67<a name="l00072"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxp18">00072</a>         <a class="code" href="namespaceOgre.html#a457">uint8</a> mRenderQueueID;
68<a name="l00074"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxp19">00074</a>         <span class="keywordtype">bool</span> mRenderQueueIDSet;
69<a name="l00076"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxp20">00076</a>         <a class="code" href="namespaceOgre.html#a455">uint32</a> mQueryFlags;
70<a name="l00078"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxp21">00078</a>         <a class="code" href="namespaceOgre.html#a455">uint32</a> mVisibilityFlags;
71<a name="l00080"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxp22">00080</a>         <span class="keyword">mutable</span> <a class="code" href="classOgre_1_1AxisAlignedBox.html">AxisAlignedBox</a> mWorldAABB;
7200081         <span class="comment">// Cached world bounding sphere</span>
73<a name="l00082"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxp23">00082</a>         <span class="keyword">mutable</span> <a class="code" href="classOgre_1_1Sphere.html">Sphere</a> mWorldBoundingSphere;
74<a name="l00084"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxp24">00084</a>         <span class="keyword">mutable</span> <a class="code" href="classOgre_1_1AxisAlignedBox.html">AxisAlignedBox</a> mWorldDarkCapBounds;
75<a name="l00086"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxp25">00086</a>         <span class="keywordtype">bool</span> mCastShadows;
7600087
7700088         <span class="comment">// Static members</span>
78<a name="l00090"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxt1">00090</a> <span class="comment"></span>        <span class="keyword">static</span> <a class="code" href="namespaceOgre.html#a455">uint32</a> msDefaultQueryFlags;
79<a name="l00092"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxt2">00092</a>         <span class="keyword">static</span> <a class="code" href="namespaceOgre.html#a455">uint32</a> msDefaultVisibilityFlags;
8000093
8100094
8200095
8300096     <span class="keyword">public</span>:
8400098         MovableObject();
8500099
8600101         MovableObject(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">String</a>&amp; name);
8700104         <span class="keyword">virtual</span> ~MovableObject();
8800105
89<a name="l00107"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxa16">00107</a>         <span class="keyword">virtual</span> <span class="keywordtype">void</span> _notifyCreator(<a class="code" href="classOgre_1_1MovableObjectFactory.html">MovableObjectFactory</a>* fact) { mCreator = fact; }
90<a name="l00109"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxa17">00109</a>         <span class="keyword">virtual</span> <span class="keywordtype">void</span> _notifyManager(<a class="code" href="classOgre_1_1SceneManager.html">SceneManager</a>* man) { mManager = man; }
91<a name="l00111"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxa18">00111</a>         <span class="keyword">virtual</span> <a class="code" href="classOgre_1_1SceneManager.html">SceneManager</a>* _getManager(<span class="keywordtype">void</span>)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mManager; }
9200112
93<a name="l00114"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxa19">00114</a>         <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">String</a>&amp; getName(<span class="keywordtype">void</span>)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mName; }
9400115
9500117         <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">String</a>&amp; getMovableType(<span class="keywordtype">void</span>) <span class="keyword">const</span> = 0;
9600118
9700125         <span class="keyword">virtual</span> <a class="code" href="classOgre_1_1Node.html">Node</a>* getParentNode(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
9800126
9900134         <span class="keyword">virtual</span> <a class="code" href="classOgre_1_1SceneNode.html">SceneNode</a>* getParentSceneNode(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
10000135
10100138         <span class="keyword">virtual</span> <span class="keywordtype">void</span> _notifyAttached(<a class="code" href="classOgre_1_1Node.html">Node</a>* parent, <span class="keywordtype">bool</span> isTagPoint = <span class="keyword">false</span>);
10200139
10300141         <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isAttached(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
10400142
10500146         <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isInScene(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
10600147
10700153         <span class="keyword">virtual</span> <span class="keywordtype">void</span> _notifyCurrentCamera(<a class="code" href="classOgre_1_1Camera.html">Camera</a>* cam);
10800154
10900159         <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classOgre_1_1AxisAlignedBox.html">AxisAlignedBox</a>&amp; getBoundingBox(<span class="keywordtype">void</span>) <span class="keyword">const</span> = 0;
11000160
11100164         <span class="keyword">virtual</span> <a class="code" href="namespaceOgre.html#a465">Real</a> getBoundingRadius(<span class="keywordtype">void</span>) <span class="keyword">const</span> = 0;
11200165
11300167         <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classOgre_1_1AxisAlignedBox.html">AxisAlignedBox</a>&amp; getWorldBoundingBox(<span class="keywordtype">bool</span> derive = <span class="keyword">false</span>) <span class="keyword">const</span>;
11400169         <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classOgre_1_1Sphere.html">Sphere</a>&amp; getWorldBoundingSphere(<span class="keywordtype">bool</span> derive = <span class="keyword">false</span>) <span class="keyword">const</span>;
11500175         <span class="keyword">virtual</span> <span class="keywordtype">void</span> _updateRenderQueue(<a class="code" href="classOgre_1_1RenderQueue.html">RenderQueue</a>* queue) = 0;
11600176
11700191         <span class="keyword">virtual</span> <span class="keywordtype">void</span> setVisible(<span class="keywordtype">bool</span> visible);
11800192
11900197         <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isVisible(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
120<a name="l00202"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxa29">00202</a>         <span class="keyword">virtual</span> <span class="keywordtype">void</span> setRenderingDistance(<a class="code" href="namespaceOgre.html#a465">Real</a> dist) {
12100203             mUpperDistance = dist;
12200204             mSquaredUpperDistance = mUpperDistance * mUpperDistance;
12300205         }
12400206
125<a name="l00208"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxa30">00208</a>         <span class="keyword">virtual</span> <a class="code" href="namespaceOgre.html#a465">Real</a> getRenderingDistance(<span class="keywordtype">void</span>)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mUpperDistance; }
12600209
127<a name="l00216"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxa31">00216</a>         <span class="keyword">virtual</span> <span class="keywordtype">void</span> setUserObject(<a class="code" href="classOgre_1_1UserDefinedObject.html">UserDefinedObject</a>* obj) { mUserAny = <a class="code" href="classOgre_1_1Any.html">Any</a>(obj); }
128<a name="l00220"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxa32">00220</a>         <span class="keyword">virtual</span> <a class="code" href="classOgre_1_1UserDefinedObject.html">UserDefinedObject</a>* getUserObject(<span class="keywordtype">void</span>)
12900221         {
13000222             <span class="keywordflow">return</span> mUserAny.isEmpty() ? 0 : any_cast&lt;UserDefinedObject*&gt;(mUserAny);
13100223         }
13200224
133<a name="l00232"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxa33">00232</a>         <span class="keyword">virtual</span> <span class="keywordtype">void</span> setUserAny(<span class="keyword">const</span> <a class="code" href="classOgre_1_1Any.html">Any</a>&amp; anything) { mUserAny = anything; }
13400233
135<a name="l00236"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxa34">00236</a>         <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classOgre_1_1Any.html">Any</a>&amp; getUserAny(<span class="keywordtype">void</span>)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mUserAny; }
13600237
13700249         <span class="keyword">virtual</span> <span class="keywordtype">void</span> setRenderQueueGroup(<a class="code" href="namespaceOgre.html#a457">uint8</a> queueID);
13800250
13900252         <span class="keyword">virtual</span> <a class="code" href="namespaceOgre.html#a457">uint8</a> getRenderQueueGroup(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
14000253
14100255         <span class="keyword">virtual</span> <a class="code" href="classOgre_1_1Matrix4.html">Matrix4</a> _getParentNodeFullTransform(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
14200256
143<a name="l00264"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxa38">00264</a>         <span class="keyword">virtual</span> <span class="keywordtype">void</span> setQueryFlags(<a class="code" href="namespaceOgre.html#a455">uint32</a> flags) { mQueryFlags = flags; }
14400265
145<a name="l00268"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxa39">00268</a>         <span class="keyword">virtual</span> <span class="keywordtype">void</span> addQueryFlags(<a class="code" href="namespaceOgre.html#a455">uint32</a> flags) { mQueryFlags |= flags; }
14600269             
147<a name="l00272"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxa40">00272</a>         <span class="keyword">virtual</span> <span class="keywordtype">void</span> removeQueryFlags(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> flags) { mQueryFlags &amp;= ~flags; }
14800273         
149<a name="l00275"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxa41">00275</a>         <span class="keyword">virtual</span> <a class="code" href="namespaceOgre.html#a455">uint32</a> getQueryFlags(<span class="keywordtype">void</span>)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mQueryFlags; }
15000276
151<a name="l00279"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxe0">00279</a>         <span class="keyword">static</span> <span class="keywordtype">void</span> setDefaultQueryFlags(<a class="code" href="namespaceOgre.html#a455">uint32</a> flags) { msDefaultQueryFlags = flags; }
15200280
153<a name="l00283"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxe1">00283</a>         <span class="keyword">static</span> <a class="code" href="namespaceOgre.html#a455">uint32</a> getDefaultQueryFlags(<a class="code" href="namespaceOgre.html#a455">uint32</a> flags) { <span class="keywordflow">return</span> msDefaultQueryFlags; }
15400284
15500285         
156<a name="l00292"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxa42">00292</a>         <span class="keyword">virtual</span> <span class="keywordtype">void</span> setVisibilityFlags(<a class="code" href="namespaceOgre.html#a455">uint32</a> flags) { mVisibilityFlags = flags; }
15700293
158<a name="l00296"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxa43">00296</a>         <span class="keyword">virtual</span> <span class="keywordtype">void</span> addVisibilityFlags(<a class="code" href="namespaceOgre.html#a455">uint32</a> flags) { mVisibilityFlags |= flags; }
15900297             
160<a name="l00300"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxa44">00300</a>         <span class="keyword">virtual</span> <span class="keywordtype">void</span> removeVisibilityFlags(<a class="code" href="namespaceOgre.html#a455">uint32</a> flags) { mVisibilityFlags &amp;= ~flags; }
16100301         
162<a name="l00303"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxa45">00303</a>         <span class="keyword">virtual</span> <a class="code" href="namespaceOgre.html#a455">uint32</a> getVisibilityFlags(<span class="keywordtype">void</span>)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mVisibilityFlags; }
16300304
164<a name="l00307"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxe2">00307</a>         <span class="keyword">static</span> <span class="keywordtype">void</span> setDefaultVisibilityFlags(<a class="code" href="namespaceOgre.html#a455">uint32</a> flags) { msDefaultVisibilityFlags = flags; }
16500308         
166<a name="l00311"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxe3">00311</a>         <span class="keyword">static</span> <a class="code" href="namespaceOgre.html#a455">uint32</a> getDefaultVisibilityFlags(<a class="code" href="namespaceOgre.html#a455">uint32</a> flags) { <span class="keywordflow">return</span> msDefaultVisibilityFlags; }
16700312
168<a name="l00314"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxa46">00314</a>         <a class="code" href="classOgre_1_1EdgeData.html">EdgeData</a>* getEdgeList(<span class="keywordtype">void</span>) { <span class="keywordflow">return</span> NULL; }
16900316         ShadowRenderableListIterator getShadowVolumeRenderableIterator(
17000317             ShadowTechnique shadowTechnique, <span class="keyword">const</span> <a class="code" href="classOgre_1_1Light.html">Light</a>* light,
17100318             <a class="code" href="classOgre_1_1HardwareIndexBufferSharedPtr.html">HardwareIndexBufferSharedPtr</a>* indexBuffer,
17200319             <span class="keywordtype">bool</span> extrudeVertices, <a class="code" href="namespaceOgre.html#a465">Real</a> extrusionDist, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> flags = 0);
17300320         
17400322         <span class="keyword">const</span> <a class="code" href="classOgre_1_1AxisAlignedBox.html">AxisAlignedBox</a>&amp; getLightCapBounds(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
17500324         <span class="keyword">const</span> <a class="code" href="classOgre_1_1AxisAlignedBox.html">AxisAlignedBox</a>&amp; getDarkCapBounds(<span class="keyword">const</span> <a class="code" href="classOgre_1_1Light.html">Light</a>&amp; light, <a class="code" href="namespaceOgre.html#a465">Real</a> dirLightExtrusionDist) <span class="keyword">const</span>;
176<a name="l00337"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxa50">00337</a>         <span class="keywordtype">void</span> setCastShadows(<span class="keywordtype">bool</span> enabled) { mCastShadows = enabled; }
177<a name="l00339"></a><a class="code" href="classOgre_1_1MovableObject.html#Ogre_1_1WireBoundingBoxa51">00339</a>         <span class="keywordtype">bool</span> getCastShadows(<span class="keywordtype">void</span>)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mCastShadows; }
17800341         <a class="code" href="namespaceOgre.html#a465">Real</a> getPointExtrusionDistance(<span class="keyword">const</span> <a class="code" href="classOgre_1_1Light.html">Light</a>* l) <span class="keyword">const</span>;
17900352         <span class="keyword">virtual</span> <a class="code" href="namespaceOgre.html#a455">uint32</a> getTypeFlags(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
18000353
18100354
18200355
18300356
18400357
18500358     };
18600359
187<a name="l00365"></a><a class="code" href="classOgre_1_1MovableObjectFactory.html">00365</a>     <span class="keyword">class </span><a class="code" href="class__OgreExport.html">_OgreExport</a> MovableObjectFactory
18800366     {
18900367     <span class="keyword">protected</span>:
190<a name="l00369"></a><a class="code" href="classOgre_1_1MovableObjectFactory.html#Ogre_1_1RibbonTrailFactoryp0">00369</a>         <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> mTypeFlag;
19100370
19200372         <span class="keyword">virtual</span> MovableObject* createInstanceImpl(
19300373             <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">String</a>&amp; name, <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a76">NameValuePairList</a>* params = 0) = 0;
19400374     <span class="keyword">public</span>:
195<a name="l00375"></a><a class="code" href="classOgre_1_1MovableObjectFactory.html#Ogre_1_1MovableObjectFactorya0">00375</a>         MovableObjectFactory() : mTypeFlag(0xFFFFFFFF) {}
196<a name="l00376"></a><a class="code" href="classOgre_1_1MovableObjectFactory.html#Ogre_1_1MovableObjectFactorya1">00376</a>         <span class="keyword">virtual</span> ~MovableObjectFactory() {}
19700378         <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">String</a>&amp; getType(<span class="keywordtype">void</span>) <span class="keyword">const</span> = 0;
19800379
19900387         <span class="keyword">virtual</span> MovableObject* createInstance(
20000388             <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">String</a>&amp; name, <a class="code" href="classOgre_1_1SceneManager.html">SceneManager</a>* manager,
20100389             <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a76">NameValuePairList</a>* params = 0);
20200391         <span class="keyword">virtual</span> <span class="keywordtype">void</span> destroyInstance(MovableObject* obj) = 0;
20300392
204<a name="l00406"></a><a class="code" href="classOgre_1_1MovableObjectFactory.html#Ogre_1_1RibbonTrailFactorya5">00406</a>         <span class="keyword">virtual</span> <span class="keywordtype">bool</span> requestTypeFlags(<span class="keywordtype">void</span>)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">false</span>; }
205<a name="l00415"></a><a class="code" href="classOgre_1_1MovableObjectFactory.html#Ogre_1_1RibbonTrailFactorya6">00415</a>         <span class="keywordtype">void</span> _notifyTypeFlags(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> flag) { mTypeFlag = flag; }
20600416
207<a name="l00422"></a><a class="code" href="classOgre_1_1MovableObjectFactory.html#Ogre_1_1RibbonTrailFactorya7">00422</a>         <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> getTypeFlags(<span class="keywordtype">void</span>)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mTypeFlag; }
20800423
20900424     };
21000425
21100426 }
21200427 <span class="preprocessor">#endif</span>
213</pre></div><hr>
214<p>
215Copyright &copy; 2000-2005 by The OGRE Team<br />
216<!--Creative Commons License--><a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/"><img alt="Creative Commons License" border="0" src="http://creativecommons.org/images/public/somerights20.png"/></a><br/>
217This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/">Creative Commons Attribution-ShareAlike 2.5 License</a>.<br/>
218                <!--/Creative Commons License--><!-- <rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
219                <Work rdf:about="">
220                        <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" />
221        <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" />
222                </Work>
223                <License rdf:about="http://creativecommons.org/licenses/by-sa/2.5/"><permits rdf:resource="http://web.resource.org/cc/Reproduction"/><permits rdf:resource="http://web.resource.org/cc/Distribution"/><requires rdf:resource="http://web.resource.org/cc/Notice"/><requires rdf:resource="http://web.resource.org/cc/Attribution"/><permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/><requires rdf:resource="http://web.resource.org/cc/ShareAlike"/></License></rdf:RDF> -->
224
225Last modified Sun Mar 12 14:37:44 2006
226</p>
227</body>
228</html>
Note: See TracBrowser for help on using the repository browser.