Main Page | Namespace List | Class Hierarchy | Data Structures | File List | Data Fields | Globals

SimpleLeafNode Class Reference

Inheritance diagram for SimpleLeafNode:

Inheritance graph
[legend]
Collaboration diagram for SimpleLeafNode:

Collaboration graph
[legend]

Public Member Functions

 SimpleLeafNode (double, double, double)
void paint (Camera *)
void paint_red (Camera *)
void get_boundrect (double &, double &, double &, double &)
bool handle_event (Event *e)
bool handle_message (Message *m)
bool check_event_fitspixels (Event *e)
void mouse_in (Camera *)
void mouse_out (Camera *)

Protected Attributes

double pointsize

Constructor & Destructor Documentation

SimpleLeafNode::SimpleLeafNode double  ,
double  ,
double 
 


Member Function Documentation

void SimpleLeafNode::paint Camera  )  [virtual]
 

Implements LeafNode.

Here is the call graph for this function:

void SimpleLeafNode::paint_red Camera  ) 
 

Here is the call graph for this function:

void SimpleLeafNode::get_boundrect double &  ,
double &  ,
double &  ,
double & 
[virtual]
 

You must override this function to provide an accurate estimation of the bounding rectangle. Make sure the function is as "light" as possible because it will be called very often.

Implements LeafNode.

bool SimpleLeafNode::handle_event Event e  )  [virtual]
 

call the base event handler in all nodes because it provides checks for node visibility and mouse event fitting into bounding rectangle.

Reimplemented from LeafNode.

Here is the call graph for this function:

bool SimpleLeafNode::handle_message Message m  )  [virtual]
 

messages are intended to a certain node but can be processed by nodes directly higher up (i.e. decorator nodes). Beware that this can be slow for large graphs but using smart group nodes can help.

Reimplemented from LeafNode.

Here is the call graph for this function:

bool SimpleLeafNode::check_event_fitspixels Event e  )  [virtual]
 

This function should be overloaded in every node to provide for event handling.

Implements BaseSceneNode.

Here is the call graph for this function:

void SimpleLeafNode::mouse_in Camera  ) 
 

void SimpleLeafNode::mouse_out Camera  ) 
 


Field Documentation

double SimpleLeafNode::pointsize [protected]
 


The documentation for this class was generated from the following file:
Generated on Fri Jun 4 01:07:49 2004 for cZUI by doxygen 1.3.5