
198 Chapter 8: Creating a Manipulator
Predefined iTool Manipulators iTool Developer’s Guide
Predefined iTool Manipulators
The iTool system distributed with IDL includes a number of predefined manipulators.
You can include these manipulators in an iTool directly by registering the class with
your iTool (as described in “Registering a Manipulator” on page 223). You can also
create a new manipulator class based on one of the predefined classes.
Predefined manipulators include those which are containers (subclassing from
IDLitManipulatorContainer), and those which are visualization manipulators
(subclassing from IDLitManipulator). The manipulators themselves allow the user to
select and interact with the visualization through mouse movements and keyboard
events.
General Manipulators
The following manipulators are available to any tool that subclasses from
IDLitToolbase unless otherwise noted.
IDLitManipArrow
The arrow manipulator (IDLitManipArrow) is used to select a visualization object in
the iTool window. It is also a container for the following manipulators:
• IDLitManipTranslate — repositions the visualization
• IDLitManipScale — resizes the visualization
• IDLitManipLine — moves the endpoint vertices of a selected line segment
• IDLitManipView — translates and scales views, enabling functionality based
on cursor position within the iTool window
• IDLitManipImagePlane — moves an image plane in an iVolume tool window
or in a window of a tool that subclasses from IDLitToolVolume.
IDLitManipAnnotation
The annotation manipulator (IDLitManipAnnotation) is used to add text, lines, or
shapes to an iTool window. The following annotation manipulators subclass from
IDLitManipAnnotation:
• IDLitAnnotateText — adds text to the iTool window
• IDLitAnnotateLine — adds a line to the iTool window
• IDLitAnnotateRectangle — adds a rectangle to the iTool window