Class ScaleSelection
java.lang.Object
com.j3d.engine.interact.cmd.base.Command
com.j3d.engine.interact.cmd.args.Subcommand
com.j3d.engine.interact.cmd.commands.transform.AbstractTransform
com.j3d.engine.interact.cmd.commands.transform.ScaleSelection
- All Implemented Interfaces:
Argument,KeyedStatefulCommand,SemiStatefulCommand,StatefulCommand<Void>,EventListener
A sub-command of
TransformCmd who uses the handles made by AbstractTransform
and the key-setters provided by AbstractTransform from KeyedStatefulCommand
to scale a selection of points or triangles.
As like any other implementor of AbstractTransform, scale provides the following
functions based on the given input:
(No Handle Selected) + UP/DOWN KEY:+/-(Scale Uniformly)X Handle + UP/DOWN KEY:+/-(Scale X-Axis)Y Handle + UP/DOWN KEY:+/-(Scale Y-Axis)Z Handle + UP/DOWN KEY:+/-(Scale Z-Axis)
Aliases: s, size, sc
The mouse owner for translate (ScaleMouseOwner) provides no extra drawing or logic other than handle clicking
which is inherited from TransformMouseOwner
Typical Usage:
transform scale - Scale Faces Uniformly
trans sc p - Scale Points Uniformly
t size f - Scale Faces Uniformly
transform sc v - Scale Points Uniformly
selection scale t - Scale Faces Uniformly
See AbstractTransform for more information onthe distinction between point mode and face mode.- Author:
- Lehlogonolo Poole
- See Also:
-
Field Summary
FieldsFields inherited from class com.j3d.engine.interact.cmd.commands.transform.AbstractTransform
argSet, center, currentIndex, eventName, faceMode, gear, gearTrain, keys, label, originalPointPos, overlapId, referencesFields inherited from class com.j3d.engine.interact.cmd.base.Command
aliases, args, description, usages -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.j3d.engine.interact.cmd.commands.transform.AbstractTransform
finished, getCurrentStepSize, getGearIndex, getGearTrain, getKeys, getOriginalPointPositions, getReferences, onEnter, onEsc, onEvent, onStart, run, selfName, setGearIndexMethods inherited from class com.j3d.engine.interact.cmd.args.Subcommand
getDescription, getName, isOptionalMethods inherited from class com.j3d.engine.interact.cmd.base.Command
addNoArgUsage, aliases, aliasStream, args, dispatchToSubcommands, getUsages, hasNoArgs, parseUsages, usages, varTaggedArgsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.j3d.engine.interact.cmd.base.KeyedStatefulCommand
newGearKey, setDownKey, setKey, setKeyAsSideEffects, setLeftKey, setRightKey, setUpKeyMethods inherited from interface com.j3d.engine.interact.cmd.base.SemiStatefulCommand
fireMethods inherited from interface com.j3d.engine.interact.cmd.base.StatefulCommand
run, run
-
Field Details
-
scaleMouseOwner
-
-
Constructor Details
-
ScaleSelection
ScaleSelection()
-
-
Method Details
-
getInverseStepSize
public double getInverseStepSize() -
upKey
-
downKey
-