OOF2: The Manual
Name
OOF.Graphics_n.Toolbox.Select_Node.Single_Node — Select a single node.
Synopsis
OOF.Graphics_n.Toolbox.Select_Node.Single_Node(skeleton
,points
,shift
,ctrl
)
Details
- Parent Menu: OOF.Graphics_n.Toolbox.Select_Node
-
Callback: function
SkelSelectToolbox.selectCB
in moduleooflib.common.IO.genericselecttoolbox
-
Parameters:
Description
SingleNodeSelect is a selection
method that selects Nodes
in response to a mouse click in
the graphics window when
the Skeleton
Selection toolbox is active and is set to
“Node” mode. It selects a single Node
.
skeleton
is the Skeleton
from which a Node
is
to be selected.
points
is a list of
Point objects. The Node
closest to the
first point in the list will be selected. Any other points in the
list will be ignored.
The shift
and ctrl
parameters govern how the current selection
(i.e, the set of Nodes
defined by
this operation) is merged with the previous selection (the Nodes
already selected) to form a new selection, as shown in Table 6.1. They indicate whether
(1
) or not (0
) the
shift and control keys were depressed during the mouse click that
initiated this command.