![]() Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Manager interactor class. More...
#include <ilviews/manager/mkpolyin.h>
Public Member Functions | |
| IlvMakeArrowPolylineInteractor (IlvManager *manager, IlvView *view, IlBoolean alllines=IlFalse, IlFloat atpos=1.0) | |
| Constructor. | |
| virtual void | doIt (IlUInt count, IlvPoint *points) |
Finalizes the interaction by creating an IlvArrowPolyline object. | |
| virtual void | drawGhost () |
| Visual feedback during interaction. | |
Manager interactor class.
Library: ilvmgr
Use this class to create IlvArrowPolyline objects in a view controlled by a manager. The virtual member function handleEvent monitors mouse events. To draw a polyline, the user:
Clicks the left mouse button to set the point.
Presses the space bar, the enter key or double-clicks to finish.
| IlvMakeArrowPolylineInteractor::IlvMakeArrowPolylineInteractor | ( | IlvManager * | manager, | |
| IlvView * | view, | |||
| IlBoolean | alllines = IlFalse, |
|||
| IlFloat | atpos = 1.0 | |||
| ) |
Constructor.
Initializes a new instance of the IlvMakeArrowPolylineInteractor class.
| manager | The manager. | |
| view | The manager view. | |
| alllines | Not documented. | |
| atpos | Not documented. |
Finalizes the interaction by creating an IlvArrowPolyline object.
Creates an IlvArrowPolyline in the manager from the array of points provided during the interaction.
| count | The number of points in the array. | |
| points | The array of points, in the object coordinate system. |
Reimplemented from IlvMakePolylineInteractor.
| virtual void IlvMakeArrowPolylineInteractor::drawGhost | ( | ) | [virtual] |
Visual feedback during interaction.
Draws a polyline in XOR mode.
Reimplemented from IlvMakePolylineInteractor.
© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.