diff options
author | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
commit | 0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch) | |
tree | 2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/classNL3D_1_1CCamera.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to 'docs/doxygen/nel/classNL3D_1_1CCamera.html')
-rw-r--r-- | docs/doxygen/nel/classNL3D_1_1CCamera.html | 1408 |
1 files changed, 1408 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNL3D_1_1CCamera.html b/docs/doxygen/nel/classNL3D_1_1CCamera.html new file mode 100644 index 00000000..b3f6cc99 --- /dev/null +++ b/docs/doxygen/nel/classNL3D_1_1CCamera.html @@ -0,0 +1,1408 @@ +<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> +<HTML> +<HEAD> + <TITLE>nevrax.org : docs</TITLE> + <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css"> + <link href="doxygen.css" rel="stylesheet" type="text/css"> +</HEAD> +<BODY MARGINHEIGHT="0" MARGINWIDTH="0"> + +<!-- uplinks --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A> </TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A> </TD> + </TR> +</TABLE> + +<!-- banner Nevrax --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%> + <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR> +</TABLE> + +<!-- main table --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + + <!------ Begin Box ------> + <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black> + <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF> + <TABLE cellspacing=0 cellpadding=1 border=0> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr> + </TABLE> + </TD></TR></TABLE></TD></TR></TABLE> + <!------ End Box ------> + + </TD> + <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + +<!-- title --> +<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td> +<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A> +</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT=""> +</td></tr></table> + + +<!-- block --> +<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD> + <TD><B>Documentation</B></TD> + <TD ALIGN=RIGHT> </td> +</tr></table> +<!-- Generated by Doxygen 1.2.14 --> +<center> +<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> </center> +<hr><h1>NL3D::CCamera Class Reference</h1>A Camera node, based on a <a class="el" href="classNL3D_1_1CTransform.html">CTransform</a> node. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="camera_8h-source.html">camera.h</a>></code> +<p> +<p>Inheritance diagram for NL3D::CCamera: +<p><center><img src="classNL3D_1_1CCamera.gif" usemap="#NL3D::CCamera_map" border="0"></center> +<map name="NL3D::CCamera_map"> +<area href="classNL3D_1_1CTransform.html" alt="NL3D::CTransform" shape="rect" coords="72,112,206,136"> +<area href="classNL3D_1_1IModel.html" alt="NL3D::IModel" shape="rect" coords="0,56,134,80"> +<area href="classNL3D_1_1ITransformable.html" alt="NL3D::ITransformable" shape="rect" coords="144,56,278,80"> +<area href="classNLMISC_1_1CRefCount.html" alt="NLMISC::CRefCount" shape="rect" coords="0,0,134,24"> +<area href="classNL3D_1_1IAnimatable.html" alt="NL3D::IAnimatable" shape="rect" coords="144,0,278,24"> +</map> +<a href="classNL3D_1_1CCamera-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td colspan=2><br><h2>From Ianimatable.</h2></td></tr> +<tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="classNL3D_1_1CCamera.html#z391_0">TAnimValues</a> { <br> + <a class="el" href="classNL3D_1_1CCamera.html#z391_0s0">OwnerBit</a> = CTransform::AnimValueLast, +<a class="el" href="classNL3D_1_1CCamera.html#z391_0s1">FovValue</a>, +<a class="el" href="classNL3D_1_1CCamera.html#z391_0s2">TargetValue</a>, +<a class="el" href="classNL3D_1_1CCamera.html#z391_0s3">RollValue</a>, +<br> + <a class="el" href="classNL3D_1_1CCamera.html#z391_0s4">AnimValueLast</a> +<br> + }</td></tr> +<tr><td> </td><td><font size=-1><em>Added values.</em> <a href="#z391_0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual <a class="el" href="classNL3D_1_1IAnimatedValue.html">IAnimatedValue</a> * </td><td valign=bottom><a class="el" href="classNL3D_1_1CCamera.html#z391_1">getValue</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> valueId)</td></tr> +<tr><td> </td><td><font size=-1><em>From <a class="el" href="classNL3D_1_1IAnimatable.html">IAnimatable</a>.</em> <a href="#z391_1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual const char * </td><td valign=bottom><a class="el" href="classNL3D_1_1CCamera.html#z391_2">getValueName</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> valueId) const</td></tr> +<tr><td> </td><td><font size=-1><em>From <a class="el" href="classNL3D_1_1IAnimatable.html">IAnimatable</a>.</em> <a href="#z391_2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual <a class="el" href="classNL3D_1_1ITrack.html">ITrack</a> * </td><td valign=bottom><a class="el" href="classNL3D_1_1CCamera.html#z391_3">getDefaultTrack</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> valueId)</td></tr> +<tr><td> </td><td><font size=-1><em>Default Track Values for are identity (roll= 0, target= CVector::Null, fov=Pi/2).</em> <a href="#z391_3">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CCamera.html#z391_4">registerToChannelMixer</a> (<a class="el" href="classNL3D_1_1CChannelMixer.html">CChannelMixer</a> *chanMixer, const std::string &prefix)</td></tr> +<tr><td> </td><td><font size=-1><em>register camera channels (in global anim mode).</em> <a href="#z391_4">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Public Types</h2></td></tr> +<tr><td colspan=2><br><h2>Public Methods</h2></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CCamera.html#a0">setFrustum</a> (const <a class="el" href="classNL3D_1_1CFrustum.html">CFrustum</a> &f)</td></tr> +<tr><td> </td><td><font size=-1><em>Set the frustum of the camera.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>const <a class="el" href="classNL3D_1_1CFrustum.html">CFrustum</a> & </td><td valign=bottom><a class="el" href="classNL3D_1_1CCamera.html#a1">getFrustum</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Get the frustum of the camera.</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CCamera.html#a2">setFrustum</a> (float left, float right, float bottom, float top, float znear, float zfar, bool perspective=true)</td></tr> +<tr><td> </td><td><font size=-1><em>Setup the camera mode as a perspective/ortho camera. NB: znear and zfar must be >0 (if perspective).</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CCamera.html#a3">setFrustum</a> (float <a class="el" href="driver__opengl__extension__def_8h.html#a389">width</a>, float <a class="el" href="driver__opengl__extension__def_8h.html#a390">height</a>, float znear, float zfar, bool perspective=true)</td></tr> +<tr><td> </td><td><font size=-1><em>Setup the camera mode as a perspective/ortho camera. NB: znear and zfar must be >0 (if perspective).</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CCamera.html#a4">getFrustum</a> (float &left, float &right, float &bottom, float &top, float &znear, float &zfar) const</td></tr> +<tr><td> </td><td><font size=-1><em>Get the camera frustum.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNL3D_1_1CCamera.html#a5">isOrtho</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Is a ortho camera?</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNL3D_1_1CCamera.html#a6">isPerspective</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Is a perspective camera?</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CCamera.html#a7">setPerspective</a> (float fov, float aspectRatio, float znear, float zfar)</td></tr> +<tr><td> </td><td><font size=-1><em>Setup a perspective camera, giving a fov in radians.</em> <a href="#a7">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNL3D_1_1CCamera.html#a8">enableFovAnimation</a> (bool en, float aspectRatio=4.0f/3.0f)</td></tr> +<tr><td> </td><td><font size=-1><em>enable FOV animation.</em> <a href="#a8">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNL3D_1_1CCamera.html#a9">enableTargetAnimation</a> (bool en)</td></tr> +<tr><td> </td><td><font size=-1><em>enable Target/Roll animation.</em> <a href="#a9">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CCamera.html#d0">registerBasic</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Call at the begining of the program, to register the model, and the basic observers.</em> <a href="#d0">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan="2"><div class="groupHeader">Get some track name</div></td></tr> +<tr><td nowrap align=right valign=top>const char * </td><td valign=bottom><a class="el" href="classNL3D_1_1CCamera.html#z390_0">getFovValueName</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Return the name of the fov track.</em> <a href="#z390_0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>const char * </td><td valign=bottom><a class="el" href="classNL3D_1_1CCamera.html#z390_1">getTargetValueName</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Return the name of the target track. This target is in the parent space of camera.</em> <a href="#z390_1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>const char * </td><td valign=bottom><a class="el" href="classNL3D_1_1CCamera.html#z390_2">getRollValueName</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Return the name of the roll track.</em> <a href="#z390_2">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Protected Methods</h2></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classNL3D_1_1CCamera.html#b0">CCamera</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Constructor.</em> <a href="#b0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual </td><td valign=bottom><a class="el" href="classNL3D_1_1CCamera.html#b1">~CCamera</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Destructor.</em> <a href="#b1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CCamera.html#b2">update</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Implement the update method.</em> <a href="#b2">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CFrustum.html">CFrustum</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CCamera.html#n0">_Frustum</a></td></tr> +<tr><td colspan=2><br><h2>Static Private Methods</h2></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1IModel.html">IModel</a> * </td><td valign=bottom><a class="el" href="classNL3D_1_1CCamera.html#f0">creator</a> ()</td></tr> +<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNL3D_1_1CCamera.html#o0">_FovAnimationEnabled</a></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNL3D_1_1CCamera.html#o1">_TargetAnimationEnabled</a></td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="classNL3D_1_1CCamera.html#o2">_FovAnimationAspectRatio</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="namespaceNL3D.html#a13">CAnimatedValueFloat</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CCamera.html#o3">_Fov</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="namespaceNL3D.html#a14">CAnimatedValueVector</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CCamera.html#o4">_Target</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="namespaceNL3D.html#a13">CAnimatedValueFloat</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CCamera.html#o5">_Roll</a></td></tr> +<tr><td colspan=2><br><h2>Static Private Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CTrackDefaultFloat.html">CTrackDefaultFloat</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CCamera.html#r0">DefaultFov</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CTrackDefaultVector.html">CTrackDefaultVector</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CCamera.html#r1">DefaultTarget</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CTrackDefaultFloat.html">CTrackDefaultFloat</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CCamera.html#r2">DefaultRoll</a></td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +A Camera node, based on a <a class="el" href="classNL3D_1_1CTransform.html">CTransform</a> node. +<p> +The camera look in his local Y direction (see <a class="el" href="classNL3D_1_1CScene.html">CScene</a>). +<p> +No observer is provided, since a camera:<ul> +<li>has default behavior of a transform.<li>can't be clipped (well... :) ).<li>is not lightable<li>is not renderable </ul> +<dl compact><dt><b> +Author: </b><dd> +Lionel Berenguier , Nevrax France </dl><dl compact><dt><b> +Date: </b><dd> +2000 </dl> +<p> + +<p> +Definition at line <a class="el" href="camera_8h-source.html#l00056">56</a> of file <a class="el" href="camera_8h-source.html">camera.h</a>.<hr><h2>Member Enumeration Documentation</h2> +<a name="z391_0" doxytag="NL3D::CCamera::TAnimValues"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> enum NL3D::CCamera::TAnimValues + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Added values. +<p> +<dl compact><dt><b> +Enumeration values:</b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em><a name="z391_0s0" doxytag="OwnerBit"></a><em>OwnerBit</em></em> </td><td> +</td></tr> +<tr><td valign=top><em><a name="z391_0s1" doxytag="FovValue"></a><em>FovValue</em></em> </td><td> +</td></tr> +<tr><td valign=top><em><a name="z391_0s2" doxytag="TargetValue"></a><em>TargetValue</em></em> </td><td> +</td></tr> +<tr><td valign=top><em><a name="z391_0s3" doxytag="RollValue"></a><em>RollValue</em></em> </td><td> +</td></tr> +<tr><td valign=top><em><a name="z391_0s4" doxytag="AnimValueLast"></a><em>AnimValueLast</em></em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Reimplemented from <a class="el" href="classNL3D_1_1ITransformable.html#z872_0">NL3D::ITransformable</a>. +<p> +Definition at line <a class="el" href="camera_8h-source.html#l00125">125</a> of file <a class="el" href="camera_8h-source.html">camera.h</a>. </td> + </tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a name="b0" doxytag="NL3D::CCamera::CCamera"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NL3D::CCamera::CCamera </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [protected]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Constructor. +<p> + +<p> +Definition at line <a class="el" href="camera_8cpp-source.html#l00043">43</a> of file <a class="el" href="camera_8cpp-source.html">camera.cpp</a>. +<p> +References <a class="el" href="camera_8h-source.html#l00171">_Fov</a>, <a class="el" href="camera_8h-source.html#l00168">_FovAnimationAspectRatio</a>, <a class="el" href="camera_8h-source.html#l00166">_FovAnimationEnabled</a>, <a class="el" href="camera_8h-source.html#l00173">_Roll</a>, <a class="el" href="camera_8h-source.html#l00172">_Target</a>, <a class="el" href="camera_8h-source.html#l00167">_TargetAnimationEnabled</a>, <a class="el" href="classNL3D_1_1CCamera.html#z391_0s4">AnimValueLast</a>, and <a class="el" href="camera_8h-source.html#l00066">setFrustum</a>. +<p> +Referenced by <a class="el" href="camera_8h-source.html#l00162">creator</a>. </td> + </tr> +</table> +<a name="b1" doxytag="NL3D::CCamera::~CCamera"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual NL3D::CCamera::~CCamera </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline, protected, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Destructor. +<p> + +<p> +Definition at line <a class="el" href="camera_8h-source.html#l00151">151</a> of file <a class="el" href="camera_8h-source.html">camera.h</a>. </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a name="f0" doxytag="NL3D::CCamera::creator"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1IModel.html">IModel</a>* NL3D::CCamera::creator </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline, static, private]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented from <a class="el" href="classNL3D_1_1CTransform.html#f0">NL3D::CTransform</a>. +<p> +Definition at line <a class="el" href="camera_8h-source.html#l00162">162</a> of file <a class="el" href="camera_8h-source.html">camera.h</a>. +<p> +References <a class="el" href="camera_8cpp-source.html#l00043">CCamera</a>, and <a class="el" href="mot_8cpp-source.html#l00464">NL3D::IModel::IModel</a>. </td> + </tr> +</table> +<a name="a8" doxytag="NL3D::CCamera::enableFovAnimation"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NL3D::CCamera::enableFovAnimation </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname" nowrap> <em>en</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>aspectRatio</em> = 4.0f / 3.0f</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +enable FOV animation. +<p> +(default is false). see <a class="el" href="classNL3D_1_1CCamera.html#a7">setPerspective</a>(). znear and zfar are kept from previous setup. NB: as <a class="el" href="classNL3D_1_1CCamera.html#a7">setPerspective</a>(), fov is the full horizontal angle of camera (in radians). +<p> +Definition at line <a class="el" href="camera_8h-source.html#l00091">91</a> of file <a class="el" href="camera_8h-source.html">camera.h</a>. +<p> +References <a class="el" href="camera_8h-source.html#l00168">_FovAnimationAspectRatio</a>, and <a class="el" href="camera_8h-source.html#l00166">_FovAnimationEnabled</a>. </td> + </tr> +</table> +<a name="a9" doxytag="NL3D::CCamera::enableTargetAnimation"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NL3D::CCamera::enableTargetAnimation </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>en</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +enable Target/Roll animation. +<p> +(default is false). TTransform mode is forced to RotQuatMode. Roll is forced to 0. The camera builds the rot matrix from the animated target/roll. +<p> +Definition at line <a class="el" href="camera_8h-source.html#l00101">101</a> of file <a class="el" href="camera_8h-source.html">camera.h</a>. +<p> +References <a class="el" href="camera_8h-source.html#l00173">_Roll</a>, <a class="el" href="camera_8h-source.html#l00167">_TargetAnimationEnabled</a>, and <a class="el" href="transformable_8h-source.html#l00100">NL3D::ITransformable::setTransformMode</a>. </td> + </tr> +</table> +<a name="z391_3" doxytag="NL3D::CCamera::getDefaultTrack"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1ITrack.html">ITrack</a> * NL3D::CCamera::getDefaultTrack </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>valueId</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Default Track Values for are identity (roll= 0, target= CVector::Null, fov=Pi/2). +<p> + +<p> +Reimplemented from <a class="el" href="classNL3D_1_1CTransform.html#z846_0">NL3D::CTransform</a>. +<p> +Definition at line <a class="el" href="camera_8cpp-source.html#l00137">137</a> of file <a class="el" href="camera_8cpp-source.html">camera.cpp</a>. +<p> +References <a class="el" href="classNL3D_1_1CCamera.html#r0">DefaultFov</a>, <a class="el" href="classNL3D_1_1CCamera.html#r2">DefaultRoll</a>, <a class="el" href="classNL3D_1_1CCamera.html#r1">DefaultTarget</a>, <a class="el" href="classNL3D_1_1CCamera.html#z391_0s1">FovValue</a>, <a class="el" href="classNL3D_1_1CCamera.html#z391_0s3">RollValue</a>, and <a class="el" href="classNL3D_1_1CCamera.html#z391_0s2">TargetValue</a>. </td> + </tr> +</table> +<a name="z390_0" doxytag="NL3D::CCamera::getFovValueName"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const char* NL3D::CCamera::getFovValueName </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline, static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return the name of the fov track. +<p> +NB: as <a class="el" href="classNL3D_1_1CCamera.html#a7">setPerspective</a>(), fov is the full horizontal angle of camera (in radians). +<p> +Definition at line <a class="el" href="camera_8h-source.html#l00115">115</a> of file <a class="el" href="camera_8h-source.html">camera.h</a>. +<p> +Referenced by <a class="el" href="camera_8cpp-source.html#l00118">getValueName</a>. </td> + </tr> +</table> +<a name="a4" doxytag="NL3D::CCamera::getFrustum"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CCamera::getFrustum </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float & </td> + <td class="mdname" nowrap> <em>left</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float & </td> + <td class="mdname" nowrap> <em>right</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float & </td> + <td class="mdname" nowrap> <em>bottom</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float & </td> + <td class="mdname" nowrap> <em>top</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float & </td> + <td class="mdname" nowrap> <em>znear</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float & </td> + <td class="mdname" nowrap> <em>zfar</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the camera frustum. +<p> + +<p> +Definition at line <a class="el" href="camera_8cpp-source.html#l00075">75</a> of file <a class="el" href="camera_8cpp-source.html">camera.cpp</a>. +<p> +References <a class="el" href="camera_8h-source.html#l00154">_Frustum</a>. </td> + </tr> +</table> +<a name="a1" doxytag="NL3D::CCamera::getFrustum"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="classNL3D_1_1CFrustum.html">CFrustum</a>& NL3D::CCamera::getFrustum </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the frustum of the camera. +<p> + +<p> +Definition at line <a class="el" href="camera_8h-source.html#l00068">68</a> of file <a class="el" href="camera_8h-source.html">camera.h</a>. +<p> +References <a class="el" href="camera_8h-source.html#l00154">_Frustum</a>. +<p> +Referenced by <a class="el" href="cloud__scape_8cpp-source.html#l00737">NL3D::CCloudScape::render</a>. </td> + </tr> +</table> +<a name="z390_2" doxytag="NL3D::CCamera::getRollValueName"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const char* NL3D::CCamera::getRollValueName </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline, static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return the name of the roll track. +<p> + +<p> +Definition at line <a class="el" href="camera_8h-source.html#l00119">119</a> of file <a class="el" href="camera_8h-source.html">camera.h</a>. +<p> +Referenced by <a class="el" href="camera_8cpp-source.html#l00118">getValueName</a>. </td> + </tr> +</table> +<a name="z390_1" doxytag="NL3D::CCamera::getTargetValueName"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const char* NL3D::CCamera::getTargetValueName </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline, static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return the name of the target track. This target is in the parent space of camera. +<p> + +<p> +Definition at line <a class="el" href="camera_8h-source.html#l00117">117</a> of file <a class="el" href="camera_8h-source.html">camera.h</a>. +<p> +Referenced by <a class="el" href="camera_8cpp-source.html#l00118">getValueName</a>. </td> + </tr> +</table> +<a name="z391_1" doxytag="NL3D::CCamera::getValue"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1IAnimatedValue.html">IAnimatedValue</a> * NL3D::CCamera::getValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>valueId</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +From <a class="el" href="classNL3D_1_1IAnimatable.html">IAnimatable</a>. +<p> + +<p> +Reimplemented from <a class="el" href="classNL3D_1_1ITransformable.html#z872_1">NL3D::ITransformable</a>. +<p> +Definition at line <a class="el" href="camera_8cpp-source.html#l00105">105</a> of file <a class="el" href="camera_8cpp-source.html">camera.cpp</a>. +<p> +References <a class="el" href="camera_8h-source.html#l00171">_Fov</a>, <a class="el" href="camera_8h-source.html#l00173">_Roll</a>, <a class="el" href="camera_8h-source.html#l00172">_Target</a>, <a class="el" href="classNL3D_1_1CCamera.html#z391_0s1">FovValue</a>, <a class="el" href="classNL3D_1_1CCamera.html#z391_0s3">RollValue</a>, and <a class="el" href="classNL3D_1_1CCamera.html#z391_0s2">TargetValue</a>. </td> + </tr> +</table> +<a name="z391_2" doxytag="NL3D::CCamera::getValueName"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const char * NL3D::CCamera::getValueName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>valueId</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +From <a class="el" href="classNL3D_1_1IAnimatable.html">IAnimatable</a>. +<p> + +<p> +Reimplemented from <a class="el" href="classNL3D_1_1ITransformable.html#z872_2">NL3D::ITransformable</a>. +<p> +Definition at line <a class="el" href="camera_8cpp-source.html#l00118">118</a> of file <a class="el" href="camera_8cpp-source.html">camera.cpp</a>. +<p> +References <a class="el" href="classNL3D_1_1CCamera.html#z391_0s1">FovValue</a>, <a class="el" href="camera_8h-source.html#l00115">getFovValueName</a>, <a class="el" href="camera_8h-source.html#l00119">getRollValueName</a>, <a class="el" href="camera_8h-source.html#l00117">getTargetValueName</a>, <a class="el" href="classNL3D_1_1CCamera.html#z391_0s3">RollValue</a>, and <a class="el" href="classNL3D_1_1CCamera.html#z391_0s2">TargetValue</a>. </td> + </tr> +</table> +<a name="a5" doxytag="NL3D::CCamera::isOrtho"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NL3D::CCamera::isOrtho </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Is a ortho camera? +<p> + +<p> +Definition at line <a class="el" href="camera_8cpp-source.html#l00085">85</a> of file <a class="el" href="camera_8cpp-source.html">camera.cpp</a>. +<p> +References <a class="el" href="camera_8h-source.html#l00154">_Frustum</a>. </td> + </tr> +</table> +<a name="a6" doxytag="NL3D::CCamera::isPerspective"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NL3D::CCamera::isPerspective </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Is a perspective camera? +<p> + +<p> +Definition at line <a class="el" href="camera_8cpp-source.html#l00090">90</a> of file <a class="el" href="camera_8cpp-source.html">camera.cpp</a>. +<p> +References <a class="el" href="camera_8h-source.html#l00154">_Frustum</a>. </td> + </tr> +</table> +<a name="d0" doxytag="NL3D::CCamera::registerBasic"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CCamera::registerBasic </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Call at the begining of the program, to register the model, and the basic observers. +<p> + +<p> +Reimplemented from <a class="el" href="classNL3D_1_1CTransform.html#d0">NL3D::CTransform</a>. +<p> +Definition at line <a class="el" href="camera_8cpp-source.html#l00036">36</a> of file <a class="el" href="camera_8cpp-source.html">camera.cpp</a>. +<p> +References <a class="el" href="camera_8h-source.html#l00039">NL3D::CameraId</a>, and <a class="el" href="transform_8h-source.html#l00075">NL3D::TransformId</a>. </td> + </tr> +</table> +<a name="z391_4" doxytag="NL3D::CCamera::registerToChannelMixer"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CCamera::registerToChannelMixer </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CChannelMixer.html">CChannelMixer</a> * </td> + <td class="mdname" nowrap> <em>chanMixer</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const std::string & </td> + <td class="mdname" nowrap> <em>prefix</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +register camera channels (in global anim mode). +<p> + +<p> +Reimplemented from <a class="el" href="classNL3D_1_1CTransform.html#z846_1">NL3D::CTransform</a>. +<p> +Definition at line <a class="el" href="camera_8cpp-source.html#l00150">150</a> of file <a class="el" href="camera_8cpp-source.html">camera.cpp</a>. +<p> +References <a class="el" href="animatable_8cpp-source.html#l00037">NL3D::IAnimatable::addValue</a>, <a class="el" href="classNL3D_1_1CCamera.html#z391_0s1">FovValue</a>, <a class="el" href="classNL3D_1_1CCamera.html#z391_0s0">OwnerBit</a>, <a class="el" href="classNL3D_1_1CCamera.html#z391_0s3">RollValue</a>, and <a class="el" href="classNL3D_1_1CCamera.html#z391_0s2">TargetValue</a>. </td> + </tr> +</table> +<a name="a3" doxytag="NL3D::CCamera::setFrustum"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CCamera::setFrustum </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname" nowrap> <em>width</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>height</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>znear</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>zfar</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>perspective</em> = true</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Setup the camera mode as a perspective/ortho camera. NB: znear and zfar must be >0 (if perspective). +<p> + +<p> +Definition at line <a class="el" href="camera_8cpp-source.html#l00065">65</a> of file <a class="el" href="camera_8cpp-source.html">camera.cpp</a>. +<p> +References <a class="el" href="camera_8h-source.html#l00154">_Frustum</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00709">height</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00709">width</a>. </td> + </tr> +</table> +<a name="a2" doxytag="NL3D::CCamera::setFrustum"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CCamera::setFrustum </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname" nowrap> <em>left</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>right</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>bottom</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>top</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>znear</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>zfar</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>perspective</em> = true</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Setup the camera mode as a perspective/ortho camera. NB: znear and zfar must be >0 (if perspective). +<p> + +<p> +Definition at line <a class="el" href="camera_8cpp-source.html#l00060">60</a> of file <a class="el" href="camera_8cpp-source.html">camera.cpp</a>. +<p> +References <a class="el" href="camera_8h-source.html#l00154">_Frustum</a>. </td> + </tr> +</table> +<a name="a0" doxytag="NL3D::CCamera::setFrustum"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CCamera::setFrustum </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="classNL3D_1_1CFrustum.html">CFrustum</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>f</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the frustum of the camera. +<p> + +<p> +Definition at line <a class="el" href="camera_8h-source.html#l00066">66</a> of file <a class="el" href="camera_8h-source.html">camera.h</a>. +<p> +References <a class="el" href="camera_8h-source.html#l00154">_Frustum</a>. +<p> +Referenced by <a class="el" href="camera_8cpp-source.html#l00043">CCamera</a>. </td> + </tr> +</table> +<a name="a7" doxytag="NL3D::CCamera::setPerspective"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CCamera::setPerspective </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname" nowrap> <em>fov</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>aspectRatio</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>znear</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>zfar</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Setup a perspective camera, giving a fov in radians. +<p> +<dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>fov</em> </td><td> +the horizontal angle of view, in radians. (Pi/2 as example) </td></tr> +<tr><td valign=top><em>aspectRatio</em> </td><td> +the ratio horizontal/vertical (1.33 as example). </td></tr> +<tr><td valign=top><em>znear</em> </td><td> +the front clipping plane distance. </td></tr> +<tr><td valign=top><em>zfar</em> </td><td> +the back clipping plane distance. </td></tr> +</table> +</dl> +<p> +Definition at line <a class="el" href="camera_8cpp-source.html#l00070">70</a> of file <a class="el" href="camera_8cpp-source.html">camera.cpp</a>. +<p> +References <a class="el" href="camera_8h-source.html#l00154">_Frustum</a>. +<p> +Referenced by <a class="el" href="camera_8cpp-source.html#l00163">update</a>. </td> + </tr> +</table> +<a name="b2" doxytag="NL3D::CCamera::update"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CCamera::update </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [protected, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Implement the update method. +<p> + +<p> +Reimplemented from <a class="el" href="classNL3D_1_1CTransform.html#b2">NL3D::CTransform</a>. +<p> +Definition at line <a class="el" href="camera_8cpp-source.html#l00163">163</a> of file <a class="el" href="camera_8cpp-source.html">camera.cpp</a>. +<p> +References <a class="el" href="camera_8h-source.html#l00171">_Fov</a>, <a class="el" href="camera_8h-source.html#l00168">_FovAnimationAspectRatio</a>, <a class="el" href="camera_8h-source.html#l00166">_FovAnimationEnabled</a>, <a class="el" href="camera_8h-source.html#l00154">_Frustum</a>, <a class="el" href="camera_8h-source.html#l00173">_Roll</a>, <a class="el" href="camera_8h-source.html#l00172">_Target</a>, <a class="el" href="camera_8h-source.html#l00167">_TargetAnimationEnabled</a>, <a class="el" href="classNL3D_1_1CCamera.html#z391_0s1">FovValue</a>, <a class="el" href="classNL3D_1_1CCamera.html#z391_0s0">OwnerBit</a>, <a class="el" href="classNL3D_1_1CCamera.html#z391_0s3">RollValue</a>, <a class="el" href="camera_8cpp-source.html#l00070">setPerspective</a>, <a class="el" href="transformable_8h-source.html#l00138">NL3D::ITransformable::setRotQuat</a>, and <a class="el" href="classNL3D_1_1CCamera.html#z391_0s2">TargetValue</a>. </td> + </tr> +</table> +<hr><h2>Member Data Documentation</h2> +<a name="o3" doxytag="NL3D::CCamera::_Fov"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="namespaceNL3D.html#a13">CAnimatedValueFloat</a> NL3D::CCamera::_Fov<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="camera_8h-source.html#l00171">171</a> of file <a class="el" href="camera_8h-source.html">camera.h</a>. +<p> +Referenced by <a class="el" href="camera_8cpp-source.html#l00043">CCamera</a>, <a class="el" href="camera_8cpp-source.html#l00105">getValue</a>, and <a class="el" href="camera_8cpp-source.html#l00163">update</a>. </td> + </tr> +</table> +<a name="o2" doxytag="NL3D::CCamera::_FovAnimationAspectRatio"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float NL3D::CCamera::_FovAnimationAspectRatio<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="camera_8h-source.html#l00168">168</a> of file <a class="el" href="camera_8h-source.html">camera.h</a>. +<p> +Referenced by <a class="el" href="camera_8cpp-source.html#l00043">CCamera</a>, <a class="el" href="camera_8h-source.html#l00091">enableFovAnimation</a>, and <a class="el" href="camera_8cpp-source.html#l00163">update</a>. </td> + </tr> +</table> +<a name="o0" doxytag="NL3D::CCamera::_FovAnimationEnabled"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NL3D::CCamera::_FovAnimationEnabled<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="camera_8h-source.html#l00166">166</a> of file <a class="el" href="camera_8h-source.html">camera.h</a>. +<p> +Referenced by <a class="el" href="camera_8cpp-source.html#l00043">CCamera</a>, <a class="el" href="camera_8h-source.html#l00091">enableFovAnimation</a>, and <a class="el" href="camera_8cpp-source.html#l00163">update</a>. </td> + </tr> +</table> +<a name="n0" doxytag="NL3D::CCamera::_Frustum"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1CFrustum.html">CFrustum</a> NL3D::CCamera::_Frustum<code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="camera_8h-source.html#l00154">154</a> of file <a class="el" href="camera_8h-source.html">camera.h</a>. +<p> +Referenced by <a class="el" href="camera_8cpp-source.html#l00075">getFrustum</a>, <a class="el" href="camera_8cpp-source.html#l00085">isOrtho</a>, <a class="el" href="camera_8cpp-source.html#l00090">isPerspective</a>, <a class="el" href="camera_8cpp-source.html#l00060">setFrustum</a>, <a class="el" href="camera_8cpp-source.html#l00070">setPerspective</a>, and <a class="el" href="camera_8cpp-source.html#l00163">update</a>. </td> + </tr> +</table> +<a name="o5" doxytag="NL3D::CCamera::_Roll"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="namespaceNL3D.html#a13">CAnimatedValueFloat</a> NL3D::CCamera::_Roll<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="camera_8h-source.html#l00173">173</a> of file <a class="el" href="camera_8h-source.html">camera.h</a>. +<p> +Referenced by <a class="el" href="camera_8cpp-source.html#l00043">CCamera</a>, <a class="el" href="camera_8h-source.html#l00101">enableTargetAnimation</a>, <a class="el" href="camera_8cpp-source.html#l00105">getValue</a>, and <a class="el" href="camera_8cpp-source.html#l00163">update</a>. </td> + </tr> +</table> +<a name="o4" doxytag="NL3D::CCamera::_Target"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="namespaceNL3D.html#a14">CAnimatedValueVector</a> NL3D::CCamera::_Target<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="camera_8h-source.html#l00172">172</a> of file <a class="el" href="camera_8h-source.html">camera.h</a>. +<p> +Referenced by <a class="el" href="camera_8cpp-source.html#l00043">CCamera</a>, <a class="el" href="camera_8cpp-source.html#l00105">getValue</a>, and <a class="el" href="camera_8cpp-source.html#l00163">update</a>. </td> + </tr> +</table> +<a name="o1" doxytag="NL3D::CCamera::_TargetAnimationEnabled"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NL3D::CCamera::_TargetAnimationEnabled<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="camera_8h-source.html#l00167">167</a> of file <a class="el" href="camera_8h-source.html">camera.h</a>. +<p> +Referenced by <a class="el" href="camera_8cpp-source.html#l00043">CCamera</a>, <a class="el" href="camera_8h-source.html#l00101">enableTargetAnimation</a>, and <a class="el" href="camera_8cpp-source.html#l00163">update</a>. </td> + </tr> +</table> +<a name="r0" doxytag="NL3D::CCamera::DefaultFov"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1CTrackDefaultFloat.html">CTrackDefaultFloat</a> NL3D::CCamera::DefaultFov<code> [static, private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Referenced by <a class="el" href="camera_8cpp-source.html#l00137">getDefaultTrack</a>. </td> + </tr> +</table> +<a name="r2" doxytag="NL3D::CCamera::DefaultRoll"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1CTrackDefaultFloat.html">CTrackDefaultFloat</a> NL3D::CCamera::DefaultRoll<code> [static, private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Referenced by <a class="el" href="camera_8cpp-source.html#l00137">getDefaultTrack</a>. </td> + </tr> +</table> +<a name="r1" doxytag="NL3D::CCamera::DefaultTarget"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1CTrackDefaultVector.html">CTrackDefaultVector</a> NL3D::CCamera::DefaultTarget<code> [static, private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Referenced by <a class="el" href="camera_8cpp-source.html#l00137">getDefaultTrack</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="camera_8h-source.html">camera.h</a><li><a class="el" href="camera_8cpp-source.html">camera.cpp</a></ul> + + +<!-- footer --> +<BR><FONT Size=+5> </FONT> +</TD> +<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD> +</TR> +</TABLE> +</BODY> +</HTML> |