OpenSceneGraph/doc/doc++/osg/Grid.html
2003-10-02 14:28:30 +00:00

224 lines
9.1 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>class SG_EXPORT osg::Grid</TITLE>
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.10">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H2>class SG_EXPORT <A HREF="#DOC.DOCU">osg::Grid</A></H2></H2><HR>
<H2>Inheritance:</H2>
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=155>
<param name=classes value="CReferenced,MReferenced.html,CObject,MObject.html,CShape,MShape.html,CHeightField,MHeightField.html,CGrid,MGrid.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 Methods</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.182.1">Grid</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.182.2">Grid</A></B>(const <!1><A HREF="Grid.html#DOC.2.182.2">Grid</A>&amp; mesh, const <!1><A HREF="CopyOp.html">CopyOp</A>&amp; copyop=CopyOp::SHALLOW_COPY)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.182.3">META_Shape</A></B>(<!1><A HREF="osg.html">osg</A>, <!1><A HREF="Grid.html">Grid</A>)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.182.4">allocateGrid</A></B>(unsigned int numColumns, unsigned int numRows)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.182.5">setHeight</A></B>(unsigned int c, unsigned int <!1><A HREF="UByte4.html#DOC.2.222.12">r</A>, float value)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual float <B><A HREF="#DOC.2.182.6">getHeight</A></B>(unsigned int c, unsigned int <!1><A HREF="UByte4.html#DOC.2.222.12">r</A>) const
</DL></P>
<P><DL>
<DT><H3>Protected Fields</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Grid.html#DOC.2.182.8">HeightList</A> <B><A HREF="#DOC.2.182.9">_heights</A></B>
</DL></P>
<P><DL>
<DT><H3>Protected Methods</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.182.7">~Grid</A></B>()
</DL></P>
<P><DL>
<DT><H3>Protected Members</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef std::vector&lt;float&gt; <B><A HREF="#DOC.2.182.8">HeightList</A></B>
</DL></P>
</DL>
<HR><H3>Inherited from <A HREF="HeightField.html">HeightField</A>:</H3>
<DL>
<P><DL>
<DT><H3>Public Methods</H3><DD><DT>
<IMG ALT="o" SRC=icon2.gif>virtual bool <B>isSameKindAs</B>(const <!1><A HREF="Object.html">Object</A>* obj) const
<DT>
<IMG ALT="o" SRC=icon2.gif>virtual const char* <B>libraryName</B>() const
<DT>
<IMG ALT="o" SRC=icon2.gif>virtual const char* <B>className</B>() const
<DT>
<IMG ALT="o" SRC=icon2.gif>virtual void <B>accept</B>(<!1><A HREF="ShapeVisitor.html">osg::ShapeVisitor</A>&amp; sv)
<DT>
<IMG ALT="o" SRC=icon2.gif>virtual void <B>accept</B>(<!1><A HREF="ConstShapeVisitor.html">osg::ConstShapeVisitor</A>&amp; csv) const
<DT>
<IMG ALT="o" SRC=icon2.gif>inline unsigned int <B>getNumColumns</B>() const
<DT>
<IMG ALT="o" SRC=icon2.gif>inline unsigned int <B>getNumRows</B>() const
<DT>
<IMG ALT="o" SRC=icon2.gif>inline void <B>setOrigin</B>(const <!1><A HREF="Vec3.html">osg::Vec3</A>&amp; origin)
<DT>
<IMG ALT="o" SRC=icon2.gif>inline const <!1><A HREF="Vec3.html">osg::Vec3</A>&amp; <B>getOrigin</B>() const
<DT>
<IMG ALT="o" SRC=icon2.gif>inline void <B>setXInterval</B>(float dx)
<DT>
<IMG ALT="o" SRC=icon2.gif>inline float <B>getXInterval</B>() const
<DT>
<IMG ALT="o" SRC=icon2.gif>inline void <B>setYInterval</B>(float dy)
<DT>
<IMG ALT="o" SRC=icon2.gif>inline float <B>getYInterval</B>() const
<DT>
<IMG ALT="o" SRC=icon2.gif>virtual <!1><A HREF="Vec3.html">Vec3</A> <B>getNormal</B>(unsigned int c, unsigned int <!1><A HREF="UByte4.html#DOC.2.222.12">r</A>) const
<DT>
<IMG ALT="o" SRC=icon2.gif>inline void <B>setRotation</B>(const <!1><A HREF="Quat.html">Quat</A>&amp; quat)
<DT>
<IMG ALT="o" SRC=icon2.gif>inline const <!1><A HREF="Quat.html">Quat</A>&amp; <B>getRotation</B>() const
<DT>
<IMG ALT="o" SRC=icon2.gif>inline <!1><A HREF="osg.html#DOC.2.102">Matrix</A> <B>getRotationMatrix</B>() const
<DT>
<IMG ALT="o" SRC=icon2.gif>inline bool <B>zeroRotation</B>() const
</DL></P>
<P><DL>
<DT><H3>Protected Fields</H3><DD><DT>
<IMG ALT="o" SRC=icon2.gif>unsigned int <B>_columns</B>
<DT>
<IMG ALT="o" SRC=icon2.gif>unsigned int <B>_rows</B>
<DT>
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="Vec3.html">osg::Vec3</A> <B>_origin</B>
<DT>
<IMG ALT="o" SRC=icon2.gif>float <B>_dx</B>
<DT>
<IMG ALT="o" SRC=icon2.gif>float <B>_dy</B>
<DT>
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="Quat.html">Quat</A> <B>_rotation</B>
</DL></P>
</DL>
<HR><H3>Inherited from <A HREF="Shape.html">Shape</A>:</H3>
<DL>
<P><DL>
<DT><H3>Public Methods</H3><DD><DT>
<IMG ALT="o" SRC=icon2.gif>virtual <!1><A HREF="Object.html">Object</A>* <B>cloneType</B>() const
<DT>
<IMG ALT="o" SRC=icon2.gif>virtual <!1><A HREF="Object.html">Object</A>* <B>clone</B>(const <!1><A HREF="CopyOp.html">CopyOp</A>&amp;) const
</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>inline void <B>setDataVariance</B>(<!1><A HREF="Object.html#DOC.2.136.8">DataVariance</A> dv)
<DT>
<IMG ALT="o" SRC=icon2.gif>inline <!1><A HREF="Object.html#DOC.2.136.8">DataVariance</A> <B>getDataVariance</B>() const
<DT>
<IMG ALT="o" SRC=icon2.gif>inline void <B>setUserData</B>(<!1><A HREF="Referenced.html">Referenced</A>* obj)
<DT>
<IMG ALT="o" SRC=icon2.gif>inline <!1><A HREF="Referenced.html">Referenced</A>* <B>getUserData</B>()
<DT>
<IMG ALT="o" SRC=icon2.gif>inline const <!1><A HREF="Referenced.html">Referenced</A>* <B>getUserData</B>() const
</DL></P>
<P><DL>
<DT><H3>Public Members</H3><DD><DT>
<IMG ALT="o" SRC=icon2.gif>enum <B>DataVariance</B>
</DL></P>
<P><DL>
<DT><H3>Protected Fields</H3><DD><DT>
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="Object.html#DOC.2.136.8">DataVariance</A> <B>_dataVariance</B>
<DT>
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="ref_ptr.html">ref_ptr</A>&lt;<!1><A HREF="Referenced.html">Referenced</A>&gt; <B>_userData</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 <!1><A HREF="Referenced.html">Referenced</A>&amp; <B>operator = </B>(<!1><A HREF="Referenced.html">Referenced</A>&amp;)
<DT>
<IMG ALT="o" SRC=icon2.gif>static void <B>setDeleteHandler</B>(<!1><A HREF="DeleteHandler.html">DeleteHandler</A>* handler)
<DT>
<IMG ALT="o" SRC=icon2.gif>static <!1><A HREF="DeleteHandler.html">DeleteHandler</A>* <B>getDeleteHandler</B>()
<DT>
<IMG ALT="o" SRC=icon2.gif>inline void <B>ref</B>() const
<DT>
<IMG ALT="o" SRC=icon2.gif>inline void <B>unref_nodelete</B>() const
<DT>
<IMG ALT="o" SRC=icon2.gif>inline int <B>referenceCount</B>() const
<DT>
<IMG ALT="o" SRC=icon2.gif>inline void <B>unref</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>
<DL>
<A NAME="Grid"></A>
<A NAME="DOC.2.182.1"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> Grid()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="Grid"></A>
<A NAME="DOC.2.182.2"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> Grid(const <!1><A HREF="Grid.html#DOC.2.182.2">Grid</A>&amp; mesh, const <!1><A HREF="CopyOp.html">CopyOp</A>&amp; copyop=CopyOp::SHALLOW_COPY)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="META_Shape"></A>
<A NAME="DOC.2.182.3"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> META_Shape(<!1><A HREF="osg.html">osg</A>, <!1><A HREF="Grid.html">Grid</A>)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="allocateGrid"></A>
<A NAME="DOC.2.182.4"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void allocateGrid(unsigned int numColumns, unsigned int numRows)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="setHeight"></A>
<A NAME="DOC.2.182.5"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setHeight(unsigned int c, unsigned int <!1><A HREF="UByte4.html#DOC.2.222.12">r</A>, float value)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getHeight"></A>
<A NAME="DOC.2.182.6"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual float getHeight(unsigned int c, unsigned int <!1><A HREF="UByte4.html#DOC.2.222.12">r</A>) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="~Grid"></A>
<A NAME="DOC.2.182.7"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> ~Grid()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="HeightList"></A>
<A NAME="DOC.2.182.8"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::vector&lt;float&gt; HeightList</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_heights"></A>
<A NAME="DOC.2.182.9"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Grid.html#DOC.2.182.8">HeightList</A> _heights</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>