Contents User Forum Source Index APIs by Task APIs by Level Data


G3D::GConsole::PosedGConsole2D Class Reference

#include <GConsole.h>

Inherits G3D::PosedModel2D.

List of all members.

Public Member Functions

virtual Rect2D bounds () const
virtual float depth () const
 PosedGConsole2D (GConsole *c)
void ReferenceCountedObject_zeroWeakPointers ()
virtual void render (RenderDevice *rd) const

Static Public Member Functions

static void sort (Array< PosedModel2DRef > &array)
static void sortAndRender (RenderDevice *rd, Array< PosedModel2DRef > &array)

Public Attributes

AtomicInt32 ReferenceCountedObject_refCount
_WeakPtrLinkedListReferenceCountedObject_weakPointer


Constructor & Destructor Documentation

G3D::GConsole::PosedGConsole2D::PosedGConsole2D ( GConsole c  ) 


Member Function Documentation

virtual Rect2D G3D::GConsole::PosedGConsole2D::bounds (  )  const [virtual]

Conservative 2D rendering bounds.

Implements G3D::PosedModel2D.

virtual float G3D::GConsole::PosedGConsole2D::depth (  )  const [virtual]

2D objects are drawn from back to front, creating the perception of overlap.

0 = closest to the front, 1 = closest to the back.

Implements G3D::PosedModel2D.

void G3D::ReferenceCountedObject::ReferenceCountedObject_zeroWeakPointers (  )  [inline, inherited]

Automatically called immediately before the object is deleted.

This is not called from the destructor because it needs to be invoked before the subclass destructor.

virtual void G3D::GConsole::PosedGConsole2D::render ( RenderDevice rd  )  const [virtual]

Assumes that the RenderDevice is configured in in RenderDevice::push2D mode.

Implements G3D::PosedModel2D.

static void G3D::PosedModel2D::sort ( Array< PosedModel2DRef > &  array  )  [static, inherited]

Sorts from farthest to nearest.

static void G3D::PosedModel2D::sortAndRender ( RenderDevice rd,
Array< PosedModel2DRef > &  array 
) [static, inherited]

Calls sort, RenderDevice::push2D, and then render on all elements.


Member Data Documentation

The long name is to keep this from accidentally conflicting with a subclass's variable name.

Do not use or explicitly manipulate this value--its type may change in the future and is not part of the supported API.

Linked list of all weak pointers that reference this (some may be on the stack!).

Do not use or explicitly manipulate this value.


The documentation for this class was generated from the following file:
Generated on Thu Aug 2 11:40:45 2007 for G3D by doxygen 1.5.2
Hosted by SourceForge.net Logo