Go to the documentation of this file.
6 #ifndef CNOID_AIST_COLLISION_DETECTOR_AIST_COLLISION_DETECTOR_H
7 #define CNOID_AIST_COLLISION_DETECTOR_AIST_COLLISION_DETECTOR_H
9 #include <cnoid/CollisionDetector>
10 #include "exportdecl.h"
14 class AISTCollisionDetectorImpl;
21 virtual const char* name()
const override;
23 virtual void clearGeometries()
override;
24 virtual int numGeometries()
const override;
25 virtual stdx::optional<GeometryHandle> addGeometry(
SgNode* geometry)
override;
27 virtual void setGeometryStatic(
GeometryHandle geometry,
bool isStatic =
true)
override;
29 virtual bool makeReady()
override;
31 virtual void updatePositions(std::function<
void(
Referenced*
object,
Isometry3*& out_Position)> positionQuery)
override;
32 virtual void detectCollisions(std::function<
void(
const CollisionPair& collisionPair)> callback)
override;
38 void setNumThreads(
int n);
41 AISTCollisionDetectorImpl* impl;
Eigen::Vector3d Vector3
Definition: EigenTypes.h:57
Eigen::Isometry3d Isometry3
Definition: EigenTypes.h:73
Definition: AISTCollisionDetector.h:16
Definition: Referenced.h:103
Definition: CollisionDetector.h:63
Definition: AbstractSceneLoader.h:11
ref_ptr< AISTCollisionDetector > AISTCollisionDetectorPtr
Definition: AISTCollisionDetector.h:44
Definition: CollisionDetector.h:20
Definition: CollisionDetector.h:72
Definition: Referenced.h:54
intptr_t GeometryHandle
Definition: CollisionDetector.h:23
Definition: SceneGraph.h:157