OpenSceneGraph/doc/doc++/osgDB/Input.html

208 lines
9.0 KiB
HTML
Raw Normal View History

2003-04-18 00:22:51 +08:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>class OSGDB_EXPORT osgDB::Input</TITLE>
2004-08-06 14:53:36 +08:00
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.6">
2003-04-18 00:22:51 +08:00
</HEAD>
<BODY BGCOLOR="#ffffff">
<H2>class OSGDB_EXPORT <A HREF="#DOC.DOCU">osgDB::Input</A></H2></H2><BLOCKQUOTE>Class for managing the reading of ASCII osg files</BLOCKQUOTE>
<HR>
<H2>Inheritance:</H2>
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=65>
<param name=classes value="CFieldReaderIterator,MFieldReaderIterator.html,CInput,MInput.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>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.34.1">Input</A></B>()
2003-04-18 00:22:51 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual <B><A HREF="#DOC.2.34.2">~Input</A></B>()
2003-04-18 00:22:51 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osg::Object* <B><A HREF="#DOC.2.34.3">readObjectOfType</A></B>(const osg::Object&amp; compObj)
2003-04-18 00:22:51 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osg::Object* <B><A HREF="#DOC.2.34.4">readObjectOfType</A></B>(const <!1><A HREF="basic_type_wrapper.html">basic_type_wrapper</A> &amp;btw)
2003-04-18 00:22:51 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osg::Object* <B><A HREF="#DOC.2.34.5">readObject</A></B>()
2003-04-18 00:22:51 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osg::Image* <B><A HREF="#DOC.2.34.6">readImage</A></B>()
2003-04-18 00:22:51 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osg::Drawable* <B><A HREF="#DOC.2.34.7">readDrawable</A></B>()
2003-04-18 00:22:51 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osg::StateAttribute* <B><A HREF="#DOC.2.34.8">readStateAttribute</A></B>()
2003-04-18 00:22:51 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osg::Node* <B><A HREF="#DOC.2.34.9">readNode</A></B>()
2003-04-18 00:22:51 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osg::Object* <B><A HREF="#DOC.2.34.10">readObject</A></B>(const std::string&amp; fileName)
2003-04-18 00:22:51 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osg::Image* <B><A HREF="#DOC.2.34.11">readImage</A></B>(const std::string&amp; fileName)
2003-04-18 00:22:51 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osg::Node* <B><A HREF="#DOC.2.34.12">readNode</A></B>(const std::string&amp; fileName)
2003-04-18 00:22:51 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osg::Object* <B><A HREF="#DOC.2.34.13">getObjectForUniqueID</A></B>(const std::string&amp; uniqueID)
2003-07-23 19:27:31 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.34.14">regisiterUniqueIDForObject</A></B>(const std::string&amp; uniqueID, osg::Object* obj)
2003-04-18 00:22:51 +08:00
</DL></P>
</DL>
<HR><H3>Inherited from <A HREF="FieldReaderIterator.html">FieldReaderIterator</A>:</H3>
<DL>
2004-08-06 14:53:36 +08:00
<P><DL>
<DT><H3>Public Classes</H3><DD><DT>
<IMG ALT="o" SRC=icon2.gif>enum <B></B>
</DL></P>
2003-04-18 00:22:51 +08:00
<P><DL>
<DT><H3>Public Methods</H3><DD><DT>
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="FieldReaderIterator.html">FieldReaderIterator</A>&amp; <B>operator = </B>(const <!1><A HREF="FieldReaderIterator.html">FieldReaderIterator</A>&amp; ic)
<DT>
<IMG ALT="o" SRC=icon2.gif>void <B>attach</B>(std::istream* input)
<DT>
<IMG ALT="o" SRC=icon2.gif>void <B>detach</B>()
<DT>
<IMG ALT="o" SRC=icon2.gif>virtual bool <B>eof</B>() const
<DT>
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="FieldReader.html">FieldReader</A>&amp; <B>getFieldReader</B>()
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="o" SRC=icon2.gif>void <B>insert</B>(int pos, <!1><A HREF="Field.html">Field</A>* <!1><A HREF="FieldReaderIterator.html#DOC.2.7.13">field</A>)
2003-04-18 00:22:51 +08:00
<DT>
<IMG ALT="o" SRC=icon2.gif>void <B>insert</B>(int pos, const char* str)
<DT>
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="Field.html">Field</A>&amp; <B>operator [] </B>(int pos)
<DT>
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="Field.html">Field</A>&amp; <B>field</B>(int pos)
<DT>
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="FieldReaderIterator.html">FieldReaderIterator</A>&amp; <B>operator ++ </B>()
<DT>
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="FieldReaderIterator.html">FieldReaderIterator</A>&amp; <B>operator += </B>(int no)
<DT>
<IMG ALT="o" SRC=icon2.gif>void <B>advanceOverCurrentFieldOrBlock</B>()
<DT>
<IMG ALT="o" SRC=icon2.gif>void <B>advanceToEndOfCurrentBlock</B>()
<DT>
<IMG ALT="o" SRC=icon2.gif>void <B>advanceToEndOfBlock</B>(int noNestBrackets)
<DT>
<IMG ALT="o" SRC=icon2.gif>bool <B>matchSequence</B>(const char* str)
<DT>
<IMG ALT="o" SRC=icon2.gif>bool <B>readSequence</B>(const char* keyword, std::string&amp; value)
<DT>
<IMG ALT="o" SRC=icon2.gif>bool <B>readSequence</B>(const char* keyword, unsigned int&amp; value)
<DT>
<IMG ALT="o" SRC=icon2.gif>bool <B>readSequence</B>(const char* keyword, int&amp; value)
<DT>
<IMG ALT="o" SRC=icon2.gif>bool <B>readSequence</B>(const char* keyword, float&amp; value)
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="o" SRC=icon2.gif>bool <B>readSequence</B>(const char* keyword, osg::Vec2f&amp; value)
<DT>
<IMG ALT="o" SRC=icon2.gif>bool <B>readSequence</B>(const char* keyword, osg::Vec3f&amp; value)
<DT>
<IMG ALT="o" SRC=icon2.gif>bool <B>readSequence</B>(const char* keyword, osg::Vec4f&amp; value)
<DT>
<IMG ALT="o" SRC=icon2.gif>bool <B>readSequence</B>(const char* keyword, osg::Vec2d&amp; value)
2003-04-18 00:22:51 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="o" SRC=icon2.gif>bool <B>readSequence</B>(const char* keyword, osg::Vec3d&amp; value)
2003-04-18 00:22:51 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="o" SRC=icon2.gif>bool <B>readSequence</B>(const char* keyword, osg::Vec4d&amp; value)
2003-04-18 00:22:51 +08:00
<DT>
<IMG ALT="o" SRC=icon2.gif>bool <B>readSequence</B>(std::string&amp; value)
<DT>
<IMG ALT="o" SRC=icon2.gif>bool <B>readSequence</B>(unsigned int&amp; value)
<DT>
<IMG ALT="o" SRC=icon2.gif>bool <B>readSequence</B>(int&amp; value)
<DT>
<IMG ALT="o" SRC=icon2.gif>bool <B>readSequence</B>(float&amp; value)
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="o" SRC=icon2.gif>bool <B>readSequence</B>(osg::Vec2f&amp; value)
2003-04-18 00:22:51 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="o" SRC=icon2.gif>bool <B>readSequence</B>(osg::Vec3f&amp; value)
2003-04-18 00:22:51 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="o" SRC=icon2.gif>bool <B>readSequence</B>(osg::Vec4f&amp; value)
<DT>
<IMG ALT="o" SRC=icon2.gif>bool <B>readSequence</B>(osg::Vec2d&amp; value)
<DT>
<IMG ALT="o" SRC=icon2.gif>bool <B>readSequence</B>(osg::Vec3d&amp; value)
<DT>
<IMG ALT="o" SRC=icon2.gif>bool <B>readSequence</B>(osg::Vec4d&amp; value)
2003-04-18 00:22:51 +08:00
</DL></P>
</DL>
<A NAME="DOC.DOCU"></A>
<HR>
<H2>Documentation</H2>
<BLOCKQUOTE>Class for managing the reading of ASCII osg files</BLOCKQUOTE>
<DL>
<A NAME="Input"></A>
2004-08-06 14:53:36 +08:00
<A NAME="DOC.2.34.1"></A>
2003-04-18 00:22:51 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> Input()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="~Input"></A>
2004-08-06 14:53:36 +08:00
<A NAME="DOC.2.34.2"></A>
2003-04-18 00:22:51 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual ~Input()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="readObjectOfType"></A>
2004-08-06 14:53:36 +08:00
<A NAME="DOC.2.34.3"></A>
2003-04-18 00:22:51 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual osg::Object* readObjectOfType(const osg::Object&amp; compObj)</B></TT>
<DL><DT><DD></DL><P>
2003-07-23 19:27:31 +08:00
<A NAME="readObjectOfType"></A>
2004-08-06 14:53:36 +08:00
<A NAME="DOC.2.34.4"></A>
2003-07-23 19:27:31 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual osg::Object* readObjectOfType(const <!1><A HREF="basic_type_wrapper.html">basic_type_wrapper</A> &amp;btw)</B></TT>
<DL><DT><DD></DL><P>
2003-04-18 00:22:51 +08:00
<A NAME="readObject"></A>
2004-08-06 14:53:36 +08:00
<A NAME="DOC.2.34.5"></A>
2003-04-18 00:22:51 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual osg::Object* readObject()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="readImage"></A>
2004-08-06 14:53:36 +08:00
<A NAME="DOC.2.34.6"></A>
2003-04-18 00:22:51 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual osg::Image* readImage()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="readDrawable"></A>
2004-08-06 14:53:36 +08:00
<A NAME="DOC.2.34.7"></A>
2003-04-18 00:22:51 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual osg::Drawable* readDrawable()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="readStateAttribute"></A>
2004-08-06 14:53:36 +08:00
<A NAME="DOC.2.34.8"></A>
2003-04-18 00:22:51 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual osg::StateAttribute* readStateAttribute()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="readNode"></A>
2004-08-06 14:53:36 +08:00
<A NAME="DOC.2.34.9"></A>
2003-04-18 00:22:51 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual osg::Node* readNode()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="readObject"></A>
2004-08-06 14:53:36 +08:00
<A NAME="DOC.2.34.10"></A>
2003-04-18 00:22:51 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual osg::Object* readObject(const std::string&amp; fileName)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="readImage"></A>
2004-08-06 14:53:36 +08:00
<A NAME="DOC.2.34.11"></A>
2003-04-18 00:22:51 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual osg::Image* readImage(const std::string&amp; fileName)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="readNode"></A>
2004-08-06 14:53:36 +08:00
<A NAME="DOC.2.34.12"></A>
2003-04-18 00:22:51 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual osg::Node* readNode(const std::string&amp; fileName)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getObjectForUniqueID"></A>
2004-08-06 14:53:36 +08:00
<A NAME="DOC.2.34.13"></A>
2003-04-18 00:22:51 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual osg::Object* getObjectForUniqueID(const std::string&amp; uniqueID)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="regisiterUniqueIDForObject"></A>
2004-08-06 14:53:36 +08:00
<A NAME="DOC.2.34.14"></A>
2003-04-18 00:22:51 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void regisiterUniqueIDForObject(const std::string&amp; uniqueID, osg::Object* obj)</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>
2004-08-06 14:53:36 +08:00
This page was generated with the help of <A HREF="http://www.linuxsupportline.com/~doc++">DOC++</A>.
2003-04-18 00:22:51 +08:00
</BODY>
</HTML>