Manager interactor class. More...
#include <ilviews/manager/geointer.h>
Public Member Functions | |
IlvMakeUnZoomInteractor (IlvManager *manager, IlvView *view) | |
Constructor. More... | |
virtual void | doIt (IlvRect &rect) |
Action performed to finalize the interaction. More... | |
void | useDefaultTransitionScheduler (IlBoolean value=IlTrue, IlUInt duration=1000) |
Tells the interactor whether to use the default transition scheduler to unzoom the view. More... | |
Public Member Functions inherited from IlvDragRectangleInteractor | |
IlvDragRectangleInteractor (IlvManager *manager, IlvView *view, IlUShort button=IlvLeftButton, IlBoolean snap=IlTrue) | |
Constructor. More... | |
virtual void | abort () |
Abort the interaction. More... | |
virtual void | doPoint (const IlvPoint &p) |
Called when the selected rectangle is reduced to a point. More... | |
virtual void | drawGhost () |
Visual feedback during the interaction. More... | |
IlvRect & | getRectangle () |
Returns the selected rectangle. More... | |
virtual IlBoolean | handleEvent (IlvEvent &event) |
Handles keyboard and mouse events. More... | |
virtual void | init () |
Initialization, when the interactor is attached to a view. More... | |
Public Member Functions inherited from IlvManagerViewInteractor | |
IlvManagerViewInteractor (IlvManager *manager, IlvView *view) | |
Initializes a new IlvManagerViewInteractor . More... | |
virtual void | ensureVisible (const IlvPoint &point) |
Ensures the visibility of a given location. More... | |
IlvDisplay * | getDisplay () const |
Returns the display of the manager view. More... | |
IlvManager * | getManager () const |
Returns the manager. More... | |
IlvTransformer * | getTransformer () const |
Returns the transformer used with the manager view. More... | |
IlvView * | getView () const |
Returns the manager view. More... | |
virtual void | handleExpose (IlvRegion *clip=0) |
Called when the manager view receives an expose event. More... | |
Manager interactor class.
Library: ilvmgr
Use this class to zoom out in a view.
IlvManager
, IlvView
, IlvTransformer
. IlvMakeUnZoomInteractor::IlvMakeUnZoomInteractor | ( | IlvManager * | manager, |
IlvView * | view | ||
) |
Constructor.
Initializes a new instance of the IlvMakeUnZoomInteractor
class.
manager | The manager. |
view | The manager view. |
|
virtual |
Action performed to finalize the interaction.
Modifies the IlvTransformer
associated with the view. The new transformer is computed in such a way that, when applied to the client area of the view, the result is rect
.
rect | The rectangle used to compute the new transformer. |
Reimplemented from IlvDragRectangleInteractor.
void IlvMakeUnZoomInteractor::useDefaultTransitionScheduler | ( | IlBoolean | value = IlTrue , |
IlUInt | duration = 1000 |
||
) |
Tells the interactor whether to use the default transition scheduler to unzoom the view.
value | A Boolean value specifying whether to use or not the default transition scheduler to unzoom the view. If value is IlFalse , no transition scheduler will be used. |
duration | The duration that the transition will take to complete. The value is a number of milliseconds. |