Visual Servoing Platform
version 3.6.1 under development (2024-12-17)
|
#include <visp3/core/vpXmlParserHomogeneousMatrix.h>
Public Types | |
enum | vpXmlCodeSequenceType { SEQUENCE_OK , SEQUENCE_ERROR } |
Public Member Functions | |
vpXmlParserHomogeneousMatrix () | |
~vpXmlParserHomogeneousMatrix () | |
vpHomogeneousMatrix | getHomogeneousMatrix () const |
std::string | getHomogeneousMatrixName () const |
int | parse (vpHomogeneousMatrix &M, const std::string &filename, const std::string &name) |
int | save (const vpHomogeneousMatrix &M, const std::string &filename, const std::string &name) |
void | setHomogeneousMatrixName (const std::string &name) |
XML parser to load and save an homogeneous matrix in a file.
To have a complete description of the homogeneous matrix implemented in ViSP, see vpHomogeneousMatrix.
Example of an XML file "homogeneous_matrixes.xml" containing a Pose vector that will be converted in an homogeneous matrix:
Example of loading an existing homogeneous matrix from an XML file.
Example of writing an homogenoeus matrix in a XML file.
Definition at line 149 of file vpXmlParserHomogeneousMatrix.h.
Enumerator | |
---|---|
SEQUENCE_OK | |
SEQUENCE_ERROR |
Definition at line 152 of file vpXmlParserHomogeneousMatrix.h.
BEGIN_VISP_NAMESPACE vpXmlParserHomogeneousMatrix::vpXmlParserHomogeneousMatrix | ( | ) |
Definition at line 506 of file vpXmlParserHomogeneousMatrix.cpp.
vpXmlParserHomogeneousMatrix::~vpXmlParserHomogeneousMatrix | ( | ) |
Definition at line 508 of file vpXmlParserHomogeneousMatrix.cpp.
vpHomogeneousMatrix vpXmlParserHomogeneousMatrix::getHomogeneousMatrix | ( | ) | const |
Definition at line 537 of file vpXmlParserHomogeneousMatrix.cpp.
std::string vpXmlParserHomogeneousMatrix::getHomogeneousMatrixName | ( | ) | const |
Definition at line 542 of file vpXmlParserHomogeneousMatrix.cpp.
int vpXmlParserHomogeneousMatrix::parse | ( | vpHomogeneousMatrix & | M, |
const std::string & | filename, | ||
const std::string & | name | ||
) |
Parse an xml file to load an homogeneous matrix
M | : homogeneous matrix to fill. |
filename | : name of the xml file to parse. |
name | : name of the homogeneous matrix to find in the xml file. |
Definition at line 518 of file vpXmlParserHomogeneousMatrix.cpp.
int vpXmlParserHomogeneousMatrix::save | ( | const vpHomogeneousMatrix & | M, |
const std::string & | filename, | ||
const std::string & | name | ||
) |
Save an homogeneous matrix in an xml file.
M | : homogeneous matrix to save. |
filename | : name of the xml file to fill. |
name | : name of the homogeneous matrix. |
Definition at line 531 of file vpXmlParserHomogeneousMatrix.cpp.
void vpXmlParserHomogeneousMatrix::setHomogeneousMatrixName | ( | const std::string & | name | ) |
Definition at line 547 of file vpXmlParserHomogeneousMatrix.cpp.