select()
Abstract
Callback: Called when the user clicks on an object in the visualization
Syntax
<function_prefix>_select (sim_state_ptr, mh, oh, objid)
| Argument | Type | Description |
|---|---|---|
sim_state_ptr |
void * |
Simulation state |
mh |
EtsT_Model_Handle |
Visualization model |
oh |
EtsT_Obj_Handle |
Object that was clicked |
objid |
int |
ID of the object that was clicked |
Return Type
void
no return value
Details
This callback should take any appropriate actions when the user clicks on an object in the visualization.