ZoomDecorator< ZP, maxzoom > Class Template Reference
Inheritance diagram for ZoomDecorator< ZP, maxzoom >:
[legend]Collaboration diagram for ZoomDecorator< ZP, maxzoom >:
[legend]
Detailed Description
template<class ZP, int maxzoom>
class ZoomDecorator< ZP, maxzoom >
ZoomDecorator draws the zoom rectangle and performs the zoom at mouseUp.
Zoom behaviour may be customized via the use of various ZoomPolicy classes.
Constructor & Destructor Documentation
Member Function Documentation
template<class ZP, int maxzoom> |
void ZoomDecorator< ZP, maxzoom >::get_boundrect |
( |
double & |
, |
|
|
double & |
, |
|
|
double & |
, |
|
|
double & |
|
|
) |
[virtual] |
|
|
This function should be overloaded in every node to provide for event handling and repaint.
Implements BaseSceneNode. |
Here is the call graph for this function:
template<class ZP, int maxzoom> |
bool ZoomDecorator< ZP, maxzoom >::check_event_fitspixels |
( |
Event * |
|
) |
[virtual] |
|
|
This function should be overloaded in every node to provide for event handling.
Implements BaseSceneNode. |
Here is the call graph for this function:
template<class ZP, int maxzoom> |
bool ZoomDecorator< ZP, maxzoom >::handle_event |
( |
Event * |
|
) |
[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 BaseSceneNode. |
Here is the call graph for this function:
template<class ZP, int maxzoom> |
void ZoomDecorator< ZP, maxzoom >::listen_event |
( |
Event * |
e |
) |
[virtual] |
|
Here is the call graph for this function:
Here is the call graph for this function:
Field Documentation
template<class ZP, int maxzoom> |
double ZoomDecorator< ZP, maxzoom >::rx1 [protected]
|
|
template<class ZP, int maxzoom> |
double ZoomDecorator< ZP, maxzoom >::ry1 [protected]
|
|
template<class ZP, int maxzoom> |
double ZoomDecorator< ZP, maxzoom >::rx2 [protected]
|
|
template<class ZP, int maxzoom> |
double ZoomDecorator< ZP, maxzoom >::ry2 [protected]
|
|
template<class ZP, int maxzoom> |
double ZoomDecorator< ZP, maxzoom >::ox1 [protected]
|
|
template<class ZP, int maxzoom> |
double ZoomDecorator< ZP, maxzoom >::oy1 [protected]
|
|
template<class ZP, int maxzoom> |
double ZoomDecorator< ZP, maxzoom >::ox2 [protected]
|
|
template<class ZP, int maxzoom> |
double ZoomDecorator< ZP, maxzoom >::oy2 [protected]
|
|
template<class ZP, int maxzoom> |
double ZoomDecorator< ZP, maxzoom >::bx1 [protected]
|
|
template<class ZP, int maxzoom> |
double ZoomDecorator< ZP, maxzoom >::by1 [protected]
|
|
template<class ZP, int maxzoom> |
double ZoomDecorator< ZP, maxzoom >::bx2 [protected]
|
|
template<class ZP, int maxzoom> |
double ZoomDecorator< ZP, maxzoom >::by2 [protected]
|
|
template<class ZP, int maxzoom> |
double ZoomDecorator< ZP, maxzoom >::adj [protected]
|
|
The documentation for this class was generated from the following file:
Generated on Wed Jun 23 18:47:41 2004 for cZUI by
1.3.5