|
Public Types |
| enum | ResponseType { WITNESSED,
DEPTH
} |
Public Methods |
| | CollisionDetection (WorkCell *workcell, ResponseType type=WITNESSED, OSCARError &err=DUMMY_ERROR(noError), const String &name=String()) |
| virtual | ~CollisionDetection () |
| std::vector< CollisionPoint * > & | GetCollisionPoints () |
| void | OutputCollisionPoints () |
| bool | CheckManipulatorSelfCollisions (String manip) |
| bool | CheckWorkcellCollisions () |
| bool | RemoveWorkcellCollisionPair (Polytope *obj1, Polytope *obj2) |
| bool | AddWorkcellCollisionPair (Polytope *obj1, Polytope *obj2) |
| bool | RemoveManipulatorCollisionPair (Polytope *obj1, Polytope *obj2, Node *manip) |
| bool | AddManipulatorCollisionPair (Polytope *obj1, Polytope *obj2, Node *manip) |
| bool | GetDistance (const Polytope &obj1, const Polytope &obj2, Vector3 &obj1Wit, Vector3 &obj2Wit, Vector3 &unitVec, double &dist) |
| ResponseType | GetResponseType () |
Private Methods |
| | CollisionDetection (const CollisionDetection &cd) |
| CollisionDetection & | operator= (const CollisionDetection &cd) |
| void | AddEnvironmentPolytopes (Node *node) |
| void | AddManipulatorPolytopes (Node *node) |
| bool | RemoveManipulatorAttachmentCollisions (Node *currentnode, Node *previousnode, DT_RespTableHandle resptable) |
| void | RemoveNodePolytopes (Node *node) |
Private Attributes |
| WorkCell * | cell |
| std::vector< CollisionPoint * > | collisionpoints |
| DistanceCalculator | distancecalculator |
| ResponseType | resptype |
| DT_SceneHandle | scene |
| DT_RespTableHandle | globalRespTable |
std::vector< std::pair< Node *,
DT_RespTableHandle > > | manipRespTables |