For all draggers subclassed from SoDragger, the user employs a click-drag-release motion with the mouse. Uses of Draggers indicates the use of each dragger subclassed from SoDragger. For example, the drag-point dragger responds to dragging by translating in three dimensions.
Subclasses of SoDragger fall into two general categories: simple draggers and compound draggers. In general, simple draggers perform only one operation, such as a scale or a translation. Compound draggers perform several operations and are composed of multiple simple draggers. Simple draggers can be used in three ways:
Dragger | Use |
---|---|
SoCenterballDragger | rotation, center |
SoDirectionalLightDragger | rotation |
SoDragPointDragger | translation |
SoHandleBoxDragger | translation, scale |
SoJackDragger | rotation, translation, uniform scale (three dimensions) |
SoPointLightDragger | translation |
SoRotateCylindricalDragger | rotation |
SoRotateDiscDragger | rotation |
SoRotateSphericalDragger | rotation |
SoScale1Dragger | scale (one dimension) |
SoScale2Dragger | scale (two dimensions) |
SoScaleUniformDragger | uniform scale (three dimensions) |
SoScale2UniformDragger | uniform scale (two dimensions) |
SoSpotLightDragger | translation, rotation, cone angle |
SoTabBoxDragger | scale, translation |
SoTabPlaneDragger | scale (two dimensions), translation (two dimensions) |
SoTrackballDragger | rotation, scale |
SoTransformBoxDragger | rotation, translation, scale |
SoTranslate1Dragger | translation (one dimension) |
SoTranslate2Dragger | translation (two dimensions) |