#include <groupnode.h>
Inheritance diagram for GroupNode:
Public Member Functions | |
GroupNode (bool cache_br=true) | |
virtual bool | handle_event (Event *) |
bool | handle_event (RepaintEvent *) |
virtual bool | handle_message (Message *) |
void | reserve (long) |
void | add_child (SceneNode *) |
void | remove_child (SceneNode *) |
void | remove_child (int idx) |
void | remove_all_children (void) |
void | add_child (GroupNode *) |
void | remove_child (GroupNode *) |
void | get_boundrect (double &, double &, double &, double &) |
void | get_scenerect (double &, double &, double &, double &) |
void | translate (double dx, double dy) |
void | rotate (double ax, double ay, double rad) |
void | move (double newx, double newy) |
virtual bool | check_event_fitspixels (Event *) |
virtual void | listen_event (Event *) |
void | toggle_dynamic (bool) |
virtual | ~GroupNode () |
Protected Member Functions | |
void | recompute_boundrect (void) |
void | recompute_scenerect (void) |
Protected Attributes | |
long | childcount |
long | alloccount |
double | brx1 |
Cached boundrect. | |
double | bry1 |
Cached boundrect. | |
double | brx2 |
Cached boundrect. | |
double | bry2 |
Cached boundrect. | |
double | scx1 |
Cached scenerect. | |
double | scy1 |
Cached scenerect. | |
double | scx2 |
Cached scenerect. | |
double | scy2 |
Cached scenerect. | |
BaseSceneNode ** | children_arr |
BaseSceneNode ** | childbuf |
bool | dynamic_boundrect |
bool | cache_boundrect |
|
|
Here is the call graph for this function:
|
|
Here is the call graph for this function:
|
|
Here is the call graph for this function:
|
|
Here is the call graph for this function:
|
The default Event handler passes all events down to its children Reimplemented from BaseSceneNode. Reimplemented in BorderLayer< SP >, ContainerNode, HUDGroupNode, and LayerNode. |
Here is the call graph for this function:
|
|
Here is the call graph for this function:
|
The default Message handler just passes the request down to its children in hope that the target is one of them. Reimplemented from BaseSceneNode. |
Here is the call graph for this function:
|
|
|
|
Here is the call graph for this function:
|
|
Here is the call graph for this function:
|
|
Here is the call graph for this function:
|
|
Here is the call graph for this function:
|
|
Here is the call graph for this function:
|
|
Here is the call graph for this function:
|
This function should be overloaded in every node to provide for event handling and repaint. Implements BaseSceneNode. Reimplemented in BorderLayer< SP >, and HUDGroupNode. |
Here is the call graph for this function:
|
This function is used to compute scene bounds. Certain types of nodes, e.g. HUDGroups will return an invalid rect here. Reimplemented from BaseSceneNode. Reimplemented in HUDGroupNode. |
Here is the call graph for this function:
|
Reimplemented from BaseSceneNode. |
Here is the call graph for this function:
|
Reimplemented from BaseSceneNode. |
Here is the call graph for this function:
|
Reimplemented from BaseSceneNode. |
Here is the call graph for this function:
|
This function should be overloaded in every node to provide for event handling. Implements BaseSceneNode. |
Here is the call graph for this function:
|
Reimplemented from EventListener. Reimplemented in HUDGroupNode. |
Here is the call graph for this function:
|
|
Here is the call graph for this function:
|
|
|
|
|
Cached boundrect.
|
|
Cached boundrect.
|
|
Cached boundrect.
|
|
Cached boundrect.
|
|
Cached scenerect.
|
|
Cached scenerect.
|
|
Cached scenerect.
|
|
Cached scenerect.
|
|
|
|
|
|
recomputing the boundrect at initial loading stage may slow down the app. Turn dynamic_boundrect off when you first load the children, then make sure to turn it back on if you have a dynamic scene. Default is true. |
|
recomputing the boundrect at initial loading stage may slow down the app. Turn dynamic_boundrect off when you first load the children, then make sure to turn it back on if you have a dynamic scene. Default is true. |