Go to the documentation of this file.
   46 #include "coal/config.hh" 
   47 #include "coal/deprecated.hh" 
   48 #include "coal/warning.hh" 
   51 #define COAL_PRETTY_FUNCTION __FUNCSIG__ 
   53 #define COAL_PRETTY_FUNCTION __PRETTY_FUNCTION__ 
   56 #define COAL_UNUSED_VARIABLE(var) (void)(var) 
   59 #define COAL_ONLY_USED_FOR_DEBUG(var) COAL_UNUSED_VARIABLE(var) 
   61 #define COAL_ONLY_USED_FOR_DEBUG(var) 
   64 #define COAL_THROW_PRETTY(message, exception)              \ 
   66     std::stringstream ss;                                  \ 
   67     ss << "From file: " << __FILE__ << "\n";               \ 
   68     ss << "in function: " << COAL_PRETTY_FUNCTION << "\n"; \ 
   69     ss << "at line: " << __LINE__ << "\n";                 \ 
   70     ss << "message: " << message << "\n";                  \ 
   71     throw exception(ss.str());                             \ 
   74 #ifdef COAL_TURN_ASSERT_INTO_EXCEPTION 
   75 #define COAL_ASSERT(check, message, exception) \ 
   78       COAL_THROW_PRETTY(message, exception);   \ 
   82 #define COAL_ASSERT(check, message, exception) \ 
   84     COAL_UNUSED_VARIABLE(exception(message));  \ 
   85     assert((check) && message);                \ 
   89 #if (__cplusplus >= 201103L || (defined(_MSC_VER) && _MSC_VER >= 1600)) 
   90 #define COAL_WITH_CXX11_SUPPORT 
   93 #if defined(__GNUC__) || defined(__clang__) 
   94 #define COAL_COMPILER_DIAGNOSTIC_PUSH _Pragma("GCC diagnostic push") 
   95 #define COAL_COMPILER_DIAGNOSTIC_POP _Pragma("GCC diagnostic pop") 
   96 #define COAL_COMPILER_DIAGNOSTIC_IGNORED_DEPRECECATED_DECLARATIONS \ 
   97   _Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"") 
  100 #if (defined(__GNUC__) && \ 
  101      ((__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6))) 
  102 #define COAL_COMPILER_DIAGNOSTIC_IGNORED_MAYBE_UNINITIALIZED \ 
  103   _Pragma("GCC diagnostic ignored \"-Wmaybe-uninitialized\"") 
  105 #elif (defined(__clang__) && defined(__has_warning) && \ 
  106        __has_warning("-Wmaybe-uninitialized")) 
  107 #define COAL_COMPILER_DIAGNOSTIC_IGNORED_MAYBE_UNINITIALIZED \ 
  108   _Pragma("clang diagnostic ignored \"-Wmaybe-uninitialized\"") 
  110 #define COAL_COMPILER_DIAGNOSTIC_IGNORED_MAYBE_UNINITIALIZED 
  113 #define COAL_COMPILER_DIAGNOSTIC_PUSH _Pragma("warning(push)") 
  114 #define COAL_COMPILER_DIAGNOSTIC_POP _Pragma("warning(pop)") 
  115 #define COAL_COMPILER_DIAGNOSTIC_IGNORED_DEPRECECATED_DECLARATIONS \ 
  116   _Pragma("warning(disable : 4996)") 
  117 #define COAL_COMPILER_DIAGNOSTIC_IGNORED_MAYBE_UNINITIALIZED \ 
  118   _Pragma("warning(disable : 4700)") 
  120 #define COAL_COMPILER_DIAGNOSTIC_PUSH 
  121 #define COAL_COMPILER_DIAGNOSTIC_POP 
  122 #define COAL_COMPILER_DIAGNOSTIC_IGNORED_DEPRECECATED_DECLARATIONS 
  123 #define COAL_COMPILER_DIAGNOSTIC_IGNORED_MAYBE_UNINITIALIZED 
  127 using std::dynamic_pointer_cast;
 
  128 using std::make_shared;
 
  129 using std::shared_ptr;
 
  149 #ifdef COAL_BACKWARD_COMPATIBILITY_WITH_HPP_FCL 
  152 using namespace coal;
 
  158 #endif  // COAL_FWD_HH 
  
A base class describing the bounding hierarchy of a mesh model or a point cloud model (which is viewe...
The geometry for the object for collision or distance computation.
A class describing the AABB collision structure, which is a box in 3D space determined by two diagona...
shared_ptr< CollisionObject > CollisionObjectPtr_t
shared_ptr< const OcTree > OcTreeConstPtr_t
shared_ptr< BVHModelBase > BVHModelPtr_t
the object for collision or distance computation, contains the geometry and the transform information
shared_ptr< const CollisionGeometry > CollisionGeometryConstPtr_t
shared_ptr< OcTree > OcTreePtr_t
Octree is one type of collision geometry which can encode uncertainty information in the sensor data.
shared_ptr< const CollisionObject > CollisionObjectConstPtr_t
shared_ptr< CollisionGeometry > CollisionGeometryPtr_t
hpp-fcl
Author(s): 
autogenerated on Fri Feb 14 2025 03:45:50