IGS_Object Class Reference

#include <basic/geometry/IGS/IGS_Object.h>

Inherited by IGS_Circle [virtual], IGS_Group, IGS_Material, IGS_MeshBase, IGS_Polygon [virtual], and IGS_Segment.

Inheritance diagram for IGS_Object:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 IGS_Object ()
virtual ~IGS_Object ()
virtual int BinaryFileSize () const
void CreateDisplayList (const IGS_Controller &controller) const
const char * GetIdCode () const
virtual void GlDraw (const IGS_Controller &controller) const
virtual void Prepare (const IGS_Controller &controller)
virtual bool ReadBinary (char *buffer)
virtual void Render (const IGS_Controller &controller) const =0
virtual void WriteBinary (char *buffer) const

Static Public Member Functions

static int GenerateUid ()

Protected Member Functions

void GlDraw (const Vector2 &point) const
void GlDraw (const Vector4 &point) const
bool PreparationComplete () const

Protected Attributes

int m_DisplayListNumber
int mUid
bool mPreparationComplete

Static Protected Attributes

static char g_IdCode [] = "OBJE"

Detailed Description

Definition at line 8 of file IGS_Object.h.


Constructor & Destructor Documentation

IGS_Object::IGS_Object  ) 
 

Definition at line 17 of file IGS_Object.cpp.

IGS_Object::~IGS_Object  )  [virtual]
 

Definition at line 29 of file IGS_Object.cpp.


Member Function Documentation

int IGS_Object::BinaryFileSize  )  const [virtual]
 

Definition at line 39 of file IGS_Object.cpp.

void IGS_Object::CreateDisplayList const IGS_Controller controller  )  const
 

Definition at line 49 of file IGS_Object.cpp.

References CheckGlErrorCode(), IJG_Assert, m_DisplayListNumber, and Render().

Referenced by GlDraw().

Here is the call graph for this function:

int IGS_Object::GenerateUid  )  [static]
 

Definition at line 72 of file IGS_Object.cpp.

const char * IGS_Object::GetIdCode  )  const
 

Definition at line 84 of file IGS_Object.cpp.

References g_IdCode.

Referenced by WriteBinary().

void IGS_Object::GlDraw const Vector4 point  )  const [protected]
 

Definition at line 120 of file IGS_Object.cpp.

void IGS_Object::GlDraw const Vector2 point  )  const [protected]
 

Definition at line 110 of file IGS_Object.cpp.

void IGS_Object::GlDraw const IGS_Controller controller  )  const [virtual]
 

Definition at line 94 of file IGS_Object.cpp.

References CreateDisplayList(), and m_DisplayListNumber.

Here is the call graph for this function:

bool IGS_Object::PreparationComplete  )  const [protected]
 

Definition at line 130 of file IGS_Object.cpp.

References mPreparationComplete.

Referenced by IGS_MeshTri::Prepare(), and IGS_Mesh::Prepare().

void IGS_Object::Prepare const IGS_Controller controller  )  [virtual]
 

Reimplemented in IGS_Circle, IGS_Group, IGS_Mesh, IGS_MeshTri, and IGS_Polygon.

Definition at line 140 of file IGS_Object.cpp.

References mPreparationComplete.

Referenced by IGS_MeshTri::Prepare(), and IGS_Mesh::Prepare().

bool IGS_Object::ReadBinary char *  buffer  )  [virtual]
 

Definition at line 150 of file IGS_Object.cpp.

References IJG_Assert.

virtual void IGS_Object::Render const IGS_Controller controller  )  const [pure virtual]
 

Implemented in IGS_Circle, IGS_Group, IGS_Material, IGS_Mesh, IGS_MeshTri, IGS_Polygon, and IGS_Segment.

Referenced by CreateDisplayList().

void IGS_Object::WriteBinary char *  buffer  )  const [virtual]
 

Definition at line 161 of file IGS_Object.cpp.

References GetIdCode().

Here is the call graph for this function:


Member Data Documentation

char IGS_Object::g_IdCode = "OBJE" [static, protected]
 

Definition at line 28 of file IGS_Object.h.

Referenced by GetIdCode().

int IGS_Object::m_DisplayListNumber [mutable, protected]
 

Definition at line 30 of file IGS_Object.h.

Referenced by CreateDisplayList(), and GlDraw().

bool IGS_Object::mPreparationComplete [protected]
 

Definition at line 32 of file IGS_Object.h.

Referenced by PreparationComplete(), and Prepare().

int IGS_Object::mUid [protected]
 

Definition at line 31 of file IGS_Object.h.


The documentation for this class was generated from the following files:
Generated on Sat Apr 1 21:49:21 2006 for Motion Planning Kernel by  doxygen 1.4.6-NO