mc_rtc  2.14.0
surface_utils.h File Reference
#include <mc_rbdyn/api.h>
#include <SpaceVecAlg/SpaceVecAlg>
#include <memory>
#include <string>
#include <tinyxml2.h>
#include <vector>
Include dependency graph for surface_utils.h:

Go to the source code of this file.

Namespaces

 mc_rbdyn
 

Functions

MC_RBDYN_DLLAPI tinyxml2::XMLElement * mc_rbdyn::tfToOriginDom (tinyxml2::XMLDocument &doc, const sva::PTransformd &X, const std::string_view &tagName="origin")
 Create an <origin> XML element from a spatial transform. More...
 
MC_RBDYN_DLLAPI sva::PTransformd mc_rbdyn::tfFromOriginDom (const tinyxml2::XMLElement &dom)
 
MC_RBDYN_DLLAPI void mc_rbdyn::surfacesToXML (tinyxml2::XMLDocument &doc, const std::string &robotName, const std::vector< std::shared_ptr< Surface >> &surfaces)
 Add a <robot> element and its surfaces to an XML document. More...
 
MC_RBDYN_DLLAPI std::vector< std::shared_ptr< Surface > > mc_rbdyn::readRSDFFromDir (const std::string &dirname)
 Read all RSDF files from a directory and parse them into Surface objects. More...