#include <operatingsystem.h>
A helper object for SendModelingCommand() .
公共成员函数 |
|
ModelingCommandData () | |
~ModelingCommandData () |
Public Attributes |
|
BaseDocument * | doc |
BaseObject * | op |
BaseContainer * | bc |
MODELINGCOMMANDMODE | mode |
MODELINGCOMMANDFLAGS | flags |
AtomArray * | arr |
AtomArray * | result |
ModelingCommandData | ( | ) |
Default constructor.
~ ModelingCommandData | ( | ) |
Default destructor.
BaseDocument * doc |
The document for the operation. Should be set if possible.
BaseObject * op |
The input object. Use arr for multiple objects.
BaseContainer * bc |
The modeling command container. Optional to set extra options.
MODELINGCOMMANDMODE mode |
The modeling command mode: MODELINGCOMMANDMODE .
MODELINGCOMMANDFLAGS flags |
The modeling command flags: MODELINGCOMMANDFLAGS .
AtomArray * arr |
The input objects. If this is
nullptr
op
is used. The contents of
arr
may be changed during the operation.
若
SendModelingCommand()
returns successfully,
arr
contains all the input objects that were changed, while
result
contains the array of newly created objects.
AtomArray * result |
The resulting object array for commands that create new objects.