145 lines
4.9 KiB
HTML
145 lines
4.9 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>class osgUtil::Camera</TITLE>
|
|
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.3">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
|
|
<H2>class <A HREF="#DOC.DOCU">osgUtil::Camera</A>: public osg::Referenced</H2>
|
|
<HR>
|
|
|
|
<H2>Inheritance:</H2>
|
|
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=65>
|
|
<param name=classes value="Mosg::Referenced,M,CCamera,MCamera.html">
|
|
<param name=before value="M,M">
|
|
<param name=after value="Md_,M">
|
|
<param name=indent value="0,1">
|
|
<param name=arrowdir value="down">
|
|
</APPLET>
|
|
<HR>
|
|
|
|
<DL>
|
|
<P><DL>
|
|
<DT><H3>Public Methods</H3><DD><DT>
|
|
<A HREF="#DOC.2.1.11"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A> <B>Camera</B>()
|
|
<DD><I></I>
|
|
<DT>
|
|
<A HREF="#DOC.2.1.12"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A> <B>~Camera</B>()
|
|
<DD><I></I>
|
|
<DT>
|
|
<A HREF="#DOC.2.1.1"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>void <B>draw</B>() const
|
|
<DD><I> Renders the OpenGL to set the view</I>
|
|
<DT>
|
|
<A HREF="#DOC.2.1.2"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>void <B>setView</B>(osg::Vec3 eyePoint, osg::Vec3 lookPoint, osg::Vec3 upVector)
|
|
<DD><I> Set the View, the up vector should be orthogonal to the look vector</I>
|
|
<DT>
|
|
<A HREF="#DOC.2.1.3"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>const osg::Vec3& <B>getEyePoint</B>() const
|
|
<DD><I> get the eyepoint</I>
|
|
<DT>
|
|
<A HREF="#DOC.2.1.4"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>const osg::Vec3& <B>getLookPoint</B>() const
|
|
<DD><I> get the lookpoint</I>
|
|
<DT>
|
|
<A HREF="#DOC.2.1.5"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>const osg::Vec3& <B>getUpVector</B>() const
|
|
<DD><I> which way is up?</I>
|
|
<DT>
|
|
<A HREF="#DOC.2.1.6"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>void <B>setNearPlane</B>(double nearPlane)
|
|
<DD><I> set the near plane</I>
|
|
<DT>
|
|
<A HREF="#DOC.2.1.7"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>double <B>getNearPlane</B>() const
|
|
<DD><I> get the near plane</I>
|
|
<DT>
|
|
<A HREF="#DOC.2.1.8"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>void <B>setFarPlane</B>(double farPlane)
|
|
<DD><I> set the far plane</I>
|
|
<DT>
|
|
<A HREF="#DOC.2.1.9"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>double <B>getFarPlane</B>() const
|
|
<DD><I> get the far plane</I>
|
|
<DT>
|
|
<A HREF="#DOC.2.1.10"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>void <B>home</B>()
|
|
<DD><I> hardwired home view for now, looking straight down the Z axis at the origin, with 'up' being the y axis</I>
|
|
</DL></P>
|
|
|
|
</DL>
|
|
|
|
<A NAME="DOC.DOCU">
|
|
<HR>
|
|
<H2>Documentation</H2>
|
|
<DL>
|
|
|
|
<A NAME="Camera">
|
|
<A NAME="DOC.2.1.11">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> Camera()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="~Camera">
|
|
<A NAME="DOC.2.1.12">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> ~Camera()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="draw">
|
|
<A NAME="DOC.2.1.1">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void draw() const </B></TT>
|
|
<DD>
|
|
Renders the OpenGL to set the view
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setView">
|
|
<A NAME="DOC.2.1.2">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setView(osg::Vec3 eyePoint, osg::Vec3 lookPoint, osg::Vec3 upVector)</B></TT>
|
|
<DD>
|
|
Set the View, the up vector should be orthogonal to the
|
|
look vector
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getEyePoint">
|
|
<A NAME="DOC.2.1.3">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const osg::Vec3& getEyePoint() const </B></TT>
|
|
<DD>
|
|
get the eyepoint
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getLookPoint">
|
|
<A NAME="DOC.2.1.4">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const osg::Vec3& getLookPoint() const </B></TT>
|
|
<DD>
|
|
get the lookpoint
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getUpVector">
|
|
<A NAME="DOC.2.1.5">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const osg::Vec3& getUpVector() const </B></TT>
|
|
<DD>
|
|
which way is up?
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setNearPlane">
|
|
<A NAME="DOC.2.1.6">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setNearPlane(double nearPlane)</B></TT>
|
|
<DD>
|
|
set the near plane
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getNearPlane">
|
|
<A NAME="DOC.2.1.7">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>double getNearPlane() const </B></TT>
|
|
<DD>
|
|
get the near plane
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setFarPlane">
|
|
<A NAME="DOC.2.1.8">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setFarPlane(double farPlane)</B></TT>
|
|
<DD>
|
|
set the far plane
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getFarPlane">
|
|
<A NAME="DOC.2.1.9">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>double getFarPlane() const </B></TT>
|
|
<DD>
|
|
get the far plane
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="home">
|
|
<A NAME="DOC.2.1.10">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void home()</B></TT>
|
|
<DD>
|
|
hardwired home view for now, looking straight down the
|
|
Z axis at the origin, with 'up' being the y axis
|
|
<DL><DT><DD></DL><P></DL>
|
|
|
|
<HR><DL><DT><B>This class has no child classes.</B></DL>
|
|
|
|
<DL><DT><DD></DL><P><I><A HREF="index.html">Alphabetic index</A></I> <I><A HREF="HIER.html">HTML hierarchy of classes</A> or <A HREF="HIERjava.html">Java</A></I><P><HR>
|
|
<BR>
|
|
This page was generated with the help of <A HREF="http://www.linuxsupportline.com/~doc++">DOC++</A>.
|
|
</BODY>
|