Views
Manager Package API Reference Guide
Product Documentation:
Views Documentation Home
List of all members | Public Member Functions
IlvMakeUnZoomInteractor Class Reference

Manager interactor class. More...

#include <ilviews/manager/geointer.h>

Inheritance diagram for IlvMakeUnZoomInteractor:
IlvDragRectangleInteractor IlvManagerViewInteractor IlvValueInterface

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...
 
IlvRectgetRectangle ()
 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...
 
IlvDisplaygetDisplay () const
 Returns the display of the manager view. More...
 
IlvManagergetManager () const
 Returns the manager. More...
 
IlvTransformergetTransformer () const
 Returns the transformer used with the manager view. More...
 
IlvViewgetView () const
 Returns the manager view. More...
 
virtual void handleExpose (IlvRegion *clip=0)
 Called when the manager view receives an expose event. More...
 

Detailed Description

Manager interactor class.

Library: ilvmgr

Use this class to zoom out in a view.

See also
IlvManager, IlvView, IlvTransformer.

Constructor & Destructor Documentation

◆ IlvMakeUnZoomInteractor()

IlvMakeUnZoomInteractor::IlvMakeUnZoomInteractor ( IlvManager manager,
IlvView view 
)

Constructor.

Initializes a new instance of the IlvMakeUnZoomInteractor class.

Parameters
managerThe manager.
viewThe manager view.

Member Function Documentation

◆ doIt()

virtual void IlvMakeUnZoomInteractor::doIt ( IlvRect rect)
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.

Parameters
rectThe rectangle used to compute the new transformer.

Reimplemented from IlvDragRectangleInteractor.

◆ useDefaultTransitionScheduler()

void IlvMakeUnZoomInteractor::useDefaultTransitionScheduler ( IlBoolean  value = IlTrue,
IlUInt  duration = 1000 
)

Tells the interactor whether to use the default transition scheduler to unzoom the view.

Parameters
valueA 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.
durationThe duration that the transition will take to complete. The value is a number of milliseconds.