In This Topic
VisualTool is the abstract base class for all visual tools, which can be used in
ImageViewer.
Each visual tool performs some sequence of operations on image, for example,
RectangularSelectionTool selects an area on the image via mouse, while
MagnifierTool enlarges certain image area. The sequence of operation over the image is referred to as "Action" of visual tool.
"Action" of visual tool begins from pressing on "Action Button" (
VisualTool.ActionButton). "Action Button" is a mouse button (left mouse button by default) after pressing which will be performed the "Action" of visual tool. If the Action is complicated then the visual tool can have several "Action Buttons", for example, DragDropSelectionTool has as well additional DragButton and DropButton.
Also the class allows to: