Contents Functions Classes Topics User Forum CVS

G3D::PosedModel2D Class Reference

#include <PosedModel.h>

Inherits G3D::ReferenceCountedObject.

List of all members.

Public Member Functions

virtual void render (RenderDevice *rd) const =0
virtual Rect2D bounds () const =0
virtual float depth () const =0
void ReferenceCountedObject_zeroWeakPointers ()

Static Public Member Functions

static void sort (Array< PosedModel2DRef > &array)

Public Attributes

AtomicInt32 ReferenceCountedObject_refCount
_WeakPtrLinkedListReferenceCountedObject_weakPointer


Detailed Description

Primarily for use in GUI rendering.


Member Function Documentation

virtual Rect2D G3D::PosedModel2D::bounds  )  const [pure virtual]
 

Conservative 2D rendering bounds.

virtual float G3D::PosedModel2D::depth  )  const [pure virtual]
 

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

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::PosedModel2D::render RenderDevice rd  )  const [pure virtual]
 

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

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

Sorts from farthest to nearest.


Member Data Documentation

AtomicInt32 G3D::ReferenceCountedObject::ReferenceCountedObject_refCount [inherited]
 

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.

_WeakPtrLinkedList* G3D::ReferenceCountedObject::ReferenceCountedObject_weakPointer [inherited]
 

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 Mon Jul 17 11:50:48 2006 for G3D by doxygen 1.4.5
Hosted by SourceForge.net Logo