915 lines
51 KiB
HTML
915 lines
51 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>class SG_EXPORT osg::Drawable</TITLE>
|
|
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.6">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
|
|
<H2>class SG_EXPORT <A HREF="#DOC.DOCU">osg::Drawable</A></H2></H2><BLOCKQUOTE>Pure virtual base class for drawable Geometry.</BLOCKQUOTE>
|
|
<HR>
|
|
|
|
<H2>Inheritance:</H2>
|
|
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=215>
|
|
<param name=classes value="CReferenced,MReferenced.html,CObject,MObject.html,CDrawable,MDrawable.html,CShapeDrawable,MShapeDrawable.html,CImpostorSprite,MImpostorSprite.html,CGeometry,MGeometry.html,CDrawPixels,MDrawPixels.html">
|
|
<param name=before value="M,M,M,M|_,MR_,MR_,Mr_">
|
|
<param name=after value="Md_SP,Md_,M,M,M,M,M">
|
|
<param name=indent value="0,1,2,2,2,2,2">
|
|
<param name=arrowdir value="down">
|
|
</APPLET>
|
|
<HR>
|
|
|
|
<DL>
|
|
<P><DL>
|
|
<DT><H3>Public Classes</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>struct <B><A HREF="#DOC.2.93.32">UpdateCallback</A></B>: public virtual <!1><A HREF="Object.html">osg::Object</A>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>struct <B><A HREF="#DOC.2.93.36">CullCallback</A></B>: public virtual <!1><A HREF="Object.html">osg::Object</A>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>struct <B><A HREF="#DOC.2.93.40">DrawCallback</A></B>: public virtual <!1><A HREF="Object.html">osg::Object</A>
|
|
<DD><I>Callback attached to an Drawable which allows the users to customize the drawing of an exist Drawable object.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>enum <B><A HREF="#DOC.2.93.50">AttributeTypes</A></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 <B><A HREF="PrimitiveIndexFunctor.html">PrimitiveIndexFunctor</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>Public Methods</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.93.1">Drawable</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.93.2">Drawable</A></B>(const <!1><A HREF="Drawable.html#DOC.2.93.2">Drawable</A>& drawable, 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 bool <B><A HREF="#DOC.2.93.3">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.93.4">libraryName</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual const char* <B><A HREF="#DOC.2.93.5">className</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual <!1><A HREF="Geometry.html">Geometry</A>* <B><A HREF="#DOC.2.93.6">asGeometry</A></B>()
|
|
<DD><I>convert 'this' into a Geometry pointer if Drawable is a Geometry, otherwise return 0.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual const <!1><A HREF="Geometry.html">Geometry</A>* <B><A HREF="#DOC.2.93.7">asGeometry</A></B>() const
|
|
<DD><I>convert 'const this' into a const Geometry pointer if Drawable is a Geometry, otherwise return 0.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const <!1><A HREF="Drawable.html#DOC.2.93.8">ParentList</A>& <B><A HREF="#DOC.2.93.9">getParents</A></B>() const
|
|
<DD><I>Get the parent list of drawable.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline <!1><A HREF="Drawable.html#DOC.2.93.8">ParentList</A> <B><A HREF="#DOC.2.93.10">getParents</A></B>()
|
|
<DD><I>Get the a copy of parent list of node.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline <!1><A HREF="Node.html">Node</A>* <B><A HREF="#DOC.2.93.11">getParent</A></B>(unsigned int i)
|
|
<DD><I>Get a single parent of Drawable.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const <!1><A HREF="Node.html">Node</A>* <B><A HREF="#DOC.2.93.12">getParent</A></B>(unsigned int i) const
|
|
<DD><I>Get a single const parent of Drawable.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline unsigned int <B><A HREF="#DOC.2.93.13">getNumParents</A></B>() const
|
|
<DD><I> Get the number of parents of node.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline void <B><A HREF="#DOC.2.93.14">setStateSet</A></B>(<!1><A HREF="StateSet.html">StateSet</A>* state)
|
|
<DD><I>Set the StateSet attached to the Drawable.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline <!1><A HREF="StateSet.html">StateSet</A>* <B><A HREF="#DOC.2.93.15">getStateSet</A></B>()
|
|
<DD><I>Get the attached StateSet</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const <!1><A HREF="StateSet.html">StateSet</A>* <B><A HREF="#DOC.2.93.16">getStateSet</A></B>() const
|
|
<DD><I>Get the attached const StateSet</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="StateSet.html">StateSet</A>* <B><A HREF="#DOC.2.93.17">getOrCreateStateSet</A></B>()
|
|
<DD><I>Get the attached const StateSet, if one is not already attach create one, attach it to the drawable and return a pointer to it</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.93.18">dirtyBound</A></B>()
|
|
<DD><I>Dirty the bounding box, forcing a computeBound() on the next call to getBound().</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const <!1><A HREF="BoundingBox.html">BoundingBox</A>& <B><A HREF="#DOC.2.93.19">getBound</A></B>() const
|
|
<DD><I>get bounding box of geoset.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline void <B><A HREF="#DOC.2.93.20">setShape</A></B>(<!1><A HREF="Shape.html">Shape</A>* shape)
|
|
<DD><I>Set the Shape of the drawable.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline <!1><A HREF="Shape.html">Shape</A>* <B><A HREF="#DOC.2.93.21">getShape</A></B>()
|
|
<DD><I>Get the Shape of the Drawable</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const <!1><A HREF="Shape.html">Shape</A>* <B><A HREF="#DOC.2.93.22">getShape</A></B>() const
|
|
<DD><I>Get the const Shape of the const Drawable</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.93.23">setSupportsDisplayList</A></B>(bool flag)
|
|
<DD><I>Set the drawable to it can or cannot be used in conjunction with OpenGL display lists.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline bool <B><A HREF="#DOC.2.93.24">getSupportsDisplayList</A></B>() const
|
|
<DD><I>Get whether display lists are supported for this drawable instance</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.93.25">setUseDisplayList</A></B>(bool flag)
|
|
<DD><I>When set to true, force the draw method to use OpenGL Display List for rendering.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline bool <B><A HREF="#DOC.2.93.26">getUseDisplayList</A></B>() const
|
|
<DD><I>Return whether OpenGL display lists are being used for rendering</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.93.27">setUseVertexBufferObjects</A></B>(bool flag)
|
|
<DD><I>When set to true, ignore the setUseDisplayList() settings, and hints to the drawImplemention method to use OpenGL vertex buffer objects for rendering</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline bool <B><A HREF="#DOC.2.93.28">getUseVertexBufferObjects</A></B>() const
|
|
<DD><I>Return whether OpenGL vertex buffer objects should be used when supported by OpenGL driver</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.93.29">dirtyDisplayList</A></B>()
|
|
<DD><I>Force a recompile on next draw() of any OpenGL display list associated with this geoset</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.93.30">compileGLObjects</A></B>(<!1><A HREF="State.html">State</A>& state) const
|
|
<DD><I>Immediately compile this drawable into an OpenGL Display List.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.93.31">releaseGLObjects</A></B>(<!1><A HREF="State.html">State</A>* state=0) const
|
|
<DD><I>release any OpenGL display lists associated with graphics context specified in osg::State object is supplied, or release all display lists for all graphics contexts if state pointer is NULL</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.93.33">setUpdateCallback</A></B>(<!1><A HREF="Drawable.html#DOC.2.93.32">UpdateCallback</A>* ac)
|
|
<DD><I>Set the UpdateCallback which allows users to attach customize the undating of an object during the update traversal</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Drawable.html#DOC.2.93.32">UpdateCallback</A>* <B><A HREF="#DOC.2.93.34">getUpdateCallback</A></B>()
|
|
<DD><I>Get the non const UpdateCallback</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="Drawable.html#DOC.2.93.32">UpdateCallback</A>* <B><A HREF="#DOC.2.93.35">getUpdateCallback</A></B>() const
|
|
<DD><I>Get the const UpdateCallback</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.93.37">setCullCallback</A></B>(<!1><A HREF="Drawable.html#DOC.2.93.36">CullCallback</A>* cc)
|
|
<DD><I>Set the CullCallback which allows users to attach customize the culling of Drawable during the cull traversal</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Drawable.html#DOC.2.93.36">CullCallback</A>* <B><A HREF="#DOC.2.93.38">getCullCallback</A></B>()
|
|
<DD><I>Get the non const CullCallback</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="Drawable.html#DOC.2.93.36">CullCallback</A>* <B><A HREF="#DOC.2.93.39">getCullCallback</A></B>() const
|
|
<DD><I>Get the const CullCallback</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.93.41">setDrawCallback</A></B>(<!1><A HREF="Drawable.html#DOC.2.93.40">DrawCallback</A>* dc)
|
|
<DD><I>Set the DrawCallback which allows users to attach customize the drawing of existing Drawable object</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Drawable.html#DOC.2.93.40">DrawCallback</A>* <B><A HREF="#DOC.2.93.42">getDrawCallback</A></B>()
|
|
<DD><I>Get the non const DrawCallback</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="Drawable.html#DOC.2.93.40">DrawCallback</A>* <B><A HREF="#DOC.2.93.43">getDrawCallback</A></B>() const
|
|
<DD><I>Get the const DrawCallback</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.93.44">drawImplementation</A></B>(<!1><A HREF="State.html">State</A>& state) const
|
|
<DD><I>draw directly ignoring an OpenGL display list which could be attached.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>static void <B><A HREF="#DOC.2.93.45">deleteDisplayList</A></B>(unsigned int contextID, GLuint globj)
|
|
<DD><I>use deleteDisplayList instead of glDeleteList to allow OpenGL display list to cached until they can be deleted by the OpenGL context in which they were created, specified by contextID</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>static void <B><A HREF="#DOC.2.93.46">flushDeletedDisplayLists</A></B>(unsigned int contextID, double currentTime, double& availableTime)
|
|
<DD><I>flush all the cached display list which need to be deleted in the OpenGL context related to contextID</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>static void <B><A HREF="#DOC.2.93.47">deleteVertexBufferObject</A></B>(unsigned int contextID, GLuint globj)
|
|
<DD><I>use deleteVertexBufferObject instead of glDeleteList to allow OpenGL buffer objects to cached until they can be deleted by the OpenGL context in which they were created, specified by contextID</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>static void <B><A HREF="#DOC.2.93.48">flushDeletedVertexBufferObjects</A></B>(unsigned int contextID, double currentTime, double& availableTime)
|
|
<DD><I>flush all the cached vertex buffer objects which need to be deleted in the OpenGL context related to contextID</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual bool <B><A HREF="#DOC.2.93.52">supports</A></B>(<!1><A HREF="AttributeFunctor.html">AttributeFunctor</A>&) const
|
|
<DD><I>return true if the Drawable subclass supports accept(AttributeFunctor&)</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.93.53">accept</A></B>(<!1><A HREF="AttributeFunctor.html">AttributeFunctor</A>&)
|
|
<DD><I>accept an AttributeFunctor 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.93.55">supports</A></B>(<!1><A HREF="ConstAttributeFunctor.html">ConstAttributeFunctor</A>&) const
|
|
<DD><I>return true if the Drawable subclass supports accept(ConstAttributeFunctor&)</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.93.56">accept</A></B>(<!1><A HREF="ConstAttributeFunctor.html">ConstAttributeFunctor</A>&) const
|
|
<DD><I>accept an AttributeFunctor 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.93.59">supports</A></B>(<!1><A HREF="PrimitiveFunctor.html">PrimitiveFunctor</A>&) const
|
|
<DD><I>return true if the Drawable subclass supports accept(PrimitiveFunctor&)</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.93.60">accept</A></B>(<!1><A HREF="PrimitiveFunctor.html">PrimitiveFunctor</A>&) const
|
|
<DD><I>accept a PrimtiveFunctor and call its methods to tell it about the interal primtives that this Drawable has.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual bool <B><A HREF="#DOC.2.93.61">supports</A></B>(<!1><A HREF="PrimitiveIndexFunctor.html">PrimitiveIndexFunctor</A>&) const
|
|
<DD><I>return true if the Drawable subclass supports accept(PrimitiveIndexFunctor&)</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.93.62">accept</A></B>(<!1><A HREF="PrimitiveIndexFunctor.html">PrimitiveIndexFunctor</A>&) const
|
|
<DD><I>accept a PrimtiveIndexFunctor and call its methods to tell it about the interal primtives that this Drawable has.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>static <!1><A HREF="Extensions.2.html">Extensions</A>* <B><A HREF="#DOC.2.93.64">getExtensions</A></B>(unsigned int contextID, bool createIfNotInitalized)
|
|
<DD><I>Function to call to get the extension of a specified context.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>static void <B><A HREF="#DOC.2.93.65">setExtensions</A></B>(unsigned int contextID, <!1><A HREF="Extensions.2.html">Extensions</A>* extensions)
|
|
<DD><I>setExtensions allows users to override the extensions across graphics contexts.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline void <B><A HREF="#DOC.2.93.87">draw</A></B>(<!1><A HREF="State.html">State</A>& state) const
|
|
<DD><I>draw OpenGL primitives.</I>
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Public</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef std::vector<<!1><A HREF="Node.html">Node</A>*> <B><A HREF="#DOC.2.93.8">ParentList</A></B>
|
|
<DD><I>A vector of osg::Node pointers which is used to store the parent(s) of drawable</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef unsigned int <B><A HREF="#DOC.2.93.49">AttributeType</A></B>
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Fields</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Drawable.html#DOC.2.93.8">ParentList</A> <B><A HREF="#DOC.2.93.72">_parents</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="ref_ptr.html">ref_ptr</A><<!1><A HREF="StateSet.html">StateSet</A>> <B><A HREF="#DOC.2.93.73">_stateset</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>mutable <!1><A HREF="BoundingBox.html">BoundingBox</A> <B><A HREF="#DOC.2.93.74">_bbox</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>mutable bool <B><A HREF="#DOC.2.93.75">_bbox_computed</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="ref_ptr.html">ref_ptr</A><<!1><A HREF="Shape.html">Shape</A>> <B><A HREF="#DOC.2.93.76">_shape</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.93.77">_supportsDisplayList</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.93.78">_useDisplayList</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.93.79">_supportsVertexBufferObjects</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.93.80">_useVertexBufferObjects</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>mutable <!1><A HREF="Drawable.html#DOC.2.93.81">GLObjectList</A> <B><A HREF="#DOC.2.93.82">_globjList</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>mutable <!1><A HREF="Drawable.html#DOC.2.93.81">GLObjectList</A> <B><A HREF="#DOC.2.93.83">_vboList</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="ref_ptr.html">ref_ptr</A><<!1><A HREF="Drawable.html#DOC.2.93.32">UpdateCallback</A>> <B><A HREF="#DOC.2.93.84">_updateCallback</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="ref_ptr.html">ref_ptr</A><<!1><A HREF="Drawable.html#DOC.2.93.36">CullCallback</A>> <B><A HREF="#DOC.2.93.85">_cullCallback</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="ref_ptr.html">ref_ptr</A><<!1><A HREF="Drawable.html#DOC.2.93.40">DrawCallback</A>> <B><A HREF="#DOC.2.93.86">_drawCallback</A></B>
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Methods</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Drawable.html">Drawable</A>& <B><A HREF="#DOC.2.93.66">operator = </A></B>(const <!1><A HREF="Drawable.html">Drawable</A>&)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual <B><A HREF="#DOC.2.93.67">~Drawable</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual bool <B><A HREF="#DOC.2.93.68">computeBound</A></B>() const
|
|
<DD><I>compute the bounding box of the drawable.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.93.69">setBound</A></B>(const <!1><A HREF="BoundingBox.html">BoundingBox</A>& bb) const
|
|
<DD><I>set the bounding box </I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.93.70">addParent</A></B>(<!1><A HREF="Node.html">osg::Node</A>* node)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.93.71">removeParent</A></B>(<!1><A HREF="Node.html">osg::Node</A>* node)
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef <!1><A HREF="buffered_value.html">osg::buffered_value</A><GLuint> <B><A HREF="#DOC.2.93.81">GLObjectList</A></B>
|
|
</DL></P>
|
|
|
|
</DL>
|
|
<HR><H3>Inherited from <A HREF="Object.html">Object</A>:</H3>
|
|
<DL>
|
|
<P><DL>
|
|
<DT><H3>Public Classes</H3><DD><DT>
|
|
<IMG ALT="o" SRC=icon2.gif>enum <B>DataVariance</B>
|
|
</DL></P>
|
|
|
|
<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>&) const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline void <B>setDataVariance</B>(<!1><A HREF="Object.html#DOC.2.167.8">DataVariance</A> dv)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline <!1><A HREF="Object.html#DOC.2.167.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>Protected Fields</H3><DD><DT>
|
|
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="Object.html#DOC.2.167.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 OpenThreads::Mutex <B>_refMutex</B>
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>mutable int <B>_refCount</B>
|
|
</DL></P>
|
|
|
|
</DL>
|
|
|
|
<A NAME="DOC.DOCU"></A>
|
|
<HR>
|
|
<H2>Documentation</H2>
|
|
<BLOCKQUOTE>Pure virtual base class for drawable Geometry. Contains no drawing primitives
|
|
directly, these are provided by subclasses such as osg::Geometry. State attributes
|
|
for a Drawable are maintained in StateSet which the Drawable maintains
|
|
a referenced counted pointer to. Both Drawable's and StateSet's can
|
|
be shared for optimal memory usage and graphics performance.</BLOCKQUOTE>
|
|
<DL>
|
|
|
|
<A NAME="Drawable"></A>
|
|
<A NAME="DOC.2.93.1"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> Drawable()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="Drawable"></A>
|
|
<A NAME="DOC.2.93.2"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> Drawable(const <!1><A HREF="Drawable.html#DOC.2.93.2">Drawable</A>& drawable, 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="isSameKindAs"></A>
|
|
<A NAME="DOC.2.93.3"></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.93.4"></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.93.5"></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="asGeometry"></A>
|
|
<A NAME="DOC.2.93.6"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual <!1><A HREF="Geometry.html">Geometry</A>* asGeometry()</B></TT>
|
|
<DD>convert 'this' into a Geometry pointer if Drawable is a Geometry, otherwise return 0.
|
|
Equivalent to dynamic_cast<Geometry*>(this).
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="asGeometry"></A>
|
|
<A NAME="DOC.2.93.7"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual const <!1><A HREF="Geometry.html">Geometry</A>* asGeometry() const </B></TT>
|
|
<DD>convert 'const this' into a const Geometry pointer if Drawable is a Geometry, otherwise return 0.
|
|
Equivalent to dynamic_cast<const Geometry*>(this).
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="ParentList"></A>
|
|
<A NAME="DOC.2.93.8"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::vector<<!1><A HREF="Node.html">Node</A>*> ParentList</B></TT>
|
|
<DD>A vector of osg::Node pointers which is used to store the parent(s) of drawable
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getParents"></A>
|
|
<A NAME="DOC.2.93.9"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const <!1><A HREF="Drawable.html#DOC.2.93.8">ParentList</A>& getParents() const </B></TT>
|
|
<DD>Get the parent list of drawable.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getParents"></A>
|
|
<A NAME="DOC.2.93.10"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline <!1><A HREF="Drawable.html#DOC.2.93.8">ParentList</A> getParents()</B></TT>
|
|
<DD>Get the a copy of parent list of node. A copy is returned to
|
|
prevent modification of the parent list.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getParent"></A>
|
|
<A NAME="DOC.2.93.11"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline <!1><A HREF="Node.html">Node</A>* getParent(unsigned int i)</B></TT>
|
|
<DD>Get a single parent of Drawable.
|
|
|
|
<DL><DT><DT><B>Parameters:</B><DD><B>i</B> - <!1><A HREF="TemplateIndexArray.html#DOC.2.18.17">index</A> of the parent to get.
|
|
<BR><DT><B>Returns:</B><DD> the parent i.<BR><DD></DL><P>
|
|
<A NAME="getParent"></A>
|
|
<A NAME="DOC.2.93.12"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const <!1><A HREF="Node.html">Node</A>* getParent(unsigned int i) const </B></TT>
|
|
<DD>Get a single const parent of Drawable.
|
|
|
|
<DL><DT><DT><B>Parameters:</B><DD><B>i</B> - <!1><A HREF="TemplateIndexArray.html#DOC.2.18.17">index</A> of the parent to get.
|
|
<BR><DT><B>Returns:</B><DD> the parent i.<BR><DD></DL><P>
|
|
<A NAME="getNumParents"></A>
|
|
<A NAME="DOC.2.93.13"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline unsigned int getNumParents() const </B></TT>
|
|
<DD>
|
|
Get the number of parents of node.
|
|
|
|
<DL><DT><DT><B>Returns:</B><DD> the number of parents of this node.<BR><DD></DL><P>
|
|
<A NAME="setStateSet"></A>
|
|
<A NAME="DOC.2.93.14"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline void setStateSet(<!1><A HREF="StateSet.html">StateSet</A>* state)</B></TT>
|
|
<DD>Set the StateSet attached to the Drawable.
|
|
Previously attached StateSet are automatically unreferenced on
|
|
assignment of a new drawstate.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getStateSet"></A>
|
|
<A NAME="DOC.2.93.15"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline <!1><A HREF="StateSet.html">StateSet</A>* getStateSet()</B></TT>
|
|
<DD>Get the attached StateSet
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getStateSet"></A>
|
|
<A NAME="DOC.2.93.16"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const <!1><A HREF="StateSet.html">StateSet</A>* getStateSet() const </B></TT>
|
|
<DD>Get the attached const StateSet
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getOrCreateStateSet"></A>
|
|
<A NAME="DOC.2.93.17"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="StateSet.html">StateSet</A>* getOrCreateStateSet()</B></TT>
|
|
<DD>Get the attached const StateSet,
|
|
if one is not already attach create one,
|
|
attach it to the drawable and return a pointer to it
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="dirtyBound"></A>
|
|
<A NAME="DOC.2.93.18"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void dirtyBound()</B></TT>
|
|
<DD>Dirty the bounding box, forcing a computeBound() on the next call
|
|
to getBound(). Should be called in the internal geometry of the Drawable
|
|
is modified.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getBound"></A>
|
|
<A NAME="DOC.2.93.19"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const <!1><A HREF="BoundingBox.html">BoundingBox</A>& getBound() const </B></TT>
|
|
<DD>get bounding box of geoset.
|
|
Note, now made virtual to make it possible to implement user-drawn
|
|
objects albeit so what crudely, to be improved later.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setShape"></A>
|
|
<A NAME="DOC.2.93.20"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline void setShape(<!1><A HREF="Shape.html">Shape</A>* shape)</B></TT>
|
|
<DD>Set the Shape of the drawable. The shape can be used to
|
|
speed up collision detection or as a guide for produral
|
|
geometry generation - see osg::ProduralGeometry.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getShape"></A>
|
|
<A NAME="DOC.2.93.21"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline <!1><A HREF="Shape.html">Shape</A>* getShape()</B></TT>
|
|
<DD>Get the Shape of the Drawable
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getShape"></A>
|
|
<A NAME="DOC.2.93.22"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const <!1><A HREF="Shape.html">Shape</A>* getShape() const </B></TT>
|
|
<DD>Get the const Shape of the const Drawable
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setSupportsDisplayList"></A>
|
|
<A NAME="DOC.2.93.23"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setSupportsDisplayList(bool flag)</B></TT>
|
|
<DD>Set the drawable to it can or cannot be used in conjunction with OpenGL
|
|
display lists. With set to true, calls to Drawable::setUseDisplayList,
|
|
whereas when set to false, no display lists can be created and calls
|
|
to setUseDisplayList are ignored, and a warning is produced. The later
|
|
is typically used to guard against the switching on of display lists
|
|
on objects with dynamic internal data such as continuous Level of Detail
|
|
algorithms.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getSupportsDisplayList"></A>
|
|
<A NAME="DOC.2.93.24"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline bool getSupportsDisplayList() const </B></TT>
|
|
<DD>Get whether display lists are supported for this drawable instance
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setUseDisplayList"></A>
|
|
<A NAME="DOC.2.93.25"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setUseDisplayList(bool flag)</B></TT>
|
|
<DD>When set to true, force the draw method to use OpenGL Display List for rendering.
|
|
If false rendering directly. If the display list has not been already
|
|
compile the next call to draw will automatically create the display list.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getUseDisplayList"></A>
|
|
<A NAME="DOC.2.93.26"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline bool getUseDisplayList() const </B></TT>
|
|
<DD>Return whether OpenGL display lists are being used for rendering
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setUseVertexBufferObjects"></A>
|
|
<A NAME="DOC.2.93.27"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setUseVertexBufferObjects(bool flag)</B></TT>
|
|
<DD>When set to true, ignore the setUseDisplayList() settings, and hints to the drawImplemention
|
|
method to use OpenGL vertex buffer objects for rendering
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getUseVertexBufferObjects"></A>
|
|
<A NAME="DOC.2.93.28"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline bool getUseVertexBufferObjects() const </B></TT>
|
|
<DD>Return whether OpenGL vertex buffer objects should be used when supported by OpenGL driver
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="dirtyDisplayList"></A>
|
|
<A NAME="DOC.2.93.29"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void dirtyDisplayList()</B></TT>
|
|
<DD>Force a recompile on next draw() of any OpenGL display list associated with this geoset
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="compileGLObjects"></A>
|
|
<A NAME="DOC.2.93.30"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void compileGLObjects(<!1><A HREF="State.html">State</A>& state) const </B></TT>
|
|
<DD>Immediately compile this drawable into an OpenGL Display List.
|
|
Note I, operation is ignored if _useDisplayList to false.
|
|
Note II, compile is not intended to be overridden in subclasses.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="releaseGLObjects"></A>
|
|
<A NAME="DOC.2.93.31"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void releaseGLObjects(<!1><A HREF="State.html">State</A>* state=0) const </B></TT>
|
|
<DD>release any OpenGL display lists associated with graphics context specified
|
|
in osg::State object is supplied, or release all display lists for all graphics contexts if state pointer is NULL
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="UpdateCallback"></A>
|
|
<A NAME="DOC.2.93.32"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>struct UpdateCallback: public virtual <!1><A HREF="Object.html">osg::Object</A></B></TT>
|
|
<DL><DT><DD></DL><P><DL>
|
|
|
|
<A NAME="UpdateCallback"></A>
|
|
<A NAME="DOC.2.93.32.1"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> UpdateCallback()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="UpdateCallback"></A>
|
|
<A NAME="DOC.2.93.32.2"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> UpdateCallback(const <!1><A HREF="Drawable.html#DOC.2.93.32.2">UpdateCallback</A>&, const <!1><A HREF="CopyOp.html">CopyOp</A>&)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="(osg, UpdateCallback)"></A>
|
|
<A NAME="DOC.2.93.32.3"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="TessellationHints.html#DOC.2.218.3">META_Object</A> (osg, UpdateCallback)(<!1><A HREF="NodeVisitor.html">osg::NodeVisitor</A>*, <!1><A HREF="Drawable.html">osg::Drawable</A>*)</B></TT>
|
|
<DL><DT><DD></DL><P></DL>
|
|
|
|
<A NAME="setUpdateCallback"></A>
|
|
<A NAME="DOC.2.93.33"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setUpdateCallback(<!1><A HREF="Drawable.html#DOC.2.93.32">UpdateCallback</A>* ac)</B></TT>
|
|
<DD>Set the UpdateCallback which allows users to attach customize the undating of an object during the update traversal
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getUpdateCallback"></A>
|
|
<A NAME="DOC.2.93.34"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Drawable.html#DOC.2.93.32">UpdateCallback</A>* getUpdateCallback()</B></TT>
|
|
<DD>Get the non const UpdateCallback
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getUpdateCallback"></A>
|
|
<A NAME="DOC.2.93.35"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="Drawable.html#DOC.2.93.32">UpdateCallback</A>* getUpdateCallback() const </B></TT>
|
|
<DD>Get the const UpdateCallback
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="CullCallback"></A>
|
|
<A NAME="DOC.2.93.36"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>struct CullCallback: public virtual <!1><A HREF="Object.html">osg::Object</A></B></TT>
|
|
<DL><DT><DD></DL><P><DL>
|
|
|
|
<A NAME="CullCallback"></A>
|
|
<A NAME="DOC.2.93.36.1"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> CullCallback()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="CullCallback"></A>
|
|
<A NAME="DOC.2.93.36.2"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> CullCallback(const <!1><A HREF="Drawable.html#DOC.2.93.36.2">CullCallback</A>&, const <!1><A HREF="CopyOp.html">CopyOp</A>&)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="(osg, CullCallback)"></A>
|
|
<A NAME="DOC.2.93.36.3"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="TessellationHints.html#DOC.2.218.3">META_Object</A> (osg, CullCallback)(<!1><A HREF="NodeVisitor.html">osg::NodeVisitor</A>*, <!1><A HREF="Drawable.html">osg::Drawable</A>*, <!1><A HREF="State.html">osg::State</A>*) const </B></TT>
|
|
<DL><DT><DD></DL><P></DL>
|
|
|
|
<A NAME="setCullCallback"></A>
|
|
<A NAME="DOC.2.93.37"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setCullCallback(<!1><A HREF="Drawable.html#DOC.2.93.36">CullCallback</A>* cc)</B></TT>
|
|
<DD>Set the CullCallback which allows users to attach customize the culling of Drawable during the cull traversal
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getCullCallback"></A>
|
|
<A NAME="DOC.2.93.38"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Drawable.html#DOC.2.93.36">CullCallback</A>* getCullCallback()</B></TT>
|
|
<DD>Get the non const CullCallback
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getCullCallback"></A>
|
|
<A NAME="DOC.2.93.39"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="Drawable.html#DOC.2.93.36">CullCallback</A>* getCullCallback() const </B></TT>
|
|
<DD>Get the const CullCallback
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="DrawCallback"></A>
|
|
<A NAME="DOC.2.93.40"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>struct DrawCallback: public virtual <!1><A HREF="Object.html">osg::Object</A></B></TT>
|
|
<DD>Callback attached to an Drawable which allows the users to customize the drawing of an exist Drawable object.
|
|
The draw callback is implement as a replacement to the Drawable's own drawImplementation() method, if the
|
|
the user intends to decorate the exist draw code then simple call the drawable->drawImplementation() from
|
|
with the callbacks drawImplementation() method. This allows the users to do both pre and post callbacks
|
|
without fuss and can even diable the inner draw in required.
|
|
<DL><DT><DD></DL><P><DL>
|
|
|
|
<A NAME="DrawCallback"></A>
|
|
<A NAME="DOC.2.93.40.1"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> DrawCallback()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="DrawCallback"></A>
|
|
<A NAME="DOC.2.93.40.2"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> DrawCallback(const <!1><A HREF="Drawable.html#DOC.2.93.40.2">DrawCallback</A>&, const <!1><A HREF="CopyOp.html">CopyOp</A>&)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="(osg, DrawCallback)"></A>
|
|
<A NAME="DOC.2.93.40.3"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="TessellationHints.html#DOC.2.218.3">META_Object</A> (osg, DrawCallback)(<!1><A HREF="State.html">osg::State</A>&, const <!1><A HREF="Drawable.html">osg::Drawable</A>*) const </B></TT>
|
|
<DL><DT><DD></DL><P></DL>
|
|
|
|
<A NAME="setDrawCallback"></A>
|
|
<A NAME="DOC.2.93.41"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setDrawCallback(<!1><A HREF="Drawable.html#DOC.2.93.40">DrawCallback</A>* dc)</B></TT>
|
|
<DD>Set the DrawCallback which allows users to attach customize the drawing of existing Drawable object
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getDrawCallback"></A>
|
|
<A NAME="DOC.2.93.42"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Drawable.html#DOC.2.93.40">DrawCallback</A>* getDrawCallback()</B></TT>
|
|
<DD>Get the non const DrawCallback
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getDrawCallback"></A>
|
|
<A NAME="DOC.2.93.43"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="Drawable.html#DOC.2.93.40">DrawCallback</A>* getDrawCallback() const </B></TT>
|
|
<DD>Get the const DrawCallback
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="drawImplementation"></A>
|
|
<A NAME="DOC.2.93.44"></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 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 Drawable.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="deleteDisplayList"></A>
|
|
<A NAME="DOC.2.93.45"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>static void deleteDisplayList(unsigned int contextID, GLuint globj)</B></TT>
|
|
<DD>use deleteDisplayList instead of glDeleteList to allow
|
|
OpenGL display list to cached until they can be deleted
|
|
by the OpenGL context in which they were created, specified
|
|
by contextID
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="flushDeletedDisplayLists"></A>
|
|
<A NAME="DOC.2.93.46"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>static void flushDeletedDisplayLists(unsigned int contextID, double currentTime, double& availableTime)</B></TT>
|
|
<DD>flush all the cached display list which need to be deleted
|
|
in the OpenGL context related to contextID
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="deleteVertexBufferObject"></A>
|
|
<A NAME="DOC.2.93.47"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>static void deleteVertexBufferObject(unsigned int contextID, GLuint globj)</B></TT>
|
|
<DD>use deleteVertexBufferObject instead of glDeleteList to allow
|
|
OpenGL buffer objects to cached until they can be deleted
|
|
by the OpenGL context in which they were created, specified
|
|
by contextID
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="flushDeletedVertexBufferObjects"></A>
|
|
<A NAME="DOC.2.93.48"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>static void flushDeletedVertexBufferObjects(unsigned int contextID, double currentTime, double& availableTime)</B></TT>
|
|
<DD>flush all the cached vertex buffer objects which need to be deleted
|
|
in the OpenGL context related to contextID
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="AttributeType"></A>
|
|
<A NAME="DOC.2.93.49"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef unsigned int AttributeType</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="AttributeTypes"></A>
|
|
<A NAME="DOC.2.93.50"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>enum AttributeTypes</B></TT>
|
|
<DL><DT><DD></DL><P><DL>
|
|
|
|
<A NAME="VERTICES"></A>
|
|
<A NAME="DOC.2.93.50.1"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> VERTICES</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="WEIGHTS"></A>
|
|
<A NAME="DOC.2.93.50.2"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> WEIGHTS</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="NORMALS"></A>
|
|
<A NAME="DOC.2.93.50.3"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> NORMALS</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="COLORS"></A>
|
|
<A NAME="DOC.2.93.50.4"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> COLORS</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="SECONDARY_COLORS"></A>
|
|
<A NAME="DOC.2.93.50.5"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> SECONDARY_COLORS</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="FOG_COORDS"></A>
|
|
<A NAME="DOC.2.93.50.6"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> FOG_COORDS</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="ATTIBUTE_6"></A>
|
|
<A NAME="DOC.2.93.50.7"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> ATTIBUTE_6</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="ATTIBUTE_7"></A>
|
|
<A NAME="DOC.2.93.50.8"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> ATTIBUTE_7</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="TEXTURE_COORDS"></A>
|
|
<A NAME="DOC.2.93.50.9"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> TEXTURE_COORDS</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="TEXTURE_COORDS_0"></A>
|
|
<A NAME="DOC.2.93.50.10"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> TEXTURE_COORDS_0</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="TEXTURE_COORDS_1"></A>
|
|
<A NAME="DOC.2.93.50.11"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> TEXTURE_COORDS_1</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="TEXTURE_COORDS_2"></A>
|
|
<A NAME="DOC.2.93.50.12"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> TEXTURE_COORDS_2</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="TEXTURE_COORDS_3"></A>
|
|
<A NAME="DOC.2.93.50.13"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> TEXTURE_COORDS_3</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="TEXTURE_COORDS_4"></A>
|
|
<A NAME="DOC.2.93.50.14"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> TEXTURE_COORDS_4</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="TEXTURE_COORDS_5"></A>
|
|
<A NAME="DOC.2.93.50.15"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> TEXTURE_COORDS_5</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="TEXTURE_COORDS_6"></A>
|
|
<A NAME="DOC.2.93.50.16"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> TEXTURE_COORDS_6</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="TEXTURE_COORDS_7"></A>
|
|
<A NAME="DOC.2.93.50.17"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> TEXTURE_COORDS_7</B></TT>
|
|
<DL><DT><DD></DL><P></DL>
|
|
|
|
<A NAME="supports"></A>
|
|
<A NAME="DOC.2.93.52"></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 true if the Drawable subclass supports accept(AttributeFunctor&)
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="accept"></A>
|
|
<A NAME="DOC.2.93.53"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void accept(<!1><A HREF="AttributeFunctor.html">AttributeFunctor</A>&)</B></TT>
|
|
<DD>accept an AttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has.
|
|
return true if functor handled by drawable, return false on failure of drawable to generate functor calls.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="supports"></A>
|
|
<A NAME="DOC.2.93.55"></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 if the Drawable subclass supports accept(ConstAttributeFunctor&)
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="accept"></A>
|
|
<A NAME="DOC.2.93.56"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void accept(<!1><A HREF="ConstAttributeFunctor.html">ConstAttributeFunctor</A>&) const </B></TT>
|
|
<DD>accept an AttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has.
|
|
return true if functor handled by drawable, return false on failure of drawable to generate functor calls.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="supports"></A>
|
|
<A NAME="DOC.2.93.59"></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 if the Drawable subclass supports accept(PrimitiveFunctor&)
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="accept"></A>
|
|
<A NAME="DOC.2.93.60"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void accept(<!1><A HREF="PrimitiveFunctor.html">PrimitiveFunctor</A>&) const </B></TT>
|
|
<DD>accept a PrimtiveFunctor and call its methods to tell it about the interal primtives that this Drawable has.
|
|
return true if functor handled by drawable, return false on failure of drawable to generate functor calls.
|
|
Note, PrimtiveFunctor only provide const access of the primtives, as primitives may be procedurally generated
|
|
so one cannot modify it.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="supports"></A>
|
|
<A NAME="DOC.2.93.61"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual bool supports(<!1><A HREF="PrimitiveIndexFunctor.html">PrimitiveIndexFunctor</A>&) const </B></TT>
|
|
<DD>return true if the Drawable subclass supports accept(PrimitiveIndexFunctor&)
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="accept"></A>
|
|
<A NAME="DOC.2.93.62"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void accept(<!1><A HREF="PrimitiveIndexFunctor.html">PrimitiveIndexFunctor</A>&) const </B></TT>
|
|
<DD>accept a PrimtiveIndexFunctor and call its methods to tell it about the interal primtives that this Drawable has.
|
|
return true if functor handled by drawable, return false on failure of drawable to generate functor calls.
|
|
Note, PrimtiveIndexFunctor only provide const access of the primtives, as primitives may be procedurally generated
|
|
so one cannot modify it.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getExtensions"></A>
|
|
<A NAME="DOC.2.93.64"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>static <!1><A HREF="Extensions.2.html">Extensions</A>* getExtensions(unsigned int contextID, bool createIfNotInitalized)</B></TT>
|
|
<DD>Function to call to get the extension of a specified context.
|
|
If the Exentsion object for that context has not yet been created then
|
|
and the 'createIfNotInitalized' flag been set to false then returns NULL.
|
|
If 'createIfNotInitalized' is true then the Extensions object is
|
|
automatically created. However, in this case the extension object
|
|
only be created with the graphics context associated with ContextID..
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setExtensions"></A>
|
|
<A NAME="DOC.2.93.65"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>static void setExtensions(unsigned int contextID, <!1><A HREF="Extensions.2.html">Extensions</A>* extensions)</B></TT>
|
|
<DD>setExtensions allows users to override the extensions across graphics contexts.
|
|
typically used when you have different extensions supported across graphics pipes
|
|
but need to ensure that they all use the same low common denominator extensions.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="operator = "></A>
|
|
<A NAME="DOC.2.93.66"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Drawable.html">Drawable</A>& operator = (const <!1><A HREF="Drawable.html">Drawable</A>&)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="~Drawable"></A>
|
|
<A NAME="DOC.2.93.67"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual ~Drawable()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="computeBound"></A>
|
|
<A NAME="DOC.2.93.68"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual bool computeBound() const </B></TT>
|
|
<DD>compute the bounding box of the drawable. Method must be
|
|
implemented by subclasses.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setBound"></A>
|
|
<A NAME="DOC.2.93.69"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setBound(const <!1><A HREF="BoundingBox.html">BoundingBox</A>& bb) const </B></TT>
|
|
<DD>set the bounding box
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="addParent"></A>
|
|
<A NAME="DOC.2.93.70"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void addParent(<!1><A HREF="Node.html">osg::Node</A>* node)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="removeParent"></A>
|
|
<A NAME="DOC.2.93.71"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void removeParent(<!1><A HREF="Node.html">osg::Node</A>* node)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_parents"></A>
|
|
<A NAME="DOC.2.93.72"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Drawable.html#DOC.2.93.8">ParentList</A> _parents</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_stateset"></A>
|
|
<A NAME="DOC.2.93.73"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="ref_ptr.html">ref_ptr</A><<!1><A HREF="StateSet.html">StateSet</A>> _stateset</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_bbox"></A>
|
|
<A NAME="DOC.2.93.74"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>mutable <!1><A HREF="BoundingBox.html">BoundingBox</A> _bbox</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_bbox_computed"></A>
|
|
<A NAME="DOC.2.93.75"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>mutable bool _bbox_computed</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_shape"></A>
|
|
<A NAME="DOC.2.93.76"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="ref_ptr.html">ref_ptr</A><<!1><A HREF="Shape.html">Shape</A>> _shape</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_supportsDisplayList"></A>
|
|
<A NAME="DOC.2.93.77"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool _supportsDisplayList</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_useDisplayList"></A>
|
|
<A NAME="DOC.2.93.78"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool _useDisplayList</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_supportsVertexBufferObjects"></A>
|
|
<A NAME="DOC.2.93.79"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool _supportsVertexBufferObjects</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_useVertexBufferObjects"></A>
|
|
<A NAME="DOC.2.93.80"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool _useVertexBufferObjects</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="GLObjectList"></A>
|
|
<A NAME="DOC.2.93.81"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef <!1><A HREF="buffered_value.html">osg::buffered_value</A><GLuint> GLObjectList</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_globjList"></A>
|
|
<A NAME="DOC.2.93.82"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>mutable <!1><A HREF="Drawable.html#DOC.2.93.81">GLObjectList</A> _globjList</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_vboList"></A>
|
|
<A NAME="DOC.2.93.83"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>mutable <!1><A HREF="Drawable.html#DOC.2.93.81">GLObjectList</A> _vboList</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_updateCallback"></A>
|
|
<A NAME="DOC.2.93.84"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="ref_ptr.html">ref_ptr</A><<!1><A HREF="Drawable.html#DOC.2.93.32">UpdateCallback</A>> _updateCallback</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_cullCallback"></A>
|
|
<A NAME="DOC.2.93.85"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="ref_ptr.html">ref_ptr</A><<!1><A HREF="Drawable.html#DOC.2.93.36">CullCallback</A>> _cullCallback</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_drawCallback"></A>
|
|
<A NAME="DOC.2.93.86"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="ref_ptr.html">ref_ptr</A><<!1><A HREF="Drawable.html#DOC.2.93.40">DrawCallback</A>> _drawCallback</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="draw"></A>
|
|
<A NAME="DOC.2.93.87"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline void draw(<!1><A HREF="State.html">State</A>& state) const </B></TT>
|
|
<DD>draw OpenGL primitives.
|
|
If the drawable has _useDisplayList set to true then use an OpenGL display
|
|
list, automatically compiling one if required.
|
|
Otherwise call drawImplementation().
|
|
Note, draw method should *not* be overridden in subclasses as it
|
|
manages the optional display list.
|
|
<DL><DT><DD></DL><P></DL>
|
|
<HR>
|
|
<DL><DT><B>Direct child classes:
|
|
</B><DD><A HREF="ShapeDrawable.html">ShapeDrawable</A><BR>
|
|
<A HREF="ImpostorSprite.html">ImpostorSprite</A><BR>
|
|
<A HREF="Geometry.html">Geometry</A><BR>
|
|
<A HREF="DrawPixels.html">DrawPixels</A><BR>
|
|
</DL>
|
|
|
|
<DL><DT><DT><B>Friends:</B><DD> class <!1><A HREF="Node.html">Node</A><BR> class <!1><A HREF="Geode.html">Geode</A><BR><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>
|