395 lines
17 KiB
HTML
395 lines
17 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>class SG_EXPORT osg::Billboard</TITLE>
|
|
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.3">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
|
|
<H2>class SG_EXPORT <A HREF="#DOC.DOCU">osg::Billboard</A>: public <!1><A HREF="Geode.html#DOC.2.17.10">Geode</A></H2>
|
|
<BLOCKQUOTE>Billboard - a Geode which orientates its child osg::GeoSet's to face the eye point.</BLOCKQUOTE>
|
|
<HR>
|
|
|
|
<H2>Inheritance:</H2>
|
|
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=155>
|
|
<param name=classes value="CReferenced,MReferenced.html,CObject,MObject.html,CNode,MNode.html,CGeode,MGeode.html,CBillboard,MBillboard.html">
|
|
<param name=before value="M,M,M,M,M">
|
|
<param name=after value="Md_SPSPSP,Md_SPSP,Md_SP,Md_,M">
|
|
<param name=indent value="0,1,2,3,4">
|
|
<param name=arrowdir value="down">
|
|
</APPLET>
|
|
<HR>
|
|
|
|
<DL>
|
|
<P><DL>
|
|
<DT><H3>Public Classes</H3><DD><DT>
|
|
<A HREF="#DOC.2.2.1"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>enum <B>Mode</B>
|
|
<DD><I></I>
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Public Methods</H3><DD><DT>
|
|
<A HREF="#DOC.2.2.5"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A> <B>Billboard</B>()
|
|
<DD><I></I>
|
|
<DT>
|
|
<A HREF="#DOC.2.2.6"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>virtual <!1><A HREF="Object.html#DOC.2.36.1">Object</A>* <B>clone</B>() const
|
|
<DD><I></I>
|
|
<DT>
|
|
<A HREF="#DOC.2.2.7"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>virtual bool <B>isSameKindAs</B>(<!1><A HREF="Object.html#DOC.2.36.1">Object</A>* obj)
|
|
<DD><I></I>
|
|
<DT>
|
|
<A HREF="#DOC.2.2.8"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>virtual const char* <B>className</B>() const
|
|
<DD><I></I>
|
|
<DT>
|
|
<A HREF="#DOC.2.2.9"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>virtual void <B>accept</B>(<!1><A HREF="NodeVisitor.html">NodeVisitor</A>& nv)
|
|
<DD><I></I>
|
|
<DT>
|
|
<A HREF="#DOC.2.2.10"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>void <B>setAxis</B>(const <!1><A HREF="Vec3.html">Vec3</A>& axis)
|
|
<DD><I></I>
|
|
<DT>
|
|
<A HREF="#DOC.2.2.11"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>void <B>getAxis</B>(<!1><A HREF="Vec3.html">Vec3</A>& axis) const
|
|
<DD><I></I>
|
|
<DT>
|
|
<A HREF="#DOC.2.2.12"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>void <B>setMode</B>(<!1><A HREF="Billboard.html#DOC.2.2.1">Mode</A> mode)
|
|
<DD><I></I>
|
|
<DT>
|
|
<A HREF="#DOC.2.2.13"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>int <B>getMode</B>() const
|
|
<DD><I></I>
|
|
<DT>
|
|
<A HREF="#DOC.2.2.14"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>void <B>setPos</B>(int i, const <!1><A HREF="Vec3.html">Vec3</A>& pos)
|
|
<DD><I></I>
|
|
<DT>
|
|
<A HREF="#DOC.2.2.15"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>void <B>getPos</B>(int i, <!1><A HREF="Vec3.html">Vec3</A>& pos) const
|
|
<DD><I></I>
|
|
<DT>
|
|
<A HREF="#DOC.2.2.2"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>virtual bool <B>addGeoSet</B>( <!1><A HREF="GeoSet.html">GeoSet</A> *gset )
|
|
<DD><I>Add GeoSet to Billboard with default position(0,0,0); If gset not NULL and is not contained in Billboard then increment its reference count, and dirty the bounding box to cause it to recompute on next getBound() and return true for success.</I>
|
|
<DT>
|
|
<A HREF="#DOC.2.2.3"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>virtual bool <B>addGeoSet</B>(<!1><A HREF="GeoSet.html">GeoSet</A> *gset, const <!1><A HREF="Vec3.html">Vec3</A>& pos)
|
|
<DD><I>Add GeoSet to Geode at position pos.</I>
|
|
<DT>
|
|
<A HREF="#DOC.2.2.4"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>virtual bool <B>removeGeoSet</B>( <!1><A HREF="GeoSet.html">GeoSet</A> *gset )
|
|
<DD><I>Remove GeoSet and associated position from Billboard.</I>
|
|
<DT>
|
|
<A HREF="#DOC.2.2.16"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>void <B>calcRotation</B>(const <!1><A HREF="Vec3.html">Vec3</A>& eye_local, const <!1><A HREF="Vec3.html">Vec3</A>& pos_local, <!1><A HREF="Matrix.html">Matrix</A>& mat)
|
|
<DD><I></I>
|
|
<DT>
|
|
<A HREF="#DOC.2.2.17"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>void <B>calcTransform</B>(const <!1><A HREF="Vec3.html">Vec3</A>& eye_local, const <!1><A HREF="Vec3.html">Vec3</A>& pos_local, <!1><A HREF="Matrix.html">Matrix</A>& mat)
|
|
<DD><I></I>
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Fields</H3><DD><DT>
|
|
<A HREF="#DOC.2.2.23"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A><!1><A HREF="Billboard.html#DOC.2.2.1">Mode</A> <B>_mode</B>
|
|
<DD><I></I>
|
|
<DT>
|
|
<A HREF="#DOC.2.2.24"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A><!1><A HREF="Vec3.html">Vec3</A> <B>_axis</B>
|
|
<DD><I></I>
|
|
<DT>
|
|
<A HREF="#DOC.2.2.25"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A><!1><A HREF="Billboard.html#DOC.2.2.22">PositionList</A> <B>_positionList</B>
|
|
<DD><I></I>
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Methods</H3><DD><DT>
|
|
<A HREF="#DOC.2.2.18"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>virtual <B>~Billboard</B>()
|
|
<DD><I></I>
|
|
<DT>
|
|
<A HREF="#DOC.2.2.19"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>virtual bool <B>readLocalData</B>(<!1><A HREF="Input.html">Input</A>& fr)
|
|
<DD><I></I>
|
|
<DT>
|
|
<A HREF="#DOC.2.2.20"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>virtual bool <B>writeLocalData</B>(<!1><A HREF="Output.html">Output</A>& fw)
|
|
<DD><I></I>
|
|
<DT>
|
|
<A HREF="#DOC.2.2.21"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>virtual bool <B>computeBound</B>( void )
|
|
<DD><I></I>
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected</H3><DD><DT>
|
|
<A HREF="#DOC.2.2.22"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>typedef std::vector<<!1><A HREF="Vec3.html">Vec3</A>> <B>PositionList</B>
|
|
<DD><I></I>
|
|
</DL></P>
|
|
|
|
</DL>
|
|
<HR><H3>Inherited from <A HREF="Geode.html">Geode</A>:</H3>
|
|
<DL>
|
|
<P><DL>
|
|
<DT><H3>Public Methods</H3><DD><DT>
|
|
<IMG ALT="o" SRC=icon2.gif>virtual bool <B>replaceGeoSet</B>( <!1><A HREF="GeoSet.html">GeoSet</A> *origGset, <!1><A HREF="GeoSet.html">GeoSet</A> *newGset )
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>int <B>getNumGeosets</B>( void ) const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="GeoSet.html">GeoSet</A>* <B>getGeoSet</B>( int i )
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>bool <B>containsGeoSet</B>( <!1><A HREF="GeoSet.html">GeoSet</A>* gset)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>GeoSetList::iterator <B>findGeoSet</B>( <!1><A HREF="GeoSet.html">GeoSet</A>* gset)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>void <B>compileGeoSets</B>( void )
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Public</H3><DD><DT>
|
|
<IMG ALT="o" SRC=icon2.gif>typedef std::vector< <!1><A HREF="ref_ptr.html">ref_ptr</A><<!1><A HREF="GeoSet.html">GeoSet</A>> > <B>GeoSetList</B>
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Fields</H3><DD><DT>
|
|
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="Geode.html#DOC.2.17.9">GeoSetList</A> <B>_geosets</B>
|
|
</DL></P>
|
|
|
|
</DL>
|
|
<HR><H3>Inherited from <A HREF="Node.html">Node</A>:</H3>
|
|
<DL>
|
|
<P><DL>
|
|
<DT><H3>Public Methods</H3><DD><DT>
|
|
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="Node.html#DOC.2.30.1">Node</A>* <B>cloneNode</B>() const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>virtual void <B>ascend</B>(<!1><A HREF="NodeVisitor.html">NodeVisitor</A>& nv)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>virtual void <B>traverse</B>(<!1><A HREF="NodeVisitor.html">NodeVisitor</A>& )
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>void <B>setName</B>( const std::string& name )
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>void <B>setName</B>( const char* name )
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>const std::string& <B>getName</B>( void )
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>const <!1><A HREF="Node.html#DOC.2.30.12">ParentList</A>& <B>getParents</B>() const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="Node.html#DOC.2.30.39">Group</A>* <B>getParent</B>(int i) const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>int <B>getNumParents</B>() const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>void <B>setUserData</B>(void* data, <!1><A HREF="MemoryAdapter.html">MemoryAdapter</A>* ma=0L)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>void* <B>getUserData</B>() const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="MemoryAdapter.html">MemoryAdapter</A>* <B>getMemoryAdapter</B>() const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>void <B>setNodeMask</B>(<!1><A HREF="Node.html#DOC.2.30.34">NodeMask</A> nm)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="Node.html#DOC.2.30.34">NodeMask</A> <B>getNodeMask</B>()
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>const <!1><A HREF="Node.html#DOC.2.30.21">DescriptionList</A>& <B>getDescriptions</B>() const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="Node.html#DOC.2.30.21">DescriptionList</A>& <B>getDescriptions</B>()
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>const std::string& <B>getDescription</B>(int i) const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>std::string& <B>getDescription</B>(int i)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>int <B>getNumDescriptions</B>() const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>void <B>addDescription</B>(const std::string& desc)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>const <!1><A HREF="BoundingSphere.html">BoundingSphere</A>& <B>getBound</B>()
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>void <B>dirtyBound</B>()
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Public</H3><DD><DT>
|
|
<IMG ALT="o" SRC=icon2.gif>typedef std::vector<<!1><A HREF="Node.html#DOC.2.30.39">Group</A>*> <B>ParentList</B>
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>typedef unsigned int <B>NodeMask</B>
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>typedef std::vector<std::string> <B>DescriptionList</B>
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Fields</H3><DD><DT>
|
|
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="BoundingSphere.html">BoundingSphere</A> <B>_bsphere</B>
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>bool <B>_bsphere_computed</B>
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>std::string <B>_name</B>
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="Node.html#DOC.2.30.12">ParentList</A> <B>_parents</B>
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>friend <B>Group</B>
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>void* <B>_userData</B>
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="ref_ptr.html">ref_ptr</A><<!1><A HREF="MemoryAdapter.html">MemoryAdapter</A>> <B>_memoryAdapter</B>
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="Node.html#DOC.2.30.34">NodeMask</A> <B>_nodeMask</B>
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="Node.html#DOC.2.30.21">DescriptionList</A> <B>_descriptions</B>
|
|
</DL></P>
|
|
|
|
</DL>
|
|
<HR><H3>Inherited from <A HREF="Object.html">Object</A>:</H3>
|
|
<DL>
|
|
<P><DL>
|
|
<DT><H3>Public Methods</H3><DD><DT>
|
|
<IMG ALT="o" SRC=icon2.gif>virtual <!1><A HREF="Object.html#DOC.2.36.1">Object</A>* <B>readClone</B>(<!1><A HREF="Input.html">Input</A>& fr)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>virtual bool <B>write</B>(<!1><A HREF="Output.html">Output</A>& fw)
|
|
</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><!1><A HREF="Referenced.html#DOC.2.43.4">Referenced</A>& <B>operator = </B>(<!1><A HREF="Referenced.html#DOC.2.43.4">Referenced</A>&)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>void <B>ref</B>()
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>void <B>unref</B>()
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>int <B>referenceCount</B>()
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Fields</H3><DD><DT>
|
|
<IMG ALT="o" SRC=icon2.gif>int <B>_refCount</B>
|
|
</DL></P>
|
|
|
|
</DL>
|
|
|
|
<A NAME="DOC.DOCU">
|
|
<HR>
|
|
<H2>Documentation</H2>
|
|
<BLOCKQUOTE>Billboard - a Geode which orientates its child osg::GeoSet's to face
|
|
the eye point.
|
|
Typical uses are for trees, or particle explosions.</BLOCKQUOTE>
|
|
<DL>
|
|
|
|
<A NAME="Mode">
|
|
<A NAME="DOC.2.2.1">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>enum Mode</B></TT>
|
|
<DL><DT><DD></DL><P><DL>
|
|
|
|
<A NAME="AXIAL_ROT">
|
|
<A NAME="DOC.2.2.1.1">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> AXIAL_ROT</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="POINT_ROT_EYE">
|
|
<A NAME="DOC.2.2.1.2">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> POINT_ROT_EYE</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="POINT_ROT_WORLD">
|
|
<A NAME="DOC.2.2.1.3">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> POINT_ROT_WORLD</B></TT>
|
|
<DL><DT><DD></DL><P></DL>
|
|
|
|
<A NAME="Billboard">
|
|
<A NAME="DOC.2.2.5">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> Billboard()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="clone">
|
|
<A NAME="DOC.2.2.6">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual <!1><A HREF="Object.html#DOC.2.36.1">Object</A>* clone() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="isSameKindAs">
|
|
<A NAME="DOC.2.2.7">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual bool isSameKindAs(<!1><A HREF="Object.html#DOC.2.36.1">Object</A>* obj)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="className">
|
|
<A NAME="DOC.2.2.8">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual const char* className() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="accept">
|
|
<A NAME="DOC.2.2.9">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void accept(<!1><A HREF="NodeVisitor.html">NodeVisitor</A>& nv)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setAxis">
|
|
<A NAME="DOC.2.2.10">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setAxis(const <!1><A HREF="Vec3.html">Vec3</A>& axis)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getAxis">
|
|
<A NAME="DOC.2.2.11">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void getAxis(<!1><A HREF="Vec3.html">Vec3</A>& axis) const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setMode">
|
|
<A NAME="DOC.2.2.12">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setMode(<!1><A HREF="Billboard.html#DOC.2.2.1">Mode</A> mode)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getMode">
|
|
<A NAME="DOC.2.2.13">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int getMode() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setPos">
|
|
<A NAME="DOC.2.2.14">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setPos(int i, const <!1><A HREF="Vec3.html">Vec3</A>& pos)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getPos">
|
|
<A NAME="DOC.2.2.15">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void getPos(int i, <!1><A HREF="Vec3.html">Vec3</A>& pos) const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="addGeoSet">
|
|
<A NAME="DOC.2.2.2">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual bool addGeoSet( <!1><A HREF="GeoSet.html">GeoSet</A> *gset )</B></TT>
|
|
<DD>Add GeoSet to Billboard with default position(0,0,0);
|
|
If gset not NULL and is not contained in Billboard then increment its
|
|
reference count, and dirty the bounding box to cause it to recompute on
|
|
next getBound() and return true for success. Otherwise return false.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="addGeoSet">
|
|
<A NAME="DOC.2.2.3">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual bool addGeoSet(<!1><A HREF="GeoSet.html">GeoSet</A> *gset, const <!1><A HREF="Vec3.html">Vec3</A>& pos)</B></TT>
|
|
<DD>Add GeoSet to Geode at position pos.
|
|
If gset not NULL and is not contained in Billboard then increment its
|
|
reference count, and dirty the bounding box to cause it to recompute on
|
|
next getBound() and return true for success. Otherwise return false.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="removeGeoSet">
|
|
<A NAME="DOC.2.2.4">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual bool removeGeoSet( <!1><A HREF="GeoSet.html">GeoSet</A> *gset )</B></TT>
|
|
<DD>Remove GeoSet and associated position from Billboard.
|
|
If gset is contained in Billboard then remove it from the geoset
|
|
list and decrement its reference count, and dirty the
|
|
bounding box to cause it to recompute on next getBound() and
|
|
return true for success. If gset is not found then return false
|
|
and do not the reference count of gset is left unchanged.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="calcRotation">
|
|
<A NAME="DOC.2.2.16">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void calcRotation(const <!1><A HREF="Vec3.html">Vec3</A>& eye_local, const <!1><A HREF="Vec3.html">Vec3</A>& pos_local, <!1><A HREF="Matrix.html">Matrix</A>& mat)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="calcTransform">
|
|
<A NAME="DOC.2.2.17">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void calcTransform(const <!1><A HREF="Vec3.html">Vec3</A>& eye_local, const <!1><A HREF="Vec3.html">Vec3</A>& pos_local, <!1><A HREF="Matrix.html">Matrix</A>& mat)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="~Billboard">
|
|
<A NAME="DOC.2.2.18">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual ~Billboard()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="readLocalData">
|
|
<A NAME="DOC.2.2.19">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual bool readLocalData(<!1><A HREF="Input.html">Input</A>& fr)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="writeLocalData">
|
|
<A NAME="DOC.2.2.20">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual bool writeLocalData(<!1><A HREF="Output.html">Output</A>& fw)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="computeBound">
|
|
<A NAME="DOC.2.2.21">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual bool computeBound( void )</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="PositionList">
|
|
<A NAME="DOC.2.2.22">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::vector<<!1><A HREF="Vec3.html">Vec3</A>> PositionList</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_mode">
|
|
<A NAME="DOC.2.2.23">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Billboard.html#DOC.2.2.1">Mode</A> _mode</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_axis">
|
|
<A NAME="DOC.2.2.24">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Vec3.html">Vec3</A> _axis</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_positionList">
|
|
<A NAME="DOC.2.2.25">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Billboard.html#DOC.2.2.22">PositionList</A> _positionList</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><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>
|