Assembly: AForge.Controls (in AForge.Controls.dll) Version: 2.2.5.0 (2.2.5.0)
Syntax
C# |
---|
public class ManipulatorControl : Control |
Remarks
The manipulator control can be used to mimic behaviour of analogue joystick using regular mouse. By dragging manipulator away from control's centre, it fires PositionChanged event notifying about its X/Y coordinates (or about R/Theta coordinates in Polar coordinates system).
For example, in robotics applications the control can be used to drive robots. If user drags manipulator
further from centre (increasing distance between centre and manipulator), then higher power (speed) should be
set for robot's motors. But dragging it in different directions away from centre should result in changing
robot's direction: straight forward, backward, turning right or left, etc.
Another possible application of the control is to control position of some device, etc.
For example, the control could be used with pan-tilt camera - by dragging control away from centre,
the camera may rotate in one of the directions.
Inheritance Hierarchy
System..::.MarshalByRefObject
System.ComponentModel..::.Component
System.Windows.Forms..::.Control
AForge.Controls..::.ManipulatorControl