supereight
Loading...
Searching...
No Matches
Namespaces | Functions
yaml.hpp File Reference
#include <Eigen/Core>
#include <iostream>
#include <opencv2/core.hpp>
#include <string>
#include <vector>
#include "impl/yaml_impl.hpp"
Include dependency graph for yaml.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  se
 Helper wrapper to allocate and de-allocate octants in the octree.
 
namespace  se::yaml
 

Functions

void se::yaml::subnode_as_bool (const cv::FileNode &base_node, const std::string &subnode_name, bool &b)
 Interprets the data in the subnode of base_node named subnode_name as a boolean and saves it in b.
 
void se::yaml::subnode_as_int (const cv::FileNode &base_node, const std::string &subnode_name, int &i)
 Interprets the data in the subnode of base_node named subnode_name as an int and saves it in i.
 
void se::yaml::subnode_as_float (const cv::FileNode &base_node, const std::string &subnode_name, float &f)
 Interprets the data in the subnode of base_node named subnode_name as a float and saves it in f.
 
void se::yaml::subnode_as_string (const cv::FileNode &base_node, const std::string &subnode_name, std::string &s)
 Interprets the data in the subnode of base_node named subnode_name as a string and saves it in s.
 
template<typename T >
void se::yaml::subnode_as_vector (const cv::FileNode &base_node, const std::string &subnode_name, std::vector< T > &v)
 Interprets the data in the subnode of base_node named subnode_name as an std::vector and saves it in v.
 
void se::yaml::subnode_as_eigen_vector3f (const cv::FileNode &base_node, const std::string &subnode_name, Eigen::Vector3f &eigen_v3f)
 Interprets the data in the subnode of base_node named subnode_name as an Eigen::Vector3f and saves it in v.
 
template<typename T >
void se::yaml::subnode_as_eigen_vector_x (const cv::FileNode &base_node, const std::string &subnode_name, Eigen::Matrix< T, Eigen::Dynamic, 1 > &eigen_v)
 Interprets the data in the subnode of base_node named subnode_name as an Eigen::Vector3f and saves it in v.
 
void se::yaml::subnode_as_eigen_matrix3f (const cv::FileNode &base_node, const std::string &subnode_name, Eigen::Matrix3f &eigen_m3f)
 Interprets the data in the subnode of base_node named subnode_name as an Eigen::Vector3f and saves it in v.
 
void se::yaml::subnode_as_eigen_matrix4f (const cv::FileNode &base_node, const std::string &subnode_name, Eigen::Matrix4f &eigen_m4f)
 Interprets the data in the subnode of base_node named subnode_name as an Eigen::Vector3f and saves it in v.