<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>OpenVRML: openvrml::viewpoint_node Class Reference</title> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <link rel="icon" href="../vrml-16"> <link rel="start" href="http://openvrml.org/index" title="OpenVRML Home"> <link rel="prev" href="http://openvrml.org/discussion" title="Discussion"> <link rel="contents" href="index" title="Documentation Main Page"> <link rel="index" href="functions" title="OpenVRML Compound Members"> <link rel="appendix" href="conformance" title="Conformance Test Results"> <style type="text/css"> @import url("tabs.css"); @import url("http://openvrml.org/openvrml.css"); table { width: 100%; } h2 { border-bottom-style: solid; border-bottom-width: 1px; } /* * Doxygen as of 1.5.4-20071217 uses the class "navpath" instead of "nav". * For now, we'll do both. */ div.nav, div.navpath { background-color: transparent; text-align: left; margin-top: 1em; margin-bottom: 1em; border-color: black; border-left: none; border-right: none; padding-top: 0.5em; padding-bottom: 0.5em; } div.nav :link, div.nav :visited, div.navpath :link, div.navpath :visited { border-width: 1px; border-style: solid; border-color: silver; padding: 2px; } div.nav :link:hover, div.nav :visited:hover, div.navpath :link:hover, div.navpath :visited:hover { border-style: outset; border-color: gray; } div.nav :active, div.navpath :active { border-style: inset; border-color: gray; } .body td { background-color: transparent; } .el { text-decoration: inherit; font-weight: inherit } .elRef { font-weight: inherit } .code:link, .code:visited { text-decoration: inherit; font-weight: inherit; color: inherit; } .codeRef:link { font-weight: normal; color: inherit; } :visited { color: silver; } :link:hover { color: inherit; text-decoration: inherit; background-color: transparent; } h1 { line-height: 1.2em; } td.memItemLeft, td.memItemRight, td.memTemplParams, td.memTemplItemLeft, td.memTemplItemRight, .memtemplate, .memname td { font-family: Consolas, "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Lucida Console", LucidaTypewriter, monospace; } td.memItemLeft, td.memItemRight, td.mdescLeft, td.mdescRight { background-color: rgb(95%, 95%, 95%); border-color: rgb(65%, 65%, 65%); border-width: 1px; font-size: smaller; } .memItemLeft { margin-top: 0.5em; border-top-style: solid; } .mdescLeft { border-bottom-style: solid; } .memItemRight { border-top-style: solid; margin-top: 0.5em; } .mdescRight { border-bottom-style: solid; } .mdescRight { font-style: italic; } .mdTable { background-color: rgb(95%, 95%, 95%); } .memproto td code { font-family: inherit; font-style: italic; } td.pass { background-color: rgb(50%, 100%, 50%); } td.fail { background-color: rgb(100%, 50%, 50%); } td.invalid { background-color: rgb(75%, 75%, 75%); } .memitem { padding: 0; } .memitem table { width: auto; } .memproto, .memdoc { border-width: 1px; border-color: rgb(65%, 65%, 65%); } .memproto { background-color: rgb(90%, 90%, 90%); font-weight: inherit; font-size: smaller; border-top-style: solid; border-left-style: solid; border-right-style: solid; -webkit-border-top-left-radius: 0.6em; -webkit-border-top-right-radius: 0.6em; -moz-border-radius-topleft: 0.6em; -moz-border-radius-topright: 0.6em; } .memdoc { background-color: rgb(95%, 95%, 95%); padding: 2px 5px; border-style: solid; -webkit-border-bottom-left-radius: 0.6em; -webkit-border-bottom-right-radius: 0.6em; -moz-border-radius-bottomleft: 0.6em; -moz-border-radius-bottomright: 0.6em; } .memname { font-weight: inherit; } div.tabs { background-image: url("tab_b-openvrml.png"); } div.tabs span { background-image: url("tab_l-openvrml.png"); } div.tabs a { background-image: url("tab_r-openvrml.png"); border-bottom: 1px solid #a5a5a5; } div.tabs a:link, div.tabs a:visited, div.tabs a:active, div.tabs a:hover { color: black; } table { border-collapse: collapse; border-spacing: 0; } .note { border: 1px solid rgb(65%, 65%, 65%); background-color: rgb(95%, 95%, 95%); margin-left: 10%; margin-right: 10%; } </style> </head> <body> <table class="sitenav"> <tr> <th><a href="http://openvrml.org/index" title="Home">Home</a></th> <th><a href="http://openvrml.org/download" title="Download">Download</a></th> <th><a href="http://openvrml.org/screenshots/index" title="Screen shots">Screen shots</a></th> <th><a href="http://openvrml.org/discussion" title="Mailing lists and IRC">Discussion</a></th> <th>Documentation</th> </tr> </table> <div class="body"> <!-- Generated by Doxygen 1.5.8 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="examples.html"><span>Examples</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="namespaceopenvrml.html">openvrml</a>::<a class="el" href="classopenvrml_1_1viewpoint__node.html">viewpoint_node</a> </div> </div> <div class="contents"> <h1>openvrml::viewpoint_node Class Reference</h1><!-- doxytag: class="openvrml::viewpoint_node" --><!-- doxytag: inherits="openvrml::child_node" -->Abstract base class for viewpoint nodes. <a href="#_details">More...</a> <p> <code>#include <openvrml/node.h></code> <p> <div class="dynheader"> Inheritance diagram for openvrml::viewpoint_node:</div> <div class="dynsection"> <p><center><img src="classopenvrml_1_1viewpoint__node__inherit__graph.png" border="0" usemap="#openvrml_1_1viewpoint__node__inherit__map" alt="Inheritance graph"></center> <map name="openvrml_1_1viewpoint__node__inherit__map"> <area shape="rect" href="classopenvrml_1_1child__node.html" title="Abstract base class for child nodes." alt="" coords="44,160,193,189"><area shape="rect" href="classopenvrml_1_1bounded__volume__node.html" title="Abstract base class for nodes that represent a bounded volume in the scene graph..." alt="" coords="5,83,232,112"><area shape="rect" href="classopenvrml_1_1node.html" title="A node in the scene graph." alt="" coords="61,5,176,35"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="classopenvrml_1_1viewpoint__node-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classopenvrml_1_1viewpoint__node.html#0a407228f4d6bede4491e1169e0713fe">~viewpoint_node</a> ()=0 throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#0a407228f4d6bede4491e1169e0713fe"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="structopenvrml_1_1mat4f.html">mat4f</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classopenvrml_1_1viewpoint__node.html#63a90f747b1b2c4fdb6024718e296063">transformation</a> () const throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the transformation of the <code><a class="el" href="classopenvrml_1_1viewpoint__node.html" title="Abstract base class for viewpoint nodes.">viewpoint_node</a></code> in the global coordinate system. <a href="#63a90f747b1b2c4fdb6024718e296063"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="structopenvrml_1_1mat4f.html">mat4f</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classopenvrml_1_1viewpoint__node.html#9a1bd2a6330c489321e14d27dd2e64fa">user_view_transform</a> () const throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the transformation of the user view relative to the <code><a class="el" href="classopenvrml_1_1viewpoint__node.html" title="Abstract base class for viewpoint nodes.">viewpoint_node</a></code>. <a href="#9a1bd2a6330c489321e14d27dd2e64fa"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classopenvrml_1_1viewpoint__node.html#513f39f6fdbc29203c98ccd09182f69c">user_view_transform</a> (const <a class="el" href="structopenvrml_1_1mat4f.html">mat4f</a> &transform) throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the transformation of the user view relative to the <code><a class="el" href="classopenvrml_1_1viewpoint__node.html" title="Abstract base class for viewpoint nodes.">viewpoint_node</a></code>. <a href="#513f39f6fdbc29203c98ccd09182f69c"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const std::string & </td><td class="memItemRight" valign="bottom"><a class="el" href="classopenvrml_1_1viewpoint__node.html#75b8a1f3d1aaa76d596b4ad6a24de811">description</a> () const throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the description. <a href="#75b8a1f3d1aaa76d596b4ad6a24de811"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classopenvrml_1_1viewpoint__node.html#fe5cfdec9454ea7cf4bd883aa14b61a4">field_of_view</a> () const throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the field of view. <a href="#fe5cfdec9454ea7cf4bd883aa14b61a4"></a><br></td></tr> <tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classopenvrml_1_1viewpoint__node.html#01e6fc35530d31995641bc3621169ce4">viewpoint_node</a> (const <a class="el" href="classopenvrml_1_1node__type.html">node_type</a> &type, const boost::shared_ptr< <a class="el" href="classopenvrml_1_1scope.html">openvrml::scope</a> > &<a class="el" href="classopenvrml_1_1scope.html">scope</a>) throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#01e6fc35530d31995641bc3621169ce4"></a><br></td></tr> <tr><td colspan="2"><br><h2>Private Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classopenvrml_1_1viewpoint__node.html">viewpoint_node</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classopenvrml_1_1viewpoint__node.html#0746d8a73b67cce285dec971bfeb4dcc">to_viewpoint</a> () throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Cast to a <code><a class="el" href="classopenvrml_1_1viewpoint__node.html" title="Abstract base class for viewpoint nodes.">viewpoint_node</a></code>. <a href="#0746d8a73b67cce285dec971bfeb4dcc"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const <a class="el" href="structopenvrml_1_1mat4f.html">mat4f</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classopenvrml_1_1viewpoint__node.html#0bf4ce39c70352983fdd05d3525cbef2">do_transformation</a> () const =0 throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the transformation of the <code><a class="el" href="classopenvrml_1_1viewpoint__node.html" title="Abstract base class for viewpoint nodes.">viewpoint_node</a></code> in the global coordinate system. <a href="#0bf4ce39c70352983fdd05d3525cbef2"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const <a class="el" href="structopenvrml_1_1mat4f.html">mat4f</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classopenvrml_1_1viewpoint__node.html#2109028182148bd34f2d2cdb8249c7d2">do_user_view_transform</a> () const =0 throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the transformation of the user view relative to the <code><a class="el" href="classopenvrml_1_1viewpoint__node.html" title="Abstract base class for viewpoint nodes.">viewpoint_node</a></code>. <a href="#2109028182148bd34f2d2cdb8249c7d2"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classopenvrml_1_1viewpoint__node.html#2767a062de6f76043fb0ee25e3200dd1">do_user_view_transform</a> (const <a class="el" href="structopenvrml_1_1mat4f.html">mat4f</a> &transform)=0 throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the transformation of the user view relative to the <code><a class="el" href="classopenvrml_1_1viewpoint__node.html" title="Abstract base class for viewpoint nodes.">viewpoint_node</a></code>. <a href="#2767a062de6f76043fb0ee25e3200dd1"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const std::string & </td><td class="memItemRight" valign="bottom"><a class="el" href="classopenvrml_1_1viewpoint__node.html#b95d7618d2e6fca4854d860cc4726b48">do_description</a> () const =0 throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the description. <a href="#b95d7618d2e6fca4854d860cc4726b48"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual float </td><td class="memItemRight" valign="bottom"><a class="el" href="classopenvrml_1_1viewpoint__node.html#9e5bdea23b6dc0f07dc0d18dac78a9f5">do_field_of_view</a> () const =0 throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the field of view. <a href="#9e5bdea23b6dc0f07dc0d18dac78a9f5"></a><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Abstract base class for viewpoint nodes. <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="0a407228f4d6bede4491e1169e0713fe"></a><!-- doxytag: member="openvrml::viewpoint_node::~viewpoint_node" ref="0a407228f4d6bede4491e1169e0713fe" args="()=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">openvrml::viewpoint_node::~viewpoint_node </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> throw ()<code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Destructor. <p> </div> </div><p> <a class="anchor" name="01e6fc35530d31995641bc3621169ce4"></a><!-- doxytag: member="openvrml::viewpoint_node::viewpoint_node" ref="01e6fc35530d31995641bc3621169ce4" args="(const node_type &type, const boost::shared_ptr< openvrml::scope > &scope)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">openvrml::viewpoint_node::viewpoint_node </td> <td>(</td> <td class="paramtype">const <a class="el" href="classopenvrml_1_1node__type.html">node_type</a> & </td> <td class="paramname"> <em>type</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const boost::shared_ptr< <a class="el" href="classopenvrml_1_1scope.html">openvrml::scope</a> > & </td> <td class="paramname"> <em>scope</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> throw ()<code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Constructor. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>type</em> </td><td>the <code><a class="el" href="classopenvrml_1_1node__type.html" title="Type information object for nodes.">node_type</a></code> associated with the <code><a class="el" href="classopenvrml_1_1node.html" title="A node in the scene graph.">node</a></code>. </td></tr> <tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em><a class="el" href="classopenvrml_1_1scope.html" title="The scope class keeps track of defined nodes and prototypes.">scope</a></em> </td><td>the <code><a class="el" href="classopenvrml_1_1scope.html" title="The scope class keeps track of defined nodes and prototypes.">scope</a></code> the <code><a class="el" href="classopenvrml_1_1node.html" title="A node in the scene graph.">node</a></code> belongs to. </td></tr> </table> </dl> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="63a90f747b1b2c4fdb6024718e296063"></a><!-- doxytag: member="openvrml::viewpoint_node::transformation" ref="63a90f747b1b2c4fdb6024718e296063" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="structopenvrml_1_1mat4f.html">openvrml::mat4f</a> & openvrml::viewpoint_node::transformation </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const throw ()</td> </tr> </table> </div> <div class="memdoc"> <p> Get the transformation of the <code><a class="el" href="classopenvrml_1_1viewpoint__node.html" title="Abstract base class for viewpoint nodes.">viewpoint_node</a></code> in the global coordinate system. <p> This function delegates to <code><a class="el" href="classopenvrml_1_1viewpoint__node.html#0bf4ce39c70352983fdd05d3525cbef2" title="Get the transformation of the viewpoint_node in the global coordinate system.">do_transformation</a></code>.<p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>the transformation of the <code><a class="el" href="classopenvrml_1_1viewpoint__node.html" title="Abstract base class for viewpoint nodes.">viewpoint_node</a></code> in the global coordinate system. </dd></dl> </div> </div><p> <a class="anchor" name="9a1bd2a6330c489321e14d27dd2e64fa"></a><!-- doxytag: member="openvrml::viewpoint_node::user_view_transform" ref="9a1bd2a6330c489321e14d27dd2e64fa" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="structopenvrml_1_1mat4f.html">openvrml::mat4f</a> & openvrml::viewpoint_node::user_view_transform </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const throw ()</td> </tr> </table> </div> <div class="memdoc"> <p> Get the transformation of the user view relative to the <code><a class="el" href="classopenvrml_1_1viewpoint__node.html" title="Abstract base class for viewpoint nodes.">viewpoint_node</a></code>. <p> This function delegates to <code><a class="el" href="classopenvrml_1_1viewpoint__node.html#2109028182148bd34f2d2cdb8249c7d2" title="Get the transformation of the user view relative to the viewpoint_node.">do_user_view_transform()</a></code>.<p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>the transformation of the user view relative to the <code><a class="el" href="classopenvrml_1_1viewpoint__node.html" title="Abstract base class for viewpoint nodes.">viewpoint_node</a></code>. </dd></dl> </div> </div><p> <a class="anchor" name="513f39f6fdbc29203c98ccd09182f69c"></a><!-- doxytag: member="openvrml::viewpoint_node::user_view_transform" ref="513f39f6fdbc29203c98ccd09182f69c" args="(const mat4f &transform)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void openvrml::viewpoint_node::user_view_transform </td> <td>(</td> <td class="paramtype">const <a class="el" href="structopenvrml_1_1mat4f.html">mat4f</a> & </td> <td class="paramname"> <em>transform</em> </td> <td> ) </td> <td> throw ()</td> </tr> </table> </div> <div class="memdoc"> <p> Set the transformation of the user view relative to the <code><a class="el" href="classopenvrml_1_1viewpoint__node.html" title="Abstract base class for viewpoint nodes.">viewpoint_node</a></code>. <p> This function delegates to <code><a class="el" href="classopenvrml_1_1viewpoint__node.html#2767a062de6f76043fb0ee25e3200dd1" title="Set the transformation of the user view relative to the viewpoint_node.">do_user_view_transform(const mat4f &)</a></code>.<p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>transform</em> </td><td>the new transformation. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="75b8a1f3d1aaa76d596b4ad6a24de811"></a><!-- doxytag: member="openvrml::viewpoint_node::description" ref="75b8a1f3d1aaa76d596b4ad6a24de811" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const std::string & openvrml::viewpoint_node::description </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const throw ()</td> </tr> </table> </div> <div class="memdoc"> <p> Get the description. <p> This function delegates to <code><a class="el" href="classopenvrml_1_1viewpoint__node.html#b95d7618d2e6fca4854d860cc4726b48" title="Get the description.">do_description</a></code>.<p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>the description. </dd></dl> </div> </div><p> <a class="anchor" name="fe5cfdec9454ea7cf4bd883aa14b61a4"></a><!-- doxytag: member="openvrml::viewpoint_node::field_of_view" ref="fe5cfdec9454ea7cf4bd883aa14b61a4" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">float openvrml::viewpoint_node::field_of_view </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const throw ()</td> </tr> </table> </div> <div class="memdoc"> <p> Get the field of view. <p> This function delegates to <code><a class="el" href="classopenvrml_1_1viewpoint__node.html#9e5bdea23b6dc0f07dc0d18dac78a9f5" title="Get the field of view.">do_field_of_view</a></code>.<p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>the field of view in radians. </dd></dl> </div> </div><p> <a class="anchor" name="0746d8a73b67cce285dec971bfeb4dcc"></a><!-- doxytag: member="openvrml::viewpoint_node::to_viewpoint" ref="0746d8a73b67cce285dec971bfeb4dcc" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classopenvrml_1_1viewpoint__node.html">openvrml::viewpoint_node</a> * openvrml::viewpoint_node::to_viewpoint </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> throw ()<code> [private, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Cast to a <code><a class="el" href="classopenvrml_1_1viewpoint__node.html" title="Abstract base class for viewpoint nodes.">viewpoint_node</a></code>. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>a pointer to this <code><a class="el" href="classopenvrml_1_1viewpoint__node.html" title="Abstract base class for viewpoint nodes.">viewpoint_node</a></code>. </dd></dl> <p>Reimplemented from <a class="el" href="classopenvrml_1_1node.html#ffb0adba2ec933849f727edc4eb44e27">openvrml::node</a>.</p> </div> </div><p> <a class="anchor" name="0bf4ce39c70352983fdd05d3525cbef2"></a><!-- doxytag: member="openvrml::viewpoint_node::do_transformation" ref="0bf4ce39c70352983fdd05d3525cbef2" args="() const =0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="structopenvrml_1_1mat4f.html">openvrml::mat4f</a> & openvrml::viewpoint_node::do_transformation </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const throw ()<code> [private, pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the transformation of the <code><a class="el" href="classopenvrml_1_1viewpoint__node.html" title="Abstract base class for viewpoint nodes.">viewpoint_node</a></code> in the global coordinate system. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>the transformation of the <code><a class="el" href="classopenvrml_1_1viewpoint__node.html" title="Abstract base class for viewpoint nodes.">viewpoint_node</a></code> in the global coordinate system. </dd></dl> </div> </div><p> <a class="anchor" name="2109028182148bd34f2d2cdb8249c7d2"></a><!-- doxytag: member="openvrml::viewpoint_node::do_user_view_transform" ref="2109028182148bd34f2d2cdb8249c7d2" args="() const =0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="structopenvrml_1_1mat4f.html">openvrml::mat4f</a> & openvrml::viewpoint_node::do_user_view_transform </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const throw ()<code> [private, pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the transformation of the user view relative to the <code><a class="el" href="classopenvrml_1_1viewpoint__node.html" title="Abstract base class for viewpoint nodes.">viewpoint_node</a></code>. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>the transformation of the user view relative to the <code><a class="el" href="classopenvrml_1_1viewpoint__node.html" title="Abstract base class for viewpoint nodes.">viewpoint_node</a></code>. </dd></dl> </div> </div><p> <a class="anchor" name="2767a062de6f76043fb0ee25e3200dd1"></a><!-- doxytag: member="openvrml::viewpoint_node::do_user_view_transform" ref="2767a062de6f76043fb0ee25e3200dd1" args="(const mat4f &transform)=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void openvrml::viewpoint_node::do_user_view_transform </td> <td>(</td> <td class="paramtype">const <a class="el" href="structopenvrml_1_1mat4f.html">mat4f</a> & </td> <td class="paramname"> <em>transform</em> </td> <td> ) </td> <td> throw ()<code> [private, pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Set the transformation of the user view relative to the <code><a class="el" href="classopenvrml_1_1viewpoint__node.html" title="Abstract base class for viewpoint nodes.">viewpoint_node</a></code>. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>transform</em> </td><td>the new transformation. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="b95d7618d2e6fca4854d860cc4726b48"></a><!-- doxytag: member="openvrml::viewpoint_node::do_description" ref="b95d7618d2e6fca4854d860cc4726b48" args="() const =0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const std::string & openvrml::viewpoint_node::do_description </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const throw ()<code> [private, pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the description. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>the description. </dd></dl> </div> </div><p> <a class="anchor" name="9e5bdea23b6dc0f07dc0d18dac78a9f5"></a><!-- doxytag: member="openvrml::viewpoint_node::do_field_of_view" ref="9e5bdea23b6dc0f07dc0d18dac78a9f5" args="() const =0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">float openvrml::viewpoint_node::do_field_of_view </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const throw ()<code> [private, pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the field of view. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>the field of view in radians. </dd></dl> </div> </div><p> </div> </div> <address class="footer"><span class="images"><a href="http://web3d.org/x3d/"><img src="x3d-white-on-black.png" width="43" height="32" border="0" alt="X3D"></a><a href="http://opengl.org"><img src="OGL_sm_wht.png" width="68" height="32" border="0" alt="OpenGL"></a><a href="http://sourceforge.net/projects/openvrml"><img src="http://sourceforge.net/sflogo.php?group_id=7151&type=11" width="120" height="30" border="0" alt="SourceForge.net"></a></span><a href="https://sourceforge.net/apps/trac/openvrml/newticket">Report error</a><br>Generated Thu Aug 13 02:49:21 2009 by Doxygen 1.5.8</address> <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> <script type="text/javascript">_uacct = "UA-446379-2"; urchinTracker();</script> <!-- Piwik --> <script type="text/javascript"> var pkBaseURL = (("https:" == document.location.protocol) ? "https://sourceforge.net/apps/piwik/openvrml/" : "http://sourceforge.net/apps/piwik/openvrml/"); document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E")); </script><script type="text/javascript"> piwik_action_name = ''; piwik_idsite = 1; piwik_url = pkBaseURL + "piwik.php"; piwik_log(piwik_action_name, piwik_idsite, piwik_url); </script> <object><noscript><p><img src="http://sourceforge.net/apps/piwik/openvrml/piwik.php?idsite=1" alt="piwik"/></p></noscript></object> <!-- End Piwik Tag --> </body> </html>