SimpleLeafNode Class Reference
Inheritance diagram for SimpleLeafNode:
[legend]Collaboration diagram for SimpleLeafNode:
[legend]
Constructor & Destructor Documentation
SimpleLeafNode::SimpleLeafNode |
( |
double |
, |
|
|
double |
, |
|
|
double |
|
|
) |
|
|
Member Function Documentation
void SimpleLeafNode::paint |
( |
Camera * |
|
) |
[virtual] |
|
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
The documentation for this class was generated from the following file:
Generated on Fri Jun 4 01:07:49 2004 for cZUI by
1.3.5