Class CreateCmd
java.lang.Object
com.j3d.engine.interact.cmd.base.Command
com.j3d.engine.interact.cmd.commands.create.CreateCmd
A command to create various geometric objects in the scene.
This command allows the user to specify a type of geometric object (e.g., cube, triangle, point, curve)
to be created and added to the current scene. It leverages the Creator utility class
to generate the geometry.
The created object is automatically added to the currently active or a new usable Layer
and given a unique name. For solid objects like cubes, it also calls Thing.solidify().
create cube
create c
create triangle
create tri
create point
create p
create curve
create bezier
- Author:
- Lehlogonolo Poole
- See Also:
-
Field Summary
FieldsFields inherited from class com.j3d.engine.interact.cmd.base.Command
aliases, args, description, usages -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrun(Invoker invoker, SafeJLabel logLabel, String aliasUsed, Object[] args, ArrayList<TaggedArgValue<?>> taggedArgs) The method to be overridden by subclasses to implement command functionality.usableThing(String name) Methods inherited from class com.j3d.engine.interact.cmd.base.Command
addNoArgUsage, aliases, aliasStream, args, dispatchToSubcommands, getUsages, hasNoArgs, parseUsages, usages, varTaggedArgs
-
Field Details
-
argSet
-
-
Constructor Details
-
CreateCmd
public CreateCmd()
-
-
Method Details
-
run
public void run(Invoker invoker, SafeJLabel logLabel, String aliasUsed, Object[] args, ArrayList<TaggedArgValue<?>> taggedArgs) Description copied from class:CommandThe method to be overridden by subclasses to implement command functionality. -
usableThing
-