|
opensurgsim
|
Tests for the Scalar functions. More...
#include <gtest/gtest.h>#include "SurgSim/Math/Matrix.h"#include "SurgSim/Math/Scalar.h"#include <vector>#include "SurgSim/Math/Vector.h"#include "SurgSim/Math/RigidTransform.h"Classes | |
| class | SurgSim::Math::ScalarTests |
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 | |
| SurgSim::Math::TEST (ScalarTests, TwoEntriesTests) | |
| std::vector< uint8_t > | toBytes (SurgSim::Math::Vector3d in) |
| void | fromBytes (const std::vector< uint8_t > &bytes, SurgSim::Math::Vector3d *out) |
| std::vector< uint8_t > | toBytes (double d) |
| void | fromBytes (const std::vector< uint8_t > &bytes, double *out) |
| TEST (BytesTest, Vector) | |
| TEST (BytesTest, Double) | |
Tests for the Scalar functions.
1.8.12