Package org.robwork.sdurwsim
Class ContactDetector
- java.lang.Object
-
- org.robwork.sdurwsim.ContactDetector
-
public class ContactDetector extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ContactDetector(long cPtr, boolean cMemoryOwn)ContactDetector(WorkCellPtr workcell)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddContactStrategy(ContactStrategyPtr strategy)voidaddContactStrategy(ContactStrategyPtr strategy, long priority)voidclearStrategies()voiddelete()ContactVectorfindContacts(State state)ContactVectorfindContacts(State state, ContactDetectorData data)ContactVectorfindContacts(State state, ContactDetectorData data, ContactDetectorTracking tracking)static longgetCPtr(ContactDetector obj)doublegetTimer()voidprintStrategyTable()voidremoveContactStrategy()voidremoveContactStrategy(long priority)voidsetDefaultStrategies()voidsetDefaultStrategies(PropertyMap map)voidsetTimer()voidsetTimer(double value)ContactVectorupdateContacts(State state, ContactDetectorData data, ContactDetectorTracking tracking)
-
-
-
Constructor Detail
-
ContactDetector
public ContactDetector(long cPtr, boolean cMemoryOwn)
-
ContactDetector
public ContactDetector(WorkCellPtr workcell)
-
-
Method Detail
-
getCPtr
public static long getCPtr(ContactDetector obj)
-
delete
public void delete()
-
findContacts
public ContactVector findContacts(State state)
-
findContacts
public ContactVector findContacts(State state, ContactDetectorData data)
-
findContacts
public ContactVector findContacts(State state, ContactDetectorData data, ContactDetectorTracking tracking)
-
updateContacts
public ContactVector updateContacts(State state, ContactDetectorData data, ContactDetectorTracking tracking)
-
getTimer
public double getTimer()
-
setTimer
public void setTimer(double value)
-
setTimer
public void setTimer()
-
addContactStrategy
public void addContactStrategy(ContactStrategyPtr strategy, long priority)
-
addContactStrategy
public void addContactStrategy(ContactStrategyPtr strategy)
-
removeContactStrategy
public void removeContactStrategy(long priority)
-
removeContactStrategy
public void removeContactStrategy()
-
clearStrategies
public void clearStrategies()
-
setDefaultStrategies
public void setDefaultStrategies()
-
setDefaultStrategies
public void setDefaultStrategies(PropertyMap map)
-
printStrategyTable
public void printStrategyTable()
-
-