191 lines
8.4 KiB
HTML
191 lines
8.4 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>class OSGTEXT_EXPORT osgText::Paragraph</TITLE>
|
|
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.8">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
|
|
<H2>class OSGTEXT_EXPORT <A HREF="#DOC.DOCU">osgText::Paragraph</A></H2></H2><HR>
|
|
|
|
<H2>Inheritance:</H2>
|
|
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=65>
|
|
<param name=classes value="Mosg::Geode,M,CParagraph,MParagraph.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.10.1">Paragraph</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.6.10.2">Paragraph</A></B>(const <!1><A HREF="Paragraph.html#DOC.6.10.2">Paragraph</A>& paragraph, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.6.10.3">Paragraph</A></B>(const osg::Vec3& position, const std::string& text, <!1><A HREF="Font.html">osgText::Font</A>* font)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>META_Node <B><A HREF="#DOC.6.10.4">(Paragraph)</A></B>(<!1><A HREF="Font.html">osgText::Font</A>* font)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Font.html">osgText::Font</A>* <B><A HREF="#DOC.6.10.5">getFont</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="Font.html">osgText::Font</A>* <B><A HREF="#DOC.6.10.6">getFont</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.6.10.7">setMaximumNoCharactersPerLine</A></B>(unsigned int maxCharsPerLine)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const unsigned int <B><A HREF="#DOC.6.10.8">getMaximumNoCharactersPerLine</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.6.10.9">setText</A></B>(const std::string& text)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>std::string& <B><A HREF="#DOC.6.10.10">getText</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const std::string& <B><A HREF="#DOC.6.10.11">getText</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.6.10.12">setPosition</A></B>(const osg::Vec3& position)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const osg::Vec3& <B><A HREF="#DOC.6.10.13">getPosition</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.6.10.14">setAlignment</A></B>(int alignment)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.6.10.15">getAlignment</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.6.10.16">getHeight</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>static bool <B><A HREF="#DOC.6.10.17">createFormatedText</A></B>(unsigned int noCharsPerLine, const std::string& str, std::vector<std::string>& formatedText)
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Fields</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Vec3 <B><A HREF="#DOC.6.10.20">_position</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>std::string <B><A HREF="#DOC.6.10.21">_text</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ref_ptr<<!1><A HREF="Font.html">osgText::Font</A>> <B><A HREF="#DOC.6.10.22">_font</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.6.10.23">_alignment</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>unsigned int <B><A HREF="#DOC.6.10.24">_maxCharsPerLine</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.10.18">~Paragraph</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.6.10.19">createDrawables</A></B>()
|
|
</DL></P>
|
|
|
|
</DL>
|
|
|
|
<A NAME="DOC.DOCU"></A>
|
|
<HR>
|
|
<H2>Documentation</H2>
|
|
<DL>
|
|
|
|
<A NAME="Paragraph"></A>
|
|
<A NAME="DOC.6.10.1"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> Paragraph()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="Paragraph"></A>
|
|
<A NAME="DOC.6.10.2"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> Paragraph(const <!1><A HREF="Paragraph.html#DOC.6.10.2">Paragraph</A>& paragraph, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="Paragraph"></A>
|
|
<A NAME="DOC.6.10.3"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> Paragraph(const osg::Vec3& position, const std::string& text, <!1><A HREF="Font.html">osgText::Font</A>* font)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="(Paragraph)"></A>
|
|
<A NAME="DOC.6.10.4"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>META_Node (Paragraph)(<!1><A HREF="Font.html">osgText::Font</A>* font)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getFont"></A>
|
|
<A NAME="DOC.6.10.5"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Font.html">osgText::Font</A>* getFont()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getFont"></A>
|
|
<A NAME="DOC.6.10.6"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="Font.html">osgText::Font</A>* getFont() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setMaximumNoCharactersPerLine"></A>
|
|
<A NAME="DOC.6.10.7"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setMaximumNoCharactersPerLine(unsigned int maxCharsPerLine)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getMaximumNoCharactersPerLine"></A>
|
|
<A NAME="DOC.6.10.8"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const unsigned int getMaximumNoCharactersPerLine() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setText"></A>
|
|
<A NAME="DOC.6.10.9"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setText(const std::string& text)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getText"></A>
|
|
<A NAME="DOC.6.10.10"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>std::string& getText()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getText"></A>
|
|
<A NAME="DOC.6.10.11"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const std::string& getText() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setPosition"></A>
|
|
<A NAME="DOC.6.10.12"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setPosition(const osg::Vec3& position)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getPosition"></A>
|
|
<A NAME="DOC.6.10.13"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const osg::Vec3& getPosition() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setAlignment"></A>
|
|
<A NAME="DOC.6.10.14"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setAlignment(int alignment)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getAlignment"></A>
|
|
<A NAME="DOC.6.10.15"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int getAlignment()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getHeight"></A>
|
|
<A NAME="DOC.6.10.16"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float getHeight() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="createFormatedText"></A>
|
|
<A NAME="DOC.6.10.17"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>static bool createFormatedText(unsigned int noCharsPerLine, const std::string& str, std::vector<std::string>& formatedText)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="~Paragraph"></A>
|
|
<A NAME="DOC.6.10.18"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual ~Paragraph()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="createDrawables"></A>
|
|
<A NAME="DOC.6.10.19"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void createDrawables()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_position"></A>
|
|
<A NAME="DOC.6.10.20"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Vec3 _position</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_text"></A>
|
|
<A NAME="DOC.6.10.21"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>std::string _text</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_font"></A>
|
|
<A NAME="DOC.6.10.22"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::ref_ptr<<!1><A HREF="Font.html">osgText::Font</A>> _font</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_alignment"></A>
|
|
<A NAME="DOC.6.10.23"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _alignment</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_maxCharsPerLine"></A>
|
|
<A NAME="DOC.6.10.24"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>unsigned int _maxCharsPerLine</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>
|