16 #ifndef SURGSIM_PHYSICS_CONSTRAINTCOMPONENT_H 17 #define SURGSIM_PHYSICS_CONSTRAINTCOMPONENT_H 22 #include "SurgSim/Framework/Component.h" 66 #endif // SURGSIM_PHYSICS_CONSTRAINTCOMPONENT_H Wraps glewInit() to separate the glew opengl definitions from the osg opengl definitions only imgui n...
Definition: AddRandomSphereBehavior.cpp:36
virtual ~ConstraintComponent()
Destructor.
Definition: ConstraintComponent.cpp:27
bool doInitialize() override
Initialize the component.
Definition: ConstraintComponent.cpp:41
Component is the main interface class to pass information to the system managers each will decide whe...
Definition: Component.h:42
std::shared_ptr< Constraint > m_constraint
The stored constraint.
Definition: ConstraintComponent.h:52
Component class for inserting constraints between physics representations into the scene...
Definition: ConstraintComponent.h:32
std::shared_ptr< Constraint > getConstraint() const
Get the constraint associated with this component.
Definition: ConstraintComponent.cpp:36
ConstraintComponent(const std::string &name)
Constructor.
Definition: ConstraintComponent.cpp:23
bool doWakeUp() override
Wakeup the component.
Definition: ConstraintComponent.cpp:46
void setConstraint(std::shared_ptr< Constraint > constraint)
Set the constraint associated with this component.
Definition: ConstraintComponent.cpp:31