415 lines
21 KiB
HTML
415 lines
21 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>class SG_EXPORT osg::ShapeDrawable</TITLE>
|
|
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.10">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
|
|
<H2>class SG_EXPORT <A HREF="#DOC.DOCU">osg::ShapeDrawable</A></H2></H2><HR>
|
|
|
|
<H2>Inheritance:</H2>
|
|
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=125>
|
|
<param name=classes value="CReferenced,MReferenced.html,CObject,MObject.html,CDrawable,MDrawable.html,CShapeDrawable,MShapeDrawable.html">
|
|
<param name=before value="M,M,M,M">
|
|
<param name=after value="Md_SPSP,Md_SP,Md_,M">
|
|
<param name=indent value="0,1,2,3">
|
|
<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.185.1">ShapeDrawable</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.185.2">ShapeDrawable</A></B>(<!1><A HREF="Shape.html">Shape</A>* shape, <!1><A HREF="TessellationHints.html">TessellationHints</A>* hints=0)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.185.3">ShapeDrawable</A></B>(const <!1><A HREF="ShapeDrawable.html#DOC.2.185.3">ShapeDrawable</A>& pg, const <!1><A HREF="CopyOp.html">CopyOp</A>& copyop=CopyOp::SHALLOW_COPY)
|
|
<DD><I>Copy constructor using CopyOp to manage deep vs shallow copy</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual <!1><A HREF="Object.html">Object</A>* <B><A HREF="#DOC.2.185.4">cloneType</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual <!1><A HREF="Object.html">Object</A>* <B><A HREF="#DOC.2.185.5">clone</A></B>(const <!1><A HREF="CopyOp.html">CopyOp</A>& copyop) const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual bool <B><A HREF="#DOC.2.185.6">isSameKindAs</A></B>(const <!1><A HREF="Object.html">Object</A>* obj) const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual const char* <B><A HREF="#DOC.2.185.7">libraryName</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual const char* <B><A HREF="#DOC.2.185.8">className</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.185.9">setColor</A></B>(const <!1><A HREF="Vec4.html">Vec4</A>& color)
|
|
<DD><I>set the color of the shape</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="Vec4.html">Vec4</A>& <B><A HREF="#DOC.2.185.10">getColor</A></B>() const
|
|
<DD><I>get the color of the shape</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.185.11">setTessellationHints</A></B>(<!1><A HREF="TessellationHints.html">TessellationHints</A>* hints)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="TessellationHints.html">TessellationHints</A>* <B><A HREF="#DOC.2.185.12">getTessellationHints</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="TessellationHints.html">TessellationHints</A>* <B><A HREF="#DOC.2.185.13">getTessellationHints</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.185.14">drawImplementation</A></B>(<!1><A HREF="State.html">State</A>& state) const
|
|
<DD><I>draw ShapeDrawable directly ignoring an OpenGL display list which could be attached.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual bool <B><A HREF="#DOC.2.185.15">supports</A></B>(<!1><A HREF="AttributeFunctor.html">AttributeFunctor</A>&) const
|
|
<DD><I>return false, osg::ShapeDrawable does not support accept(AttributeFunctor&)</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual bool <B><A HREF="#DOC.2.185.16">supports</A></B>(<!1><A HREF="ConstAttributeFunctor.html">ConstAttributeFunctor</A>&) const
|
|
<DD><I>return true, osg::ShapeDrawable does support accept(ConstAttributeFunctor&)</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.185.17">accept</A></B>(<!1><A HREF="ConstAttributeFunctor.html">ConstAttributeFunctor</A>& af) const
|
|
<DD><I>accept an ConstAttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual bool <B><A HREF="#DOC.2.185.18">supports</A></B>(<!1><A HREF="PrimitiveFunctor.html">PrimitiveFunctor</A>&) const
|
|
<DD><I>return true, osg::ShapeDrawable does support accept(PrimitiveFunctor&) </I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.185.19">accept</A></B>(<!1><A HREF="PrimitiveFunctor.html">PrimitiveFunctor</A>& pf) const
|
|
<DD><I>accept a PrimtiveFunctor and call its methods to tell it about the interal primtives that this Drawable has</I>
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Fields</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Vec4.html">Vec4</A> <B><A HREF="#DOC.2.185.23">_color</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="ref_ptr.html">ref_ptr</A><<!1><A HREF="TessellationHints.html">TessellationHints</A>> <B><A HREF="#DOC.2.185.24">_tessellationHints</A></B>
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Methods</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="ShapeDrawable.html">ShapeDrawable</A>& <B><A HREF="#DOC.2.185.20">operator = </A></B>(const <!1><A HREF="ShapeDrawable.html">ShapeDrawable</A>&)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual <B><A HREF="#DOC.2.185.21">~ShapeDrawable</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual bool <B><A HREF="#DOC.2.185.22">computeBound</A></B>() const
|
|
</DL></P>
|
|
|
|
</DL>
|
|
<HR><H3>Inherited from <A HREF="Drawable.html">Drawable</A>:</H3>
|
|
<DL>
|
|
<P><DL>
|
|
<DT><H3>Public Methods</H3><DD><DT>
|
|
<IMG ALT="o" SRC=icon2.gif>virtual <!1><A HREF="Geometry.html">Geometry</A>* <B>asGeometry</B>()
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>virtual const <!1><A HREF="Geometry.html">Geometry</A>* <B>asGeometry</B>() const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline const <!1><A HREF="Drawable.html#DOC.2.69.8">ParentList</A>& <B>getParents</B>() const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline <!1><A HREF="Drawable.html#DOC.2.69.8">ParentList</A> <B>getParents</B>()
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline <!1><A HREF="Node.html">Node</A>* <B>getParent</B>(unsigned int i)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline const <!1><A HREF="Node.html">Node</A>* <B>getParent</B>(unsigned int i) const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline unsigned int <B>getNumParents</B>() const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline void <B>setStateSet</B>(<!1><A HREF="StateSet.html">StateSet</A>* state)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline <!1><A HREF="StateSet.html">StateSet</A>* <B>getStateSet</B>()
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline const <!1><A HREF="StateSet.html">StateSet</A>* <B>getStateSet</B>() const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="StateSet.html">StateSet</A>* <B>getOrCreateStateSet</B>()
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>void <B>dirtyBound</B>()
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline const <!1><A HREF="BoundingBox.html">BoundingBox</A>& <B>getBound</B>() const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline void <B>setShape</B>(<!1><A HREF="Shape.html">Shape</A>* shape)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline <!1><A HREF="Shape.html">Shape</A>* <B>getShape</B>()
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline const <!1><A HREF="Shape.html">Shape</A>* <B>getShape</B>() const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>void <B>setSupportsDisplayList</B>(bool flag)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline bool <B>getSupportsDisplayList</B>() const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>void <B>setUseDisplayList</B>(bool flag)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline bool <B>getUseDisplayList</B>() const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>void <B>setUseVertexBufferObjects</B>(bool flag)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline bool <B>getUseVertexBufferObjects</B>() const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>void <B>dirtyDisplayList</B>()
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>virtual void <B>compile</B>(<!1><A HREF="State.html">State</A>& state) const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>void <B>setUpdateCallback</B>(<!1><A HREF="Drawable.html#DOC.2.69.31">UpdateCallback</A>* ac)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="Drawable.html#DOC.2.69.31">UpdateCallback</A>* <B>getUpdateCallback</B>()
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>void <B>setCullCallback</B>(<!1><A HREF="Drawable.html#DOC.2.69.34">CullCallback</A>* cc)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="Drawable.html#DOC.2.69.34">CullCallback</A>* <B>getCullCallback</B>()
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>const <!1><A HREF="Drawable.html#DOC.2.69.34">CullCallback</A>* <B>getCullCallback</B>() const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>void <B>setDrawCallback</B>(<!1><A HREF="Drawable.html#DOC.2.69.38">DrawCallback</A>* dc)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="Drawable.html#DOC.2.69.38">DrawCallback</A>* <B>getDrawCallback</B>()
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>const <!1><A HREF="Drawable.html#DOC.2.69.38">DrawCallback</A>* <B>getDrawCallback</B>() const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>static void <B>deleteDisplayList</B>(unsigned int contextID, GLuint globj)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>static void <B>flushDeletedDisplayLists</B>(unsigned int contextID, double currentTime, double& availableTime)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>static void <B>deleteVertexBufferObject</B>(unsigned int contextID, GLuint globj)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>static void <B>flushDeletedVertexBufferObjects</B>(unsigned int contextID, double currentTime, double& availableTime)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>static <!1><A HREF="Extensions.2.html">Extensions</A>* <B>getExtensions</B>(unsigned int contextID, bool createIfNotInitalized)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>static void <B>setExtensions</B>(unsigned int contextID, <!1><A HREF="Extensions.2.html">Extensions</A>* extensions)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline void <B>draw</B>(<!1><A HREF="State.html">State</A>& state) const
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Public Members</H3><DD><DT>
|
|
<IMG ALT="o" SRC=icon2.gif>typedef std::vector<<!1><A HREF="Node.html">Node</A>*> <B>ParentList</B>
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>struct <B>UpdateCallback</B>: public virtual <!1><A HREF="Referenced.html">osg::Referenced</A>
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>struct <B>CullCallback</B>: public virtual <!1><A HREF="Referenced.html">osg::Referenced</A>
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>struct <B>DrawCallback</B>: public virtual <!1><A HREF="Referenced.html">osg::Referenced</A>
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>typedef unsigned int <B>AttributeType</B>
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>enum <B>AttributeTypes</B>
|
|
<DT>
|
|
class <B><A HREF="AttributeFunctor.html">AttributeFunctor</A></B>
|
|
<DT>
|
|
class <B><A HREF="ConstAttributeFunctor.html">ConstAttributeFunctor</A></B>
|
|
<DT>
|
|
class <B><A HREF="PrimitiveFunctor.html">PrimitiveFunctor</A></B>
|
|
<DT>
|
|
class SG_EXPORT <B><A HREF="Extensions.2.html">Extensions</A></B>: public <!1><A HREF="Referenced.html">osg::Referenced</A>
|
|
<DD><I>Extensions class which encapsulates the querring of extensions and associated function pointers, and provide convinience wrappers to check for the extensions or use the associated functions</I>
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Fields</H3><DD><DT>
|
|
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="Drawable.html#DOC.2.69.8">ParentList</A> <B>_parents</B>
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="ref_ptr.html">ref_ptr</A><<!1><A HREF="StateSet.html">StateSet</A>> <B>_stateset</B>
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>mutable <!1><A HREF="BoundingBox.html">BoundingBox</A> <B>_bbox</B>
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>mutable bool <B>_bbox_computed</B>
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="ref_ptr.html">ref_ptr</A><<!1><A HREF="Shape.html">Shape</A>> <B>_shape</B>
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>bool <B>_supportsDisplayList</B>
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>bool <B>_useDisplayList</B>
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>bool <B>_supportsVertexBufferObjects</B>
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>bool <B>_useVertexBufferObjects</B>
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>mutable <!1><A HREF="Drawable.html#DOC.2.69.76">GLObjectList</A> <B>_globjList</B>
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>mutable <!1><A HREF="Drawable.html#DOC.2.69.76">GLObjectList</A> <B>_vboList</B>
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="ref_ptr.html">ref_ptr</A><<!1><A HREF="Drawable.html#DOC.2.69.31">UpdateCallback</A>> <B>_updateCallback</B>
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="ref_ptr.html">ref_ptr</A><<!1><A HREF="Drawable.html#DOC.2.69.38">DrawCallback</A>> <B>_drawCallback</B>
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="ref_ptr.html">ref_ptr</A><<!1><A HREF="Drawable.html#DOC.2.69.34">CullCallback</A>> <B>_cullCallback</B>
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Methods</H3><DD><DT>
|
|
<IMG ALT="o" SRC=icon2.gif>void <B>setBound</B>(const <!1><A HREF="BoundingBox.html">BoundingBox</A>& bb) const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>void <B>addParent</B>(<!1><A HREF="Node.html">osg::Node</A>* node)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>void <B>removeParent</B>(<!1><A HREF="Node.html">osg::Node</A>* node)
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Members</H3><DD><DT>
|
|
<IMG ALT="o" SRC=icon2.gif>typedef <!1><A HREF="buffered_value.html">osg::buffered_value</A><GLuint> <B>GLObjectList</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>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><<!1><A HREF="Referenced.html">Referenced</A>> <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>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="ShapeDrawable"></A>
|
|
<A NAME="DOC.2.185.1"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> ShapeDrawable()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="ShapeDrawable"></A>
|
|
<A NAME="DOC.2.185.2"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> ShapeDrawable(<!1><A HREF="Shape.html">Shape</A>* shape, <!1><A HREF="TessellationHints.html">TessellationHints</A>* hints=0)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="ShapeDrawable"></A>
|
|
<A NAME="DOC.2.185.3"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> ShapeDrawable(const <!1><A HREF="ShapeDrawable.html#DOC.2.185.3">ShapeDrawable</A>& pg, const <!1><A HREF="CopyOp.html">CopyOp</A>& copyop=CopyOp::SHALLOW_COPY)</B></TT>
|
|
<DD>Copy constructor using CopyOp to manage deep vs shallow copy
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="cloneType"></A>
|
|
<A NAME="DOC.2.185.4"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual <!1><A HREF="Object.html">Object</A>* cloneType() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="clone"></A>
|
|
<A NAME="DOC.2.185.5"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual <!1><A HREF="Object.html">Object</A>* clone(const <!1><A HREF="CopyOp.html">CopyOp</A>& copyop) const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="isSameKindAs"></A>
|
|
<A NAME="DOC.2.185.6"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual bool isSameKindAs(const <!1><A HREF="Object.html">Object</A>* obj) const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="libraryName"></A>
|
|
<A NAME="DOC.2.185.7"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual const char* libraryName() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="className"></A>
|
|
<A NAME="DOC.2.185.8"></A>
|
|
<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="setColor"></A>
|
|
<A NAME="DOC.2.185.9"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setColor(const <!1><A HREF="Vec4.html">Vec4</A>& color)</B></TT>
|
|
<DD>set the color of the shape
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getColor"></A>
|
|
<A NAME="DOC.2.185.10"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="Vec4.html">Vec4</A>& getColor() const </B></TT>
|
|
<DD>get the color of the shape
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setTessellationHints"></A>
|
|
<A NAME="DOC.2.185.11"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setTessellationHints(<!1><A HREF="TessellationHints.html">TessellationHints</A>* hints)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getTessellationHints"></A>
|
|
<A NAME="DOC.2.185.12"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="TessellationHints.html">TessellationHints</A>* getTessellationHints()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getTessellationHints"></A>
|
|
<A NAME="DOC.2.185.13"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="TessellationHints.html">TessellationHints</A>* getTessellationHints() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="drawImplementation"></A>
|
|
<A NAME="DOC.2.185.14"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void drawImplementation(<!1><A HREF="State.html">State</A>& state) const </B></TT>
|
|
<DD>draw ShapeDrawable directly ignoring an OpenGL display list which could be attached.
|
|
This is the internal draw method which does the drawing itself,
|
|
and is the method to override when deriving from ShapeDrawable for user-drawn objects.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="supports"></A>
|
|
<A NAME="DOC.2.185.15"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual bool supports(<!1><A HREF="AttributeFunctor.html">AttributeFunctor</A>&) const </B></TT>
|
|
<DD>return false, osg::ShapeDrawable does not support accept(AttributeFunctor&)
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="supports"></A>
|
|
<A NAME="DOC.2.185.16"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual bool supports(<!1><A HREF="ConstAttributeFunctor.html">ConstAttributeFunctor</A>&) const </B></TT>
|
|
<DD>return true, osg::ShapeDrawable does support accept(ConstAttributeFunctor&)
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="accept"></A>
|
|
<A NAME="DOC.2.185.17"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void accept(<!1><A HREF="ConstAttributeFunctor.html">ConstAttributeFunctor</A>& af) const </B></TT>
|
|
<DD>accept an ConstAttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="supports"></A>
|
|
<A NAME="DOC.2.185.18"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual bool supports(<!1><A HREF="PrimitiveFunctor.html">PrimitiveFunctor</A>&) const </B></TT>
|
|
<DD>return true, osg::ShapeDrawable does support accept(PrimitiveFunctor&)
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="accept"></A>
|
|
<A NAME="DOC.2.185.19"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void accept(<!1><A HREF="PrimitiveFunctor.html">PrimitiveFunctor</A>& pf) const </B></TT>
|
|
<DD>accept a PrimtiveFunctor and call its methods to tell it about the interal primtives that this Drawable has
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="operator = "></A>
|
|
<A NAME="DOC.2.185.20"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="ShapeDrawable.html">ShapeDrawable</A>& operator = (const <!1><A HREF="ShapeDrawable.html">ShapeDrawable</A>&)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="~ShapeDrawable"></A>
|
|
<A NAME="DOC.2.185.21"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual ~ShapeDrawable()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="computeBound"></A>
|
|
<A NAME="DOC.2.185.22"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual bool computeBound() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_color"></A>
|
|
<A NAME="DOC.2.185.23"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Vec4.html">Vec4</A> _color</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_tessellationHints"></A>
|
|
<A NAME="DOC.2.185.24"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="ref_ptr.html">ref_ptr</A><<!1><A HREF="TessellationHints.html">TessellationHints</A>> _tessellationHints</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>
|