00001 /* 00002 * ContactGenerator.h 00003 * 00004 * Created on: 2010-11-20 00005 * Author: krejziwan 00006 */ 00007 00008 #ifndef CONTACTGENERATOR_H_ 00009 #define CONTACTGENERATOR_H_ 00010 00011 #include "Contact.h" 00012 #include <vector> 00013 #include <functional> 00014 #include <algorithm> 00015 #include "../Common/Constants.h" 00016 00017 class ContactGenerator { 00018 public: 00019 std::vector<Contact> generateContacts(std::vector<RigidBody*>& bodies); 00020 void findNeighbors(std::vector<RigidBody*>& bodies); 00021 }; 00022 00023 00024 #endif /* CONTACTGENERATOR_H_ */