SimpleDrawable Class Reference
[Basic]

Base class for a node that can be drawn on screen. More...

#include <SimpleDrawable.hpp>

Inheritance diagram for SimpleDrawable:
SimpleTransformable Drawable Node Transformable NodeListener Identifiable Fullscreen Shape Cone Disk Hexahedron Line Square Boolean Box Cube BooleanAnd BooleanXor

List of all members.

Public Member Functions

 SimpleDrawable (const Tag &tag)
virtual void draw () const =0
virtual bool isSelectable () const
virtual bool isSelected () const
virtual bool isVisible () const
virtual void setSelected (bool selected)
virtual void setVisible (bool visible)
virtual void toggleSelected ()
virtual void toggleVisible ()
virtual string toString () const

Protected Attributes

bool selectable
bool selected
bool visible

Detailed Description

Base class for a node that can be drawn on screen.


Constructor & Destructor Documentation

SimpleDrawable ( const Tag tag  ) 

Initializes the selected, visible, and selectable attributes.


Member Function Documentation

string toString (  )  const [virtual]
Returns:
String comprised of the object's attributes.

Implements Identifiable.

Reimplemented in Boolean, BooleanXor, and Shape.


The documentation for this class was generated from the following files:
Generated on Wed Jun 9 01:36:37 2010 for Gander by  doxygen 1.6.3