|
opensurgsim
|
Tests for the PhysicsManager class. More...
#include <gmock/gmock.h>#include <string>#include <memory>#include "SurgSim/Collision/ShapeCollisionRepresentation.h"#include "SurgSim/Framework/Runtime.h"#include "SurgSim/Particles/SphRepresentation.h"#include "SurgSim/Physics/ConstraintComponent.h"#include "SurgSim/Physics/DeformableCollisionRepresentation.h"#include "SurgSim/Physics/PhysicsManager.h"#include "SurgSim/Physics/Representation.h"#include "SurgSim/Physics/FixedRepresentation.h"#include "SurgSim/Physics/UnitTests/MockObjects.h"#include "SurgSim/Math/Vector.h"Classes | |
| class | SurgSim::Collision::MockContactFilter |
| class | SurgSim::Physics::PhysicsManagerTest |
Namespaces | |
| SurgSim | |
| Wraps glewInit() to separate the glew opengl definitions from the osg opengl definitions only imgui needs glew but we need to call glewInit() from a osg callback, using this call we avoid getting warnings about redefinitions. | |
Tests for the PhysicsManager class.
Note that PhysicsManagerTest, the test fixture is declared as a friend class in PhysicsManager to make it easier to test the add and removal of components, for this to work correctly PhysicsManagerTest is required to be in the SurgSim::Physics namespace.
1.8.12