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
 
GfxPointtoPoint ()
 
const GfxPointtoPoint () const
 
GfxLinetoLine ()
 
const GfxLinetoLine () const
 
GfxFacetoFace ()
 
const GfxFacetoFace () const
 
- Public Member Functions inherited from jem::Object
virtual ClassgetClass () 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< Objectclone () 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 ClassgetType ()
 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