The CDLInterface class is the entry point to all functionality in the CDL. It includes methods for reading creature files, querying active simulation objects, modifying simulation functions, and a host of other tools.
|
Public Member Functions |
|
bool | readCreature (const char *filename) |
|
Object * | findObject (const char *name) |
|
Object * | findObject (const DeObject *obj) |
|
Joint * | findJoint (const char *name) |
|
Joint * | findJoint (const DeJointDOF1 *joint) |
|
Surface * | findSurface (const char *name) |
|
void | add (Object *o) |
|
void | add (Joint *j) |
|
void | add (Surface *s) |
|
void | add (DeBaseNode *n) |
|
DeWorld * | getWorld (void) |
|
DeTime | updateStep (void) |
|
DeTime | displayStep (void) |
|
DeTime | integrationStep (void) |
|
DeTime | collisionStep (void) |
|
DeTime | backupLimit (void) |
|
double | geomError (void) |
|
void | updateStep (DeTime step) |
|
void | displayStep (DeTime step) |
|
void | integrationStep (DeTime step) |
|
void | collisionStep (DeTime step) |
|
void | backupLimit (DeTime step) |
|
void | geomError (double error) |
|
DeTime | simTime (void) |
| bool | startSimulation (void) |
| bool | updateSimulation (void) |
|
void | gravity (DeFloat x, DeFloat y, DeFloat z) |
| char * | uniqueId (const char *prefix) |
| bool | addFunction (CDLFunction *) |
| bool | addVariable (const char *, double) |
| bool | addVariable (const char *, const char *) |
| CDLFunction * | getFunction (const char *) |
| CDLVariable * | getVariable (const char *) |
| bool | destroyLists (void) |
| void | pushObject (Object *) |
|
Object * | popObject (void) |
|
void | pushFunction (CDLFunction *) |
|
CDLFunction * | popFunction (void) |
| Object * | stackObject (void) |
|
CDLFunction * | stackFunction (void) |
|
bool | addConstraint (Constraint *) |
Public Attributes |
|
Object * | lookObject |
|
Object * | cameraObject |
|
DeVector3 | cameraPosition |
|
FILE * | outputFile |
|
bool | render |
|
DeTime | rendertime |
|
char | renderName [128] |