|
Robotics Library
0.7.0
|
Go to the documentation of this file.
27 #ifndef RL_SG_FCL_SHAPE_H
28 #define RL_SG_FCL_SHAPE_H
31 #include <fcl/collision.h>
32 #include <Inventor/actions/SoCallbackAction.h>
60 static void triangleCallback(
void* userData, SoCallbackAction* action,
const SoPrimitiveVertex* v1,
const SoPrimitiveVertex* v2,
const SoPrimitiveVertex* v3);
68 #if FCL_MAJOR_VERSION < 1 && FCL_MINOR_VERSION < 5
69 ::boost::shared_ptr< ::fcl::CollisionGeometry>
geometry;
71 ::std::shared_ptr< ::fcl::CollisionGeometry>
geometry;
88 #endif // RL_SG_FCL_SHAPE_H
static void triangleCallback(void *userData, SoCallbackAction *action, const SoPrimitiveVertex *v1, const SoPrimitiveVertex *v2, const SoPrimitiveVertex *v3)
Definition: Shape.cpp:215
::Eigen::Transform< Real, 3, ::Eigen::Affine > Transform
Rigid transformation in 3D.
Definition: Transform.h:46
::std::vector< int > polygons
Definition: Shape.h:78
void getTransform(::rl::math::Transform &transform)
Definition: Shape.cpp:202
Body * body
Definition: Shape.h:58
Shape(SoVRMLShape *shape, ::rl::sg::Body *body)
Definition: Shape.cpp:51
void setTransform(const ::rl::math::Transform &transform)
Definition: Shape.cpp:208
::rl::math::Transform transform
Definition: Shape.h:80
::rl::math::Transform currentFrame
Definition: Shape.h:64
::std::vector< int > indices
Definition: Shape.h:74
::rl::math::Transform baseTransform
Definition: Shape.h:62
::std::vector< ::fcl::FCL_REAL > distances
Definition: Shape.h:66
::boost::shared_ptr< ::fcl::CollisionGeometry > geometry
Definition: Shape.h:69
::std::shared_ptr< ::fcl::CollisionObject > collisionObject
Definition: Shape.h:55
void update(const ::rl::math::Transform &frame)
Definition: Shape.cpp:233
virtual ~Shape()
Definition: Shape.cpp:196
::std::vector< ::fcl::Vec3f > vertices
Definition: Shape.h:82
::std::vector< ::fcl::Vec3f > normals
Definition: Shape.h:76
Robotics Library.
Definition: AnalogInput.cpp:30