#include <basescenenode.h>
Inheritance diagram for BaseSceneNode:
Public Member Functions | |
virtual void | get_boundrect (double &, double &, double &, double &)=0 |
virtual void | get_scenerect (double &, double &, double &, double &) |
virtual bool | handle_event (Event *) |
virtual bool | handle_message (Message *) |
virtual bool | check_event_fitspixels (Event *)=0 |
virtual BaseSceneNode * | get_child (void) |
virtual void | translate (double dx, double dy) |
virtual void | rotate (double ax, double ay, double rad) |
virtual void | move (double newx, double newy) |
virtual | ~BaseSceneNode () |
Protected Member Functions | |
bool | check_event_fitsrect (Event *e) |
bool | check_node_visible (Event *e) |
void | resize (double newsize) |
double | get_size (void) |
Static Protected Attributes | |
std::map< BaseSceneNode *, double > | resize_map |
|
|
|
|
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. Implemented in BorderLayer< SP >, DefaultCursorNode, HUDGroupNode, ZoomDecorator< ZP, maxzoom >, GroupNode, LeafNode, and SceneNode. |
|
This function is used to compute scene bounds. Certain types of nodes, e.g. HUDGroups will return an invalid rect here. Reimplemented in HUDGroupNode, and GroupNode. |
Here is the call graph for this function:
|
call the base event handler in all nodes because it provides checks for node visibility and mouse event fitting into bounding rectangle. Reimplemented in ActiveLeaf, BorderLayer< SP >, ContainerNode, CursorPolicyNode, DefaultCursorNode, EventFilter, AreaFilter, HUDGroupNode, ZoomDecorator< ZP, maxzoom >, ZoomSceneNode< ZP, maxzoom >, GroupNode, LayerNode, LeafNode, and SceneNode. |
Here is the call graph for this function:
|
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 in ActiveLeaf, DefaultCursorNode, GroupNode, LeafNode, and SceneNode. |
Here is the call graph for this function:
|
This function should be overloaded in every node to provide for event handling. Implemented in DefaultCursorNode, ZoomDecorator< ZP, maxzoom >, GroupNode, and SceneNode. |
|
this one always returns NULL for BaseSceneNode. SceneNode and GroupNode override this function. Reimplemented in SceneNode. |
|
|
|
|
|
|
|
|