Package org.robwork.sdurwsim
Class PhysicsEngine
- java.lang.Object
-
- org.robwork.sdurwsim.PhysicsEngine
-
- Direct Known Subclasses:
ODESimulator
public class PhysicsEngine extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PhysicsEngine(long cPtr, boolean cMemoryOwn)
-
Method Summary
-
-
-
Method Detail
-
getCPtr
public static long getCPtr(PhysicsEngine obj)
-
delete
public void delete()
-
load
public void load(DynamicWorkCellPtr dwc)
-
setContactDetector
public boolean setContactDetector(ContactDetectorPtr detector)
-
step
public void step(double dt, State state)
-
resetScene
public void resetScene(State state)
-
initPhysics
public void initPhysics(State state)
-
exitPhysics
public void exitPhysics()
-
getTime
public double getTime()
-
setEnabled
public void setEnabled(BodyPtr body, boolean enabled)
-
setDynamicsEnabled
public void setDynamicsEnabled(BodyPtr body, boolean enabled)
-
getPropertyMap
public PropertyMap getPropertyMap()
-
emitPropertyChanged
public void emitPropertyChanged()
-
addController
public void addController(SimulatedControllerPtr controller)
-
removeController
public void removeController(SimulatedControllerPtr controller)
-
addDevice
public void addDevice(DynamicDevicePtr dev, State state)
-
addSensor
public void addSensor(SimulatedSensorPtr sensor, State state)
-
removeSensor
public void removeSensor(SimulatedSensorPtr sensor)
-
getSensors
public SWIGTYPE_p_std__vectorT_rw__core__PtrT_rwlibs__simulation__SimulatedSensor_t_t getSensors()
-
-