Jive reference manual
List of all members | Classes | Public Member Functions | Static Public Attributes | Protected Member Functions | Friends
jem::gl::Orb Class Reference

#include <jem/gl/Orb.h>

Inheritance diagram for jem::gl::Orb:
Inheritance graph

Public Member Functions

 Orb (int quality=2)
 
int getQuality () const
 
void setQuality (int quality)
 
int changeQuality (int delta)
 
void drawOrb (GLfloat radius, int parts=ALL_PARTS) const
 
void drawUnitOrb (int parts=ALL_PARTS) 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...
 

Static Public Attributes

static const int PART0
 
static const int PART1
 
static const int PART2
 
static const int PART3
 
static const int PART4
 
static const int PART5
 
static const int PART6
 
static const int PART7
 
static const int DOME0
 
static const int DOME1
 
static const int DOME2
 
static const int DOME3
 
static const int DOME4
 
static const int DOME5
 
static const int ALL_PARTS
 
static const int MAX_QUALITY
 

Protected Member Functions

virtual ~Orb ()
 
- Protected Member Functions inherited from jem::Collectable
 Collectable ()
 Creates an empty Collectable. More...
 
 ~Collectable ()
 Frees resources. More...
 

Friends

class Patch_
 

Additional Inherited Members

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

Constructor & Destructor Documentation

jem::gl::Orb::Orb ( int  quality = 2)
explicit
virtual jem::gl::Orb::~Orb ( )
protectedvirtual

Member Function Documentation

int jem::gl::Orb::getQuality ( ) const
void jem::gl::Orb::setQuality ( int  quality)
int jem::gl::Orb::changeQuality ( int  delta)
void jem::gl::Orb::drawOrb ( GLfloat  radius,
int  parts = ALL_PARTS 
) const
void jem::gl::Orb::drawUnitOrb ( int  parts = ALL_PARTS) const

Friends And Related Function Documentation

friend class Patch_
friend

Member Data Documentation

const int jem::gl::Orb::PART0
static
const int jem::gl::Orb::PART1
static
const int jem::gl::Orb::PART2
static
const int jem::gl::Orb::PART3
static
const int jem::gl::Orb::PART4
static
const int jem::gl::Orb::PART5
static
const int jem::gl::Orb::PART6
static
const int jem::gl::Orb::PART7
static
const int jem::gl::Orb::DOME0
static
const int jem::gl::Orb::DOME1
static
const int jem::gl::Orb::DOME2
static
const int jem::gl::Orb::DOME3
static
const int jem::gl::Orb::DOME4
static
const int jem::gl::Orb::DOME5
static
const int jem::gl::Orb::ALL_PARTS
static
const int jem::gl::Orb::MAX_QUALITY
static