ac2bdbda30
2) cleaned up osg::Timer, still in progress. My intent has been to pave the way for support for other OS's. 3) new osg::FrameStamp class which has a frame number, reference time for each frame to be app, culled and drawn. The FrameStamp also can be passed to other machines (i.e. cluster) and the FrameStamp can be used with the slaves own app,cull and draw. I've also added the beginings of a calander time data to the FrameStamp to allow time or day and year to be used in setting up position of sun/moon etc. etc. 4) The osg::State now has contains a pointer to the last applied osg::Camera and the current osg::FrameStamp, so that drawables can use both pieces of information for creating effects such CLOD, earth/sky etc. The osg::NodeVisitor also now allows you to attach a FrameStamp to support syncronization of actions on the scene graph.
193 lines
7.5 KiB
HTML
193 lines
7.5 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>class SG_EXPORT osg::FrameStamp</TITLE>
|
|
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.8">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
|
|
<H2>class SG_EXPORT <A HREF="#DOC.DOCU">osg::FrameStamp</A></H2></H2><BLOCKQUOTE>Class which encapsulates the frame number, reference time and calander time of specific frame, used to synchonize operations on the scene graph and other machines when using a graphics cluster.</BLOCKQUOTE>
|
|
<HR>
|
|
|
|
<H2>Inheritance:</H2>
|
|
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=65>
|
|
<param name=classes value="CReferenced,MReferenced.html,CFrameStamp,MFrameStamp.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>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.28.1">FrameStamp</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.28.2">FrameStamp</A></B>(const <!1><A HREF="FrameStamp.html#DOC.2.28.2">FrameStamp</A>& fs)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.28.3">~FrameStamp</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="FrameStamp.html">FrameStamp</A>& <B><A HREF="#DOC.2.28.4">operator = </A></B>(const <!1><A HREF="FrameStamp.html">FrameStamp</A>& fs)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.28.5">setFrameNumber</A></B>(int fnum)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.28.6">getFrameNumber</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.28.7">setReferenceTime</A></B>(double refTime)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>double <B><A HREF="#DOC.2.28.8">getReferenceTime</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.28.9">setCalanderTime</A></B>(const tm& calanderTime)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.28.10">getCalanderTime</A></B>(tm& calanderTime) const
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Fields</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.28.11">_frameNumber</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>double <B><A HREF="#DOC.2.28.12">_referenceTime</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.28.13">tm_sec</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.28.14">tm_min</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.28.15">tm_hour</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.28.16">tm_mday</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.28.17">tm_mon</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.28.18">tm_year</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.28.19">tm_wday</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.28.20">tm_yday</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.28.21">tm_isdst</A></B>
|
|
</DL></P>
|
|
|
|
</DL>
|
|
<HR><H3>Inherited from <A HREF="Referenced.html">Referenced</A>:</H3>
|
|
<DL>
|
|
<P><DL>
|
|
<DT><H3>Public Methods</H3><DD><DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline void <B>ref</B>() const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline void <B>unref</B>() const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline const int <B>referenceCount</B>() const
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Fields</H3><DD><DT>
|
|
<IMG ALT="o" SRC=icon2.gif>mutable int <B>_refCount</B>
|
|
</DL></P>
|
|
|
|
</DL>
|
|
|
|
<A NAME="DOC.DOCU"></A>
|
|
<HR>
|
|
<H2>Documentation</H2>
|
|
<BLOCKQUOTE>Class which encapsulates the frame number, reference time and calander
|
|
time of specific frame, used to synchonize operations on the scene graph
|
|
and other machines when using a graphics cluster. Note the calander
|
|
time can be an artificial simulation time or capture the real time
|
|
of day etc.</BLOCKQUOTE>
|
|
<DL>
|
|
|
|
<A NAME="FrameStamp"></A>
|
|
<A NAME="DOC.2.28.1"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> FrameStamp()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="FrameStamp"></A>
|
|
<A NAME="DOC.2.28.2"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> FrameStamp(const <!1><A HREF="FrameStamp.html#DOC.2.28.2">FrameStamp</A>& fs)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="~FrameStamp"></A>
|
|
<A NAME="DOC.2.28.3"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> ~FrameStamp()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="operator = "></A>
|
|
<A NAME="DOC.2.28.4"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="FrameStamp.html">FrameStamp</A>& operator = (const <!1><A HREF="FrameStamp.html">FrameStamp</A>& fs)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setFrameNumber"></A>
|
|
<A NAME="DOC.2.28.5"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setFrameNumber(int fnum)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getFrameNumber"></A>
|
|
<A NAME="DOC.2.28.6"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int getFrameNumber() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setReferenceTime"></A>
|
|
<A NAME="DOC.2.28.7"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setReferenceTime(double refTime)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getReferenceTime"></A>
|
|
<A NAME="DOC.2.28.8"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>double getReferenceTime() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setCalanderTime"></A>
|
|
<A NAME="DOC.2.28.9"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setCalanderTime(const tm& calanderTime)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getCalanderTime"></A>
|
|
<A NAME="DOC.2.28.10"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void getCalanderTime(tm& calanderTime) const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_frameNumber"></A>
|
|
<A NAME="DOC.2.28.11"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _frameNumber</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_referenceTime"></A>
|
|
<A NAME="DOC.2.28.12"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>double _referenceTime</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="tm_sec"></A>
|
|
<A NAME="DOC.2.28.13"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int tm_sec</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="tm_min"></A>
|
|
<A NAME="DOC.2.28.14"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int tm_min</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="tm_hour"></A>
|
|
<A NAME="DOC.2.28.15"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int tm_hour</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="tm_mday"></A>
|
|
<A NAME="DOC.2.28.16"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int tm_mday</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="tm_mon"></A>
|
|
<A NAME="DOC.2.28.17"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int tm_mon</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="tm_year"></A>
|
|
<A NAME="DOC.2.28.18"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int tm_year</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="tm_wday"></A>
|
|
<A NAME="DOC.2.28.19"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int tm_wday</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="tm_yday"></A>
|
|
<A NAME="DOC.2.28.20"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int tm_yday</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="tm_isdst"></A>
|
|
<A NAME="DOC.2.28.21"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int tm_isdst</B></TT>
|
|
<DL><DT><DD></DL><P></DL>
|
|
|
|
<HR><DL><DT><B>This class has no child classes.</B></DL>
|
|
|
|
<DL><DT><DD></DL><P><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://docpp.sourceforge.net">DOC++</A>.
|
|
</BODY>
|
|
</HTML>
|