hpp-rbprm 4.14.0
Implementation of RB-PRM planner using hpp.
Loading...
Searching...
No Matches
hpp::tools::io Namespace Reference

Some io tools for serialization. More...

Functions

double StrToD (const std::string &str)
 
int StrToI (const std::string &str)
 
double StrToD (std::ifstream &input)
 
int StrToI (std::ifstream &input)
 
std::vector< std::string > splitString (const std::string &s, const char sep)
 
void writeMatrix (const Eigen::MatrixXd &mat, std::ostream &output)
 
void writeVecFCL (const fcl::Vec3f &vec, std::ostream &output)
 
void writeRotMatrixFCL (const fcl::Matrix3f &mat, std::ostream &output)
 
Eigen::MatrixXd readMatrix (std::ifstream &myfile)
 
fcl::Matrix3f readRotMatrixFCL (std::ifstream &myfile)
 
fcl::Vec3f readVecFCL (std::ifstream &myfile)
 
Eigen::MatrixXd readMatrix (std::ifstream &myfile, std::string &line)
 
fcl::Matrix3f readRotMatrixFCL (std::ifstream &myfile, std::string &line)
 
fcl::Vec3f readVecFCL (std::ifstream &myfile, std::string &line)
 

Detailed Description

Some io tools for serialization.

Function Documentation

◆ readMatrix() [1/2]

Eigen::MatrixXd hpp::tools::io::readMatrix ( std::ifstream &  myfile)

◆ readMatrix() [2/2]

Eigen::MatrixXd hpp::tools::io::readMatrix ( std::ifstream &  myfile,
std::string &  line 
)

◆ readRotMatrixFCL() [1/2]

fcl::Matrix3f hpp::tools::io::readRotMatrixFCL ( std::ifstream &  myfile)

◆ readRotMatrixFCL() [2/2]

fcl::Matrix3f hpp::tools::io::readRotMatrixFCL ( std::ifstream &  myfile,
std::string &  line 
)

◆ readVecFCL() [1/2]

fcl::Vec3f hpp::tools::io::readVecFCL ( std::ifstream &  myfile)

◆ readVecFCL() [2/2]

fcl::Vec3f hpp::tools::io::readVecFCL ( std::ifstream &  myfile,
std::string &  line 
)

◆ splitString()

std::vector< std::string > hpp::tools::io::splitString ( const std::string &  s,
const char  sep 
)

◆ StrToD() [1/2]

double hpp::tools::io::StrToD ( const std::string &  str)

◆ StrToD() [2/2]

double hpp::tools::io::StrToD ( std::ifstream &  input)

◆ StrToI() [1/2]

int hpp::tools::io::StrToI ( const std::string &  str)

◆ StrToI() [2/2]

int hpp::tools::io::StrToI ( std::ifstream &  input)

◆ writeMatrix()

void hpp::tools::io::writeMatrix ( const Eigen::MatrixXd &  mat,
std::ostream &  output 
)

◆ writeRotMatrixFCL()

void hpp::tools::io::writeRotMatrixFCL ( const fcl::Matrix3f &  mat,
std::ostream &  output 
)

◆ writeVecFCL()

void hpp::tools::io::writeVecFCL ( const fcl::Vec3f &  vec,
std::ostream &  output 
)