Package com.keenedgesoftware.scrutinize.core.graphics.commands

Class Summary
CentreCommand Centres the view on a selected entity or on a picked free position.

Examples:
$centre "select /p2 true 7.0 -7.0 0.0"
$centre "button1Down 0 0.05 0.22 7.11 22.84 100.0"
DeleteAllCommand Deletes everything in the scene graph.

Example:
$deleteAll
DeleteCommand Deletes the current selection.

Example:
$delete
DeleteNodeCommand Deletes the specified node.
FitCommand Modifies the active view's camera to fit the scene.

Example:
$fit
GArrowCommand Creates an arrow as a child of the current selection or specified node.
GArrowheadCommand Creates an arrowhead as a child of the current selection or specified node.
GAxesCommand Creates a set of axes as a child of the current selection or specified node.
GGroupCommand Creates an empty group with the specified owner and the given name.

Examples:
$ggroup "/a1" "name=b8";
GLineArrayCommand Creates a graphical line segment array from basic dataas a child of the current selection or specified node.
GLineCommand Creates a graphical line from basic data as a child of the current selection or specified node.
GMeshCommand Creates a graphical indexed triangle array from basic data as a child of the current selection or specified node.
GPointArrayCommand Creates a graphical point array from basic data as a child of the current selection or specified node.
GPointCommand Creates a graphical point from basic data as a child of the current selection or specified node.
GPolylineArrayCommand Creates a graphical polyline array from basic data as a child of the current selection or specified node.
GPolylineCommand Creates a graphical polyline from basic dataas a child of the current selection or specified node.
GQuadArrayCommand Creates a graphical quad array from basic data as a child of the current selection or specified node.
GraphicsCommand Base class for graphics commands
HiliteNodeCommand Hilites the specified node.

Example:
$hiliteNode "/a2/a2/e3"
HomeCommand Sets the active camera to be the home camera.

Example:
$home
MoveCommand Translates the specified node or current selection by the specified vector.

Examples:
$move 3 4 5
$move "/a1/a2/e3" 3 4 5
NextViewCommand Restores the next camera

Example:
$undoView
PanDynamicCommand Pans the active view dynamically under control of the mouse.

Example:
$panDynamic
"button1Down 0 0.04024767801857587 -0.09363295880149813 107.09039172800941 124.95665326048207 -137.07409167785175"
"drag 0 0.034055727554179516 -0.09363295880149813 108.23688946964673 124.9468782747747 -136.15765896716573"
"drag 0 0.021671826625387025 -0.08614232209737827 110.15432216540701 126.2611304013943 -133.84072114309564"
"button1Up 0 0.009287925696594534 -0.08614232209737827 109.38338721128409 124.93710328906727 -135.24122625647976"
PreviousViewCommand Restores the previous camera

Example:
$undoView
ResetHomeCommand Resets the home camera to default values.

Example:
$resetHome
RotateCommand Rotates the specified node or current selection around the specified axis by the specified angle in degrees.

Examples:
$rotate 3 4 5 0 0 1 30
$rotate "/a1/a2/e3" 3 4 5 0 0 1 30
RotateDynamicCommand Rotates the active view dynamically under control of the mouse.

Example:
$rotateDynamic
"button1Down 0 0.7770897832817338 0.6404494382022472 165.65061799410486 113.1178945273284 1001.5322682164455"
"drag 0 0.758513931888545 0.6179775280898876 161.69084226516213 109.14884559654493 1001.4956402909528"
"drag 0 0.7399380804953561 0.6029962546816479 157.73106653621937 106.50281297602262 1001.45901236546"
"drag 0 0.7213622291021671 0.5805243445692884 153.77129080727659 102.53376404523918 1001.4223844399673"
"button1Up 0 0.7027863777089782 0.5580524344569289 148.6531844735187 100.301622413503 1001.4928911139701"
ScaleCommand Uniformly scales the specified node or current selection around the specified scale centre by the specified scale factor.

Examples:
$scale 6 2 1 10
$scale "/a1/a2/e3" 6 2 1 10
SetHomeDirCommand Sets the home camera viewing direction to the specified vector.

Example:
$setHomeDir 0 0 -1
SetHomeUpCommand Sets the home camera's up direction to the specified vector.

Example:
$setHomeUp 1 0 0
SetPropertyCommand Sets the specified property on the specified node or on the current selection.

Examples:
$setProperty "/a1/a2/e3" "tag=50" "name=e4" "rgb=1.0 0.0 0.0";
$setProperty "tag=50" "name=e4" "rgb=1.0 0.0 0.0";
TransformCommand Transforms the specified node or current selection by the specified 4x4 transformation matrix.

Examples:
UnhiliteAllCommand Unhilites everything in the scene graph.

Examples:
$unhiliteAll
UnhiliteNodeCommand Unhilites the specified node.

Example:
$unhiliteNode "/a1/a2/e2"
ZoomCommand Zooms the active view by the specified factor.

Example:
$zoom 3
ZoomDynamicCommand Zooms the active view dynamically under control of the mouse.

Example:
$zoomDynamic
"button1Down 0 0.5046439628482973 -0.2584269662921348 497.23482879686776 393.1817334895816 -819.6987481564369" "drag 0 0.5046439628482973 -0.2359550561797752 496.2605350511262 396.7696851389636 -818.3092503789436" "drag 0 0.4984520123839009 -0.19850187265917607 500.30752247920526 404.54749375001995 -810.6103248406122" "drag 0 0.49226006191950455 -0.16104868913857673 506.9068968902618 412.3840814752175 -800.9341992145005" "button1Up 0 0.49226006191950455 -0.13108614232209748 512.3445989649441 418.05203587659616 -793.4300363858792"
ZoomWindowCommand Scales the view to fit a new rectangle

Example: