Go to the documentation of this file.
16 #ifndef SURGSIM_PHYSICS_CONSTRAINTCOMPONENT_H
17 #define SURGSIM_PHYSICS_CONSTRAINTCOMPONENT_H
66 #endif // SURGSIM_PHYSICS_CONSTRAINTCOMPONENT_H
Component is the main interface class to pass information to the system managers each will decide whe...
Definition: Component.h:46
bool doWakeUp() override
Wakeup the component.
Definition: ConstraintComponent.cpp:46
std::shared_ptr< Constraint > m_constraint
The stored constraint.
Definition: ConstraintComponent.h:52
std::shared_ptr< Constraint > getConstraint() const
Get the constraint associated with this component.
Definition: ConstraintComponent.cpp:36
Definition: CompoundShapeToGraphics.cpp:30
Component class for inserting constraints between physics representations into the scene.
Definition: ConstraintComponent.h:33
ConstraintComponent(const std::string &name)
Constructor.
Definition: ConstraintComponent.cpp:23
void setConstraint(std::shared_ptr< Constraint > constraint)
Set the constraint associated with this component.
Definition: ConstraintComponent.cpp:31
virtual ~ConstraintComponent()
Destructor.
Definition: ConstraintComponent.cpp:27
string(TOUPPER ${DEVICE} DEVICE_UPPER_CASE) option(BUILD_DEVICE_$
Definition: CMakeLists.txt:38
bool doInitialize() override
Initialize the component.
Definition: ConstraintComponent.cpp:41