16 #ifndef SURGSIM_COLLISION_SHAPECOLLISIONREPRESENTATION_H 17 #define SURGSIM_COLLISION_SHAPECOLLISIONREPRESENTATION_H 19 #include "SurgSim/Collision/Representation.h" 20 #include "SurgSim/Framework/Macros.h" 21 #include "SurgSim/Framework/ObjectFactory.h" 32 SURGSIM_STATIC_REGISTRATION(ShapeCollisionRepresentation);
49 int getShapeType()
const override;
55 void setShape(
const std::shared_ptr<SurgSim::Math::Shape>& shape);
57 std::shared_ptr<Math::Shape> getShape()
const override;
58 void updateCcdData(
double timeOfImpact)
override;
61 bool doInitialize()
override;
65 std::shared_ptr<SurgSim::Math::Shape> m_shape;
71 #endif // SURGSIM_COLLISION_SHAPECOLLISIONREPRESENTATION_H Wraps glewInit() to separate the glew opengl definitions from the osg opengl definitions only imgui n...
Definition: AddRandomSphereBehavior.cpp:36
The type of collision detection.
Definition: Representation.h:60
Use a Shape as a Collision Representation, any SurgSim::Physics::Representation can be used as a back...
Definition: ShapeCollisionRepresentation.h:38