19 #ifndef HPP_CORE_COLLISION_VALIDATION_REPORT_HH 20 # define HPP_CORE_COLLISION_VALIDATION_REPORT_HH 22 # include <hpp/util/indent.hh> 24 # include <hpp/pinocchio/collision-object.hh> 26 # include <hpp/fcl/collision_data.h> 47 object2 (pair.second),
60 virtual std::ostream&
print (std::ostream& os)
const 62 os <<
"Collision between object " << (object1 ? object1->name() : objectName1) <<
" and " 63 << (object2 ? object2->name() : objectName2);
84 virtual std::ostream&
print (std::ostream& os)
const 86 os <<
" Number of collisions : "<<collisionReports.size()<<
"."<<
incendl;
87 for(std::vector<CollisionValidationReportPtr_t>::const_iterator it = collisionReports.begin() ; it != collisionReports.end() ; ++it){
97 #endif // HPP_CORE_COLLISION_VALIDATION_REPORT_HH HPP_UTIL_DLLAPI std::ostream & incendl(std::ostream &o)
Definition: validation-report.hh:36
Definition: collision-validation-report.hh:70
virtual std::ostream & print(std::ostream &os) const
Write report in a stream.
Definition: collision-validation-report.hh:60
CollisionValidationReport()
Definition: collision-validation-report.hh:37
CollisionValidationReport(CollisionObjectConstPtr_t o1, CollisionObjectConstPtr_t o2, const fcl::CollisionResult &r)
Definition: collision-validation-report.hh:39
HPP_UTIL_DLLAPI std::ostream & iendl(std::ostream &o)
AllCollisionsValidationReport()
Definition: collision-validation-report.hh:72
std::pair< CollisionObjectConstPtr_t, CollisionObjectConstPtr_t > CollisionPair_t
Definition: fwd.hh:219
virtual std::ostream & print(std::ostream &os) const
Write report in a stream.
Definition: collision-validation-report.hh:84
HPP_UTIL_DLLAPI std::ostream & decindent(std::ostream &o)
Definition: collision-validation-report.hh:35
CollisionObjectConstPtr_t object2
Second object in collision.
Definition: collision-validation-report.hh:55
CollisionObjectConstPtr_t object1
First object in collision.
Definition: collision-validation-report.hh:52
AllCollisionsValidationReport(CollisionObjectConstPtr_t o1, CollisionObjectConstPtr_t o2, const fcl::CollisionResult &r)
Definition: collision-validation-report.hh:74
std::string objectName2
Definition: collision-validation-report.hh:56
std::string objectName1
Definition: collision-validation-report.hh:53
std::vector< CollisionValidationReportPtr_t > collisionReports
Definition: collision-validation-report.hh:83
fcl::CollisionResult result
fcl collision results
Definition: collision-validation-report.hh:58
AllCollisionsValidationReport(const CollisionPair_t &pair, const fcl::CollisionResult &r)
Definition: collision-validation-report.hh:79
pinocchio::CollisionObjectConstPtr_t CollisionObjectConstPtr_t
Definition: fwd.hh:90
CollisionValidationReport(const CollisionPair_t &pair, const fcl::CollisionResult &r)
Definition: collision-validation-report.hh:44