<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>VTK: vtkOpenGLCamera Class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.6 --> <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="classes.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="classes.html"><span>Alphabetical List</span></a></li> <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> <div class="contents"> <h1>vtkOpenGLCamera Class Reference</h1><!-- doxytag: class="vtkOpenGLCamera" --><!-- doxytag: inherits="vtkCamera" --><code>#include <<a class="el" href="a05274.html">vtkOpenGLCamera.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for vtkOpenGLCamera:</div> <div class="dynsection"> <p><center><img src="a12450.png" border="0" usemap="#a12451" alt="Inheritance graph"></center> <map name="a12451"> <area shape="rect" href="a00227.html" title="a virtual camera for 3D rendering" alt="" coords="31,155,119,181"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="35,80,115,107"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="20,5,129,32"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <div class="dynheader"> Collaboration diagram for vtkOpenGLCamera:</div> <div class="dynsection"> <p><center><img src="a12452.png" border="0" usemap="#a12453" alt="Collaboration graph"></center> <map name="a12453"> <area shape="rect" href="a00227.html" title="a virtual camera for 3D rendering" alt="" coords="2172,285,2260,312"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="254,289,334,316"><area shape="rect" href="a00089.html" title="superclass for all geometric transformations" alt="" coords="511,179,663,205"><area shape="rect" href="a00998.html" title="represent and manipulate 4x4 transformation matrices" alt="" coords="842,301,940,328"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="7,289,116,316"><area shape="rect" href="a01719.html" title="record modification and/or execution time" alt="" coords="7,184,116,211"><area shape="rect" href="a01207.html" title="describes a 4x4 matrix transformation" alt="" coords="1808,285,1982,312"><area shape="rect" href="a00696.html" title="superclass for homogeneous transformations" alt="" coords="1123,301,1315,328"><area shape="rect" href="a00964.html" title="abstract superclass for linear transformations" alt="" coords="1483,184,1624,211"><area shape="rect" href="a01725.html" title="vtkTransformConcatenation" alt="" coords="1123,141,1315,168"><area shape="rect" href="a01730.html" title="vtkTransformPair" alt="" coords="827,172,955,199"><area shape="rect" href="a01548.html" title="vtkSimpleCriticalSection" alt="" coords="210,131,378,157"><area shape="rect" href="a01726.html" title="vtkTransformConcatenationStack" alt="" coords="1442,133,1666,160"><area shape="rect" href="a01723.html" title="describes linear transformations via a 4x4 matrix" alt="" coords="1843,144,1947,171"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="a12454.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> OpenGL camera. <p> <a class="el" href="a01101.html" title="OpenGL camera.">vtkOpenGLCamera</a> is a concrete implementation of the abstract class <a class="el" href="a00227.html" title="a virtual camera for 3D rendering">vtkCamera</a>. <a class="el" href="a01101.html" title="OpenGL camera.">vtkOpenGLCamera</a> interfaces to the OpenGL rendering library. <p>Definition at line <a class="el" href="a05274.html#l00029">29</a> of file <a class="el" href="a05274.html">vtkOpenGLCamera.h</a>.</p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Types</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="a00227.html">vtkCamera</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a01101.html#1e0bf19269fa13bb480a9c72d81e7e27">Superclass</a></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01101.html#e3f6d2f2d53c4019b3cdedec4a19fd57">GetClassName</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="a01101.html#9a649c1a68db4f47df6ada0edcec34d1">IsA</a> (const char *type)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="a01101.html#4460dca3fbddb7b855dcf57e1b69da4b">PrintSelf</a> (ostream &os, <a class="el" href="a00869.html">vtkIndent</a> indent)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a01101.html#52b1c5bb07b352a03f216e59928ccc47">Render</a> (<a class="el" href="a01480.html">vtkRenderer</a> *ren)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a01101.html#190c44ab16a7cce06270c1c9998d720f">UpdateViewport</a> (<a class="el" href="a01480.html">vtkRenderer</a> *ren)</td></tr> <tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a01101.html">vtkOpenGLCamera</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01101.html#cd711bb72e0f659b4d1e18df5c8d4f2e">New</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="a01101.html#8acec2c71b5b46482e34ea5c48859cbe">IsTypeOf</a> (const char *type)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a01101.html">vtkOpenGLCamera</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01101.html#6b14a0b2067433238abedfda33a7c787">SafeDownCast</a> (<a class="el" href="a01084.html">vtkObject</a> *o)</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="a01101.html#5ef7a6020c7f52d47e0b62c927d2a5c9">vtkOpenGLCamera</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a01101.html#bedbe5b32ec9a8dd97f76245ae213c58">~vtkOpenGLCamera</a> ()</td></tr> </table> <hr><h2>Member Typedef Documentation</h2> <a class="anchor" name="1e0bf19269fa13bb480a9c72d81e7e27"></a><!-- doxytag: member="vtkOpenGLCamera::Superclass" ref="1e0bf19269fa13bb480a9c72d81e7e27" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="a00227.html">vtkCamera</a> <a class="el" href="a00227.html">vtkOpenGLCamera::Superclass</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Reimplemented from <a class="el" href="a00227.html#b7ea12a648d274866cabb54e082e55a9">vtkCamera</a>.</p> <p>Definition at line <a class="el" href="a05274.html#l00033">33</a> of file <a class="el" href="a05274.html">vtkOpenGLCamera.h</a>.</p> </div> </div><p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="5ef7a6020c7f52d47e0b62c927d2a5c9"></a><!-- doxytag: member="vtkOpenGLCamera::vtkOpenGLCamera" ref="5ef7a6020c7f52d47e0b62c927d2a5c9" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">vtkOpenGLCamera::vtkOpenGLCamera </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [inline, protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="a05274.html#l00042">42</a> of file <a class="el" href="a05274.html">vtkOpenGLCamera.h</a>.</p> </div> </div><p> <a class="anchor" name="bedbe5b32ec9a8dd97f76245ae213c58"></a><!-- doxytag: member="vtkOpenGLCamera::~vtkOpenGLCamera" ref="bedbe5b32ec9a8dd97f76245ae213c58" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">vtkOpenGLCamera::~vtkOpenGLCamera </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [inline, protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="a05274.html#l00043">43</a> of file <a class="el" href="a05274.html">vtkOpenGLCamera.h</a>.</p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="cd711bb72e0f659b4d1e18df5c8d4f2e"></a><!-- doxytag: member="vtkOpenGLCamera::New" ref="cd711bb72e0f659b4d1e18df5c8d4f2e" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="a01101.html">vtkOpenGLCamera</a>* vtkOpenGLCamera::New </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Construct camera instance with its focal point at the origin, and position=(0,0,1). The view up is along the y-axis, view angle is 30 degrees, and the clipping range is (.1,1000). <p>Reimplemented from <a class="el" href="a00227.html#6fdd40439a3e8ffbed4b64a5144134f4">vtkCamera</a>.</p> </div> </div><p> <a class="anchor" name="e3f6d2f2d53c4019b3cdedec4a19fd57"></a><!-- doxytag: member="vtkOpenGLCamera::GetClassName" ref="e3f6d2f2d53c4019b3cdedec4a19fd57" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual const char* vtkOpenGLCamera::GetClassName </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Reimplemented from <a class="el" href="a00227.html#fde22b80781e77d6a9bef2bee454eff0">vtkCamera</a>.</p> </div> </div><p> <a class="anchor" name="8acec2c71b5b46482e34ea5c48859cbe"></a><!-- doxytag: member="vtkOpenGLCamera::IsTypeOf" ref="8acec2c71b5b46482e34ea5c48859cbe" args="(const char *type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static int vtkOpenGLCamera::IsTypeOf </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>name</em> </td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. <p>Reimplemented from <a class="el" href="a00227.html#693ab36d493ac41464d5d6ddaa58b0ea">vtkCamera</a>.</p> </div> </div><p> <a class="anchor" name="9a649c1a68db4f47df6ada0edcec34d1"></a><!-- doxytag: member="vtkOpenGLCamera::IsA" ref="9a649c1a68db4f47df6ada0edcec34d1" args="(const char *type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual int vtkOpenGLCamera::IsA </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>name</em> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. <p>Reimplemented from <a class="el" href="a00227.html#d26e7d72989cbf5bf93dfb785f5bc6a8">vtkCamera</a>.</p> </div> </div><p> <a class="anchor" name="6b14a0b2067433238abedfda33a7c787"></a><!-- doxytag: member="vtkOpenGLCamera::SafeDownCast" ref="6b14a0b2067433238abedfda33a7c787" args="(vtkObject *o)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="a01101.html">vtkOpenGLCamera</a>* vtkOpenGLCamera::SafeDownCast </td> <td>(</td> <td class="paramtype"><a class="el" href="a01084.html">vtkObject</a> * </td> <td class="paramname"> <em>o</em> </td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Reimplemented from <a class="el" href="a00227.html#d1a708e3063b9b4a29293c7195b3a885">vtkCamera</a>.</p> </div> </div><p> <a class="anchor" name="4460dca3fbddb7b855dcf57e1b69da4b"></a><!-- doxytag: member="vtkOpenGLCamera::PrintSelf" ref="4460dca3fbddb7b855dcf57e1b69da4b" args="(ostream &os, vtkIndent indent)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void vtkOpenGLCamera::PrintSelf </td> <td>(</td> <td class="paramtype">ostream & </td> <td class="paramname"> <em>os</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a00869.html">vtkIndent</a> </td> <td class="paramname"> <em>indent</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use <a class="el" href="a01085.html#edadf6378465fd81c2592ef64262e2a5">Print()</a> instead) but used in the hierarchical print process to combine the output of several classes. <p>Reimplemented from <a class="el" href="a00227.html#9072436e670240883de6cb9e0481910f">vtkCamera</a>.</p> </div> </div><p> <a class="anchor" name="52b1c5bb07b352a03f216e59928ccc47"></a><!-- doxytag: member="vtkOpenGLCamera::Render" ref="52b1c5bb07b352a03f216e59928ccc47" args="(vtkRenderer *ren)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void vtkOpenGLCamera::Render </td> <td>(</td> <td class="paramtype"><a class="el" href="a01480.html">vtkRenderer</a> * </td> <td class="paramname"> <em>ren</em> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Implement base class method. <p>Reimplemented from <a class="el" href="a00227.html#8344a8239fd25db4207d41ec05d9f7d6">vtkCamera</a>.</p> </div> </div><p> <a class="anchor" name="190c44ab16a7cce06270c1c9998d720f"></a><!-- doxytag: member="vtkOpenGLCamera::UpdateViewport" ref="190c44ab16a7cce06270c1c9998d720f" args="(vtkRenderer *ren)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void vtkOpenGLCamera::UpdateViewport </td> <td>(</td> <td class="paramtype"><a class="el" href="a01480.html">vtkRenderer</a> * </td> <td class="paramname"> <em>ren</em> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li>dox/Rendering/<a class="el" href="a05274.html">vtkOpenGLCamera.h</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 19:20:12 2009 for VTK by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> </body> </html>