OpenSceneGraph/doc/doc++/osgText/GlyphTexture.html
Robert Osfield ed10594139 Updated docs
2004-08-06 06:53:36 +00:00

186 lines
8.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>class OSGTEXT_EXPORT osgText::Font::GlyphTexture</TITLE>
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.6">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H2>class OSGTEXT_EXPORT <A HREF="#DOC.DOCU">osgText::Font::GlyphTexture</A></H2></H2><HR>
<H2>Inheritance:</H2>
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=65>
<param name=classes value="Mosg::Texture2D,M,CGlyphTexture,MGlyphTexture.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.6.3.46.1">GlyphTexture</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const char* <B><A HREF="#DOC.6.3.46.2">className</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual int <B><A HREF="#DOC.6.3.46.3">compare</A></B>(const osg::StateAttribute&amp; rhs) const
<DD><I>return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.6.3.46.4">setStateSet</A></B>(osg::StateSet* stateset)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::StateSet* <B><A HREF="#DOC.6.3.46.5">getStateSet</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const osg::StateSet* <B><A HREF="#DOC.6.3.46.6">getStateSet</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.6.3.46.7">setGlyphImageMargin</A></B>(unsigned int margin)
<DD><I>Set the margin around each glyph, to ensure that texture filtering doesn't bleed adjacent glyph's into each other</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>unsigned int <B><A HREF="#DOC.6.3.46.8">getGlyphImageMargin</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.6.3.46.9">getSpaceForGlyph</A></B>(<!1><A HREF="Glyph.html">Glyph</A>* glyph, int&amp; posX, int&amp; posY)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.6.3.46.10">addGlyph</A></B>(<!1><A HREF="Glyph.html">Glyph</A>* glyph, int posX, int posY)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.6.3.46.11">apply</A></B>(osg::State&amp; state) const
</DL></P>
<P><DL>
<DT><H3>Protected Fields</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::StateSet* <B><A HREF="#DOC.6.3.46.13">_stateset</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.6.3.46.14">_margin</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.6.3.46.15">_usedY</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.6.3.46.16">_partUsedX</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.6.3.46.17">_partUsedY</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="GlyphTexture.html#DOC.6.3.46.18">GlyphRefList</A> <B><A HREF="#DOC.6.3.46.21">_glyphs</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>mutable <!1><A HREF="GlyphTexture.html#DOC.6.3.46.20">GlyphBuffer</A> <B><A HREF="#DOC.6.3.46.22">_glyphsToSubload</A></B>
</DL></P>
<P><DL>
<DT><H3>Protected Methods</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual <B><A HREF="#DOC.6.3.46.12">~GlyphTexture</A></B>()
</DL></P>
<P><DL>
<DT><H3>Protected</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef std::vector&lt; osg::ref_ptr&lt;<!1><A HREF="Glyph.html">Glyph</A>&gt; &gt; <B><A HREF="#DOC.6.3.46.18">GlyphRefList</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef std::vector&lt; const <!1><A HREF="Glyph.html">Glyph</A>* &gt; <B><A HREF="#DOC.6.3.46.19">GlyphPtrList</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef osg::buffered_object&lt; <!1><A HREF="GlyphTexture.html#DOC.6.3.46.19">GlyphPtrList</A> &gt; <B><A HREF="#DOC.6.3.46.20">GlyphBuffer</A></B>
</DL></P>
</DL>
<A NAME="DOC.DOCU"></A>
<HR>
<H2>Documentation</H2>
<DL>
<A NAME="GlyphTexture"></A>
<A NAME="DOC.6.3.46.1"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> GlyphTexture()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="className"></A>
<A NAME="DOC.6.3.46.2"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const char* className() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="compare"></A>
<A NAME="DOC.6.3.46.3"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual int compare(const osg::StateAttribute&amp; rhs) const </B></TT>
<DD>return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
<DL><DT><DD></DL><P>
<A NAME="setStateSet"></A>
<A NAME="DOC.6.3.46.4"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setStateSet(osg::StateSet* stateset)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getStateSet"></A>
<A NAME="DOC.6.3.46.5"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::StateSet* getStateSet()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getStateSet"></A>
<A NAME="DOC.6.3.46.6"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const osg::StateSet* getStateSet() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="setGlyphImageMargin"></A>
<A NAME="DOC.6.3.46.7"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setGlyphImageMargin(unsigned int margin)</B></TT>
<DD>Set the margin around each glyph, to ensure that texture filtering doesn't bleed adjacent glyph's into each other
<DL><DT><DD></DL><P>
<A NAME="getGlyphImageMargin"></A>
<A NAME="DOC.6.3.46.8"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>unsigned int getGlyphImageMargin() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="getSpaceForGlyph"></A>
<A NAME="DOC.6.3.46.9"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool getSpaceForGlyph(<!1><A HREF="Glyph.html">Glyph</A>* glyph, int&amp; posX, int&amp; posY)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="addGlyph"></A>
<A NAME="DOC.6.3.46.10"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void addGlyph(<!1><A HREF="Glyph.html">Glyph</A>* glyph, int posX, int posY)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="apply"></A>
<A NAME="DOC.6.3.46.11"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void apply(osg::State&amp; state) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="~GlyphTexture"></A>
<A NAME="DOC.6.3.46.12"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual ~GlyphTexture()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_stateset"></A>
<A NAME="DOC.6.3.46.13"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::StateSet* _stateset</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_margin"></A>
<A NAME="DOC.6.3.46.14"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _margin</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_usedY"></A>
<A NAME="DOC.6.3.46.15"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _usedY</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_partUsedX"></A>
<A NAME="DOC.6.3.46.16"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _partUsedX</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_partUsedY"></A>
<A NAME="DOC.6.3.46.17"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _partUsedY</B></TT>
<DL><DT><DD></DL><P>
<A NAME="GlyphRefList"></A>
<A NAME="DOC.6.3.46.18"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::vector&lt; osg::ref_ptr&lt;<!1><A HREF="Glyph.html">Glyph</A>&gt; &gt; GlyphRefList</B></TT>
<DL><DT><DD></DL><P>
<A NAME="GlyphPtrList"></A>
<A NAME="DOC.6.3.46.19"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::vector&lt; const <!1><A HREF="Glyph.html">Glyph</A>* &gt; GlyphPtrList</B></TT>
<DL><DT><DD></DL><P>
<A NAME="GlyphBuffer"></A>
<A NAME="DOC.6.3.46.20"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef osg::buffered_object&lt; <!1><A HREF="GlyphTexture.html#DOC.6.3.46.19">GlyphPtrList</A> &gt; GlyphBuffer</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_glyphs"></A>
<A NAME="DOC.6.3.46.21"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="GlyphTexture.html#DOC.6.3.46.18">GlyphRefList</A> _glyphs</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_glyphsToSubload"></A>
<A NAME="DOC.6.3.46.22"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>mutable <!1><A HREF="GlyphTexture.html#DOC.6.3.46.20">GlyphBuffer</A> _glyphsToSubload</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://www.linuxsupportline.com/~doc++">DOC++</A>.
</BODY>
</HTML>