opensurgsim
Namespaces | Functions
DeformableTestsUtility.h File Reference

Common functions for testing deformable compute/update functions. More...

#include <memory>
#include "SurgSim/Math/OdeEquation.h"
#include "SurgSim/Math/OdeState.h"
#include "SurgSim/Math/Matrix.h"
#include "SurgSim/Math/Vector.h"
#include "SurgSim/Physics/UnitTests/DeformableTestsUtility-inl.h"

Go to the source code of this file.

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.
 

Functions

template<class T >
void SurgSim::Physics::testOdeEquationUpdate (std::shared_ptr< T > rep, const SurgSim::Math::OdeState &state, const SurgSim::Math::Vector &expectedF, const SurgSim::Math::Matrix &expectedM, const SurgSim::Math::Matrix &expectedD, const SurgSim::Math::Matrix &expectedK)
 

Detailed Description

Common functions for testing deformable compute/update functions.