Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

RotateTool - tool for rotating components

Description

       RotateTool lets the user rotate components by direct manipulation.

Name

       RotateTool - tool for rotating components

Public Operations

RotateTool(ControlInfo*=nil)
              Create a new RotateTool.

       virtualManipulator*CreateManipulator(Viewer*,Event&,Transformer*)virtualvoidInterpretManipulator(Manipulator*)
              CreateManipulator detects whether the user clicked on a component.  If not, it clears the editor's
              selection  and  returns  a  nil manipulator.  If a component was hit, and if the component was not
              previously selected, then CreateManipulator clears the editor's selection, selects  the  component
              the  user  hit, and delegates manipulator creation and interpretation to it.  If the component was
              the only selected component, it again delegates manipulator creation  and  interpretation  to  the
              component, but the selection is unaltered.  If the user clicks on one of many selected components,
              then  CreateManipulator will delegate manipulator creation and interpretation to the hit component
              without altering the selection.

See Also

Tool(3U)

Unidraw                                          24 January 1991                                  RotateTool(3U)

Synopsis

#include<Unidraw/Tools/rotate.h>

See Also