NAME
universe -- Vortex Universe NST class container
PROTOTYPES
#define sUnitName "universe" static int universe_exec_step(unitptr); universe_exec_step(unitptr)
static int universe_exec_draw(unitptr); universe_exec_draw(unitptr)
static int ctrl_draw_universe(int,unitptr); ctrl_draw_universe(int)
static int ctrl_universe(int,unitptr); ctrl_universe(int)
static int load_universe(FILE*,unitptr); load_universe(FILE*)
static int save_universe(FILE*,unitptr); save_universe(FILE*)
static int remove_universe(unitptr); remove_universe(unitptr)
static bool IsUniverseUnit (unitptr u)
ARGUMENTS
- unitptr); universe_exec_step(unitptr
- - not documented in source --
- unitptr); universe_exec_draw(unitptr
- - not documented in source --
- int,unitptr); ctrl_draw_universe(int
- - not documented in source --
- int,unitptr); ctrl_universe(int
- - not documented in source --
- FILE*,unitptr); load_universe(FILE*
- - not documented in source --
- FILE*,unitptr); save_universe(FILE*
- - not documented in source --
- unitptr); remove_universe(unitptr
- - not documented in source --
- unitptr u
- - not documented in source --
( {return (u->remove == remove_universe)
unitptr universe(int nDynamicBodies, nDynamicContraints, nCollisionModels, nCollisionPairs)
ARGUMENTS
- unitptr); universe_exec_step(unitptr
- - not documented in source --
- unitptr); universe_exec_draw(unitptr
- - not documented in source --
- int,unitptr); ctrl_draw_universe(int
- - not documented in source --
- int,unitptr); ctrl_universe(int
- - not documented in source --
- FILE*,unitptr); load_universe(FILE*
- - not documented in source --
- FILE*,unitptr); save_universe(FILE*
- - not documented in source --
- unitptr); remove_universe(unitptr
- - not documented in source --
- unitptr u
- - not documented in source --
- {return (u->remove == remove_universe
- - not documented in source --
- int nDynamicBodies
- - not documented in source --
- nDynamicContraints
- - not documented in source --
- nCollisionModels
- - not documented in source --
- nCollisionPairs
- - not documented in source --
RETURN VALUE:
A pointer to the created unit or NULL in the case of an error.
DESCRIPTION:
EXECUTION:
Execution of the created unit does nothing. However, execution of
any of its named subunits (via a use_named unit) invokes the
corresponding C++ class method. The interface of each named
subunit provides inputs and outputs for the corresponding method.
INTERFACE AND DESCRIPTION OF NAMED SUBUNITS:
Subunit container:step
make an time-evolution within the dynamic and updates collision information
SEE ALSO:
FILE
nst_vortex.cc