All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces
MathConvert.h File Reference

This contains a series of functions to encode and decode Eigen data structures to and from YAML nodes. More...

#include <Eigen/Core>
#include <Eigen/Geometry>
#include <yaml-cpp/yaml.h>
#include "SurgSim/Framework/Macros.h"
#include "SurgSim/Math/OdeSolver.h"
#include "SurgSim/Math/MathConvert-inl.h"
Include dependency graph for MathConvert.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  YAML::convert< typename Eigen::Matrix< Type, Rows, Cols, MOpt > >
 Specialization of convert for fixed size Eigen::Matrix. More...
 
struct  YAML::convert< typename Eigen::Matrix< Type, Rows, 1, MOpt > >
 Specialization for Eigen Row Vectors, which are the type that Vector2x, Vector3x use. More...
 
struct  YAML::convert< typename Eigen::Quaternion< Type, QOpt > >
 Specialization of convert for Eigen::Quaternion. More...
 
struct  YAML::convert< typename Eigen::Transform< Type, Dim, TMode, TOptions > >
 Specialization of convert for Eigen::RigidTransform. More...
 
struct  YAML::convert< std::shared_ptr< SurgSim::Math::Shape > >
 
struct  YAML::convert< SurgSim::Math::IntegrationScheme >
 

Namespaces

 SurgSim
 
 SurgSim::Math
 
 YAML
 

Detailed Description

This contains a series of functions to encode and decode Eigen data structures to and from YAML nodes.

These conversion functions will extinguish Eigen options, these are not serialized, the output is determined by the type as it is declared in the appropriate conversion function, with Eigen::Transform, this could lead to problems If the mode that is used for reading is different than the mode that was used while writing.