1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" /> 7 <style type="text/css"><!-- 8 span.static_style 9 { 10 font-size : 8pt; 11 color : white; 12 font-weight : bold; 13 background : #44f; 14 border-left : solid 1px #aaf; 15 border-top : solid 1px #aaf; 16 border-right : solid 1px #00c; 17 border-bottom : solid 1px #00c; 18 padding-left : 2px; 19 padding-right : 2px; 20 } 21 span.virtual_style 22 { 23 font-size : 8pt; 24 color : white; 25 font-weight : bold; 26 background : #0a0; 27 border-left : solid 1px #0f0; 28 border-top : solid 1px #0f0; 29 border-right : solid 1px #060; 30 border-bottom : solid 1px #060; 31 padding-left : 2px; 32 padding-right : 2px; 33 } 34 span.protected_style 35 { 36 font-size : 8pt; 37 color : white; 38 font-weight : bold; 39 background : #444; 40 border-left : solid 1px #ccc; 41 border-top : solid 1px #ccc; 42 border-right : solid 1px #222; 43 border-bottom : solid 1px #222; 44 padding-left : 2px; 45 padding-right : 2px; 46 } 47 --></style> 48 <title>nw::gfx::CameraProjectionUpdater</title> 49 </head> 50 <body> 51 <h1><a href="../../../nw/Overview.html">nw</a>::<a href="../../../nw/gfx/Overview.html">gfx</a>::CameraProjectionUpdater Class</h1> 52 <h2>Syntax</h2> 53 <div class="section"> 54 <pre class="definition">class CameraProjectionUpdater : public <a href="../../../nw/gfx/GfxObject/Overview.html">nw::gfx::GfxObject</a></pre> 55 </div> 56 <h2>Description</h2> 57 <div class="section"> 58 <p>Interface that updates projection matrices.</p><p>The ICameraProjectionUpdater class has been eliminated and replaced by <a href="../../../nw/gfx/CameraProjectionUpdater/Overview.html"><CODE>CameraProjectionUpdater</CODE></a>.</p></div> 59 <a name="constant" id="constant"> 60 <h2>Member Constants</h2> 61 <div class="section"> 62 <table class="members"> 63 <tr> 64 <td width="100"> 65 <span class="protected_style" title="protected">protected</span> <span class="static_style" title="static">S</span> 66 </td> 67 <th> 68 <span class="argument"><CODE>PROJECTION_NEAR_CLIP</CODE></span> 69 </th> 70 <td width="100">const float</td> 71 <td>The default value for the near clipping plane.</td> 72 </tr> 73 <tr> 74 <td width="100"> 75 <span class="protected_style" title="protected">protected</span> <span class="static_style" title="static">S</span> 76 </td> 77 <th> 78 <span class="argument"><CODE>PROJECTION_FAR_CLIP</CODE></span> 79 </th> 80 <td width="100">const float</td> 81 <td>The default value for the far clipping plane.</td> 82 </tr> 83 <tr> 84 <td width="100"> 85 <span class="protected_style" title="protected">protected</span> <span class="static_style" title="static">S</span> 86 </td> 87 <th> 88 <span class="argument"><CODE>PROJECTION_FOVY_RADIAN</CODE></span> 89 </th> 90 <td width="100">const float</td> 91 <td>Default value for the FOV along the y-axis.</td> 92 </tr> 93 <tr> 94 <td width="100"> 95 <span class="protected_style" title="protected">protected</span> <span class="static_style" title="static">S</span> 96 </td> 97 <th> 98 <span class="argument"><CODE>PROJECTION_ASPECT_RATIO</CODE></span> 99 </th> 100 <td width="100">const float</td> 101 <td>The default value for the aspect ratio.</td> 102 </tr> 103 <tr> 104 <td width="100"> 105 <span class="protected_style" title="protected">protected</span> <span class="static_style" title="static">S</span> 106 </td> 107 <th> 108 <span class="argument"><CODE>PROJECTION_CENTER</CODE></span> 109 </th> 110 <td width="100">const math::VEC2</td> 111 <td>Default value for center coordinates in near clipping plane</td> 112 </tr> 113 <tr> 114 <td width="100"> 115 <span class="protected_style" title="protected">protected</span> <span class="static_style" title="static">S</span> 116 </td> 117 <th> 118 <span class="argument"><CODE>PROJECTION_HEIGHT</CODE></span> 119 </th> 120 <td width="100">const float</td> 121 <td>Default value for height in the near clipping plane.</td> 122 </tr> 123 <tr> 124 <td width="100"> 125 <span class="protected_style" title="protected">protected</span> <span class="static_style" title="static">S</span> 126 </td> 127 <th> 128 <span class="argument"><CODE>PROJECTION_RECT</CODE></span> 129 </th> 130 <td width="100">const ResProjectionRect</td> 131 <td>Default value for rectangle displayed in the near clipping plane</td> 132 </tr> </table> 133 </div> 134 </a> <a name="variable" id="variable"> 135 <h2>Member Variables</h2> 136 <div class="section"> 137 <table class="members"> 138 <tr> 139 <td width="100"> </td> 140 <th> 141 <span class="argument"><CODE>NW_UT_RUNTIME_TYPEINFO</CODE></span> 142 </th> 143 <td width="100" /> 144 <td> 145 </td> 146 </tr> </table> 147 </div> 148 </a> <a name="function" id="function"> 149 <h2>Member Functions</h2> 150 <div class="section"> 151 <table class="members"> 152 <tr> 153 <th class="category" colspan="3">Projection matrix</th> 154 </tr> 155 <tr> 156 <td width="100"> <span class="virtual_style" title="pure-virtual">PV</span> 157 </td> 158 <th> 159 <a href="../../../nw/gfx/CameraProjectionUpdater/Update.html">Update</a> 160 </th> 161 <td>Updates the projection matrix.</td> 162 </tr> 163 <tr> 164 <th class="category" colspan="3">Pivot</th> 165 </tr> 166 <tr> 167 <td width="100"> </td> 168 <th> 169 <a href="../../../nw/gfx/CameraProjectionUpdater/SetPivotDirection.html"><CODE>SetPivotDirection</CODE></a> 170 </th> 171 <td>Sets the upward direction of the screen.</td> 172 </tr> 173 <tr> 174 <td width="100"> </td> 175 <th> 176 <a href="../../../nw/gfx/CameraProjectionUpdater/GetPivotDirection.html"><CODE>GetPivotDirection</CODE></a> 177 </th> 178 <td>Gets the upward direction of the screen.</td> 179 </tr> 180 <tr> 181 <th class="category" colspan="3">Resources</th> 182 </tr> 183 <tr> 184 <td width="100"> <span class="virtual_style" title="pure-virtual">PV</span> 185 </td> 186 <th> 187 <a href="../../../nw/gfx/CameraProjectionUpdater/GetResource.html">GetResource</a> 188 </th> 189 <td>Gets the projection matrix updater resource.</td> 190 </tr> 191 <tr> 192 <th class="category" colspan="3">Textures</th> 193 </tr> 194 <tr> 195 <td width="100"> </td> 196 <th> 197 <a href="../../../nw/gfx/CameraProjectionUpdater/TextureScale.html">TextureScale</a> 198 </th> 199 <td>Gets the texture scale.</td> 200 </tr> 201 <tr> 202 <td width="100"> </td> 203 <th> 204 <a href="../../../nw/gfx/CameraProjectionUpdater/TextureTranslate.html">TextureTranslate</a> 205 </th> 206 <td>Gets the translation of a texture.</td> 207 </tr> 208 <tr> 209 <th class="category" colspan="3">Create/Destroy</th> 210 </tr> 211 <tr> 212 <td width="100"> </td> 213 <th> 214 <a href="../../../nw/gfx/GfxObject/Destroy.html"><CODE>Destroy</CODE></a> 215 </th> 216 <td>Destroys an object.(Derived from <a href="../../../nw/gfx/GfxObject/Overview.html"><CODE>GfxObject</CODE></a>.)</td> 217 </tr> 218 <tr> 219 <th class="category" colspan="3">Other</th> 220 </tr> 221 <tr> 222 <td width="100"> </td> 223 <th> 224 <a href="../../../nw/gfx/CameraProjectionUpdater/IsDynamic.html"><CODE>IsDynamic</CODE></a> 225 </th> 226 <td>Gets a flag indicating whether an updater was generated dynamically.</td> 227 </tr> 228 <tr> 229 <td width="100"> <span class="virtual_style" title="pure-virtual">PV</span> 230 </td> 231 <th> 232 <a href="../../../nw/gfx/CameraProjectionUpdater/Kind.html">Kind</a> 233 </th> 234 <td>Gets the ProjectionUpdater type.</td> 235 </tr> 236 <tr> 237 <td width="100"> 238 <span class="protected_style" title="protected">protected</span> </td> 239 <th> 240 <a href="../../../nw/gfx/CameraProjectionUpdater/CameraProjectionUpdater.html"><CODE>CameraProjectionUpdater</CODE></a> 241 </th> 242 <td>Constructor.</td> 243 </tr> 244 <tr> 245 <td width="100"> 246 <span class="protected_style" title="protected">protected</span> <span class="virtual_style" title="virtual">V</span> 247 </td> 248 <th> 249 <a href="../../../nw/gfx/CameraProjectionUpdater/~CameraProjectionUpdater.html"><CODE>~CameraProjectionUpdater</CODE></a> 250 </th> 251 <td>Destructor.</td> 252 </tr> </table> 253 </div> 254 </a> 255 <h2>Class Hierarchy</h2> 256 <div class="section"> 257 <p class="hierarchy"><a href="../../../nw/gfx/GfxObject/Overview.html">nw::gfx::GfxObject</a><br /> <b>nw::gfx::CameraProjectionUpdater</b> 258 </p> 259 </div> 260 <hr><p>CONFIDENTIAL</p></body> 261</html> 262