Jive reference manual
List of all members | Public Types | Public Member Functions | Public Attributes | Protected Member Functions
jive::gl::GfxShape Class Reference

#include <jive/gl/GfxShape.h>

Inheritance diagram for jive::gl::GfxShape:
Inheritance graph

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
 
- Public Member Functions inherited from jem::Object
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 ()
 
- Protected Member Functions inherited from jem::Collectable
 Collectable ()
 Creates an empty Collectable. More...
 
 ~Collectable ()
 Frees resources. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from jem::Object
static Class * getType ()
 Returns the Class instance representing the Object class. More...
 

Member Enumeration Documentation

Enumerator
NONE 
POINT 
LINE 
FACE 

Constructor & Destructor Documentation

jive::gl::GfxShape::GfxShape ( )
jive::gl::GfxShape::GfxShape ( TypeID  tid)
explicitprotected
virtual jive::gl::GfxShape::~GfxShape ( )
protectedvirtual

Member Function Documentation

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

Member Data Documentation

const TypeID jive::gl::GfxShape::type