Jive reference manual
|
#include <jive/gl/GfxShape.h>
Public Types | |
enum | TypeID { NONE, POINT, LINE, FACE } |
Public Member Functions | |
GfxShape () | |
bool | isPoint () const |
bool | isLine () const |
bool | isFace () const |
GfxPoint * | toPoint () |
const GfxPoint * | toPoint () const |
GfxLine * | toLine () |
const GfxLine * | toLine () const |
GfxFace * | toFace () |
const GfxFace * | toFace () const |
![]() | |
virtual Class * | getClass () const |
Returns the Class instance representing the runtime class of this object. More... | |
virtual String | toString () const |
Returns a short textual description of this object. More... | |
virtual long | hashValue () const |
Returns a hash value for this object. More... | |
virtual bool | equals (const Ref< Object > &obj) const |
Tests whether two objects are equal. More... | |
Ref< Object > | clone () const |
Returns a copy of this object. More... | |
Public Attributes | |
const TypeID | type |
Protected Member Functions | |
GfxShape (TypeID tid) | |
virtual | ~GfxShape () |
![]() | |
Collectable () | |
Creates an empty Collectable . More... | |
~Collectable () | |
Frees resources. More... | |
Additional Inherited Members | |
![]() | |
static Class * | getType () |
Returns the Class instance representing the Object class. More... | |
jive::gl::GfxShape::GfxShape | ( | ) |
|
explicitprotected |
|
protectedvirtual |
bool jive::gl::GfxShape::isPoint | ( | ) | const |
bool jive::gl::GfxShape::isLine | ( | ) | const |
bool jive::gl::GfxShape::isFace | ( | ) | const |
GfxPoint * jive::gl::GfxShape::toPoint | ( | ) |
const GfxPoint * jive::gl::GfxShape::toPoint | ( | ) | const |
GfxLine * jive::gl::GfxShape::toLine | ( | ) |
const GfxLine * jive::gl::GfxShape::toLine | ( | ) | const |
GfxFace * jive::gl::GfxShape::toFace | ( | ) |
const GfxFace * jive::gl::GfxShape::toFace | ( | ) | const |
const TypeID jive::gl::GfxShape::type |