![]() |
RobWorkProject
23.9.11-
|
Class used for saving a Path using the RobWork XML Path Format. More...
#include <XMLPathSaver.hpp>
Classes | |
class | Initializer |
Utility class which initializes local static variables. More... | |
Static Public Member Functions | |
static void | save (const rw::trajectory::QPath &path, const std::string &filename) |
Saves the rw::trajectory::QPath path to file. More... | |
static void | save (const rw::trajectory::Vector3DPath &path, const std::string &filename) |
Saves rw::trajectory::Vector3DPath path to file. More... | |
static void | save (const rw::trajectory::Rotation3DPath &path, const std::string &filename) |
Saves rw::trajectory::Rotation3DPath path to file. More... | |
static void | save (const rw::trajectory::Transform3DPath &path, const std::string &filename) |
Saves rw::trajectory::Transform3DPath path to file. More... | |
static void | save (const rw::trajectory::StatePath &path, const std::string &filename) |
Saves rw::trajectory::StatePath to file. More... | |
static void | save (const rw::trajectory::TimedQPath &path, const std::string &filename) |
Saves rw::trajectory::TimedQPath to file. More... | |
static void | save (const rw::trajectory::TimedStatePath &path, const std::string &filename) |
Saves rw::trajectory::TimedStatePath to file. More... | |
static void | write (const rw::trajectory::QPath &path, std::ostream &outstream) |
Writes the rw::trajectory::QPath path to outstream. More... | |
static void | write (const rw::trajectory::Vector3DPath &path, std::ostream &outstream) |
Writes rw::trajectory::Vector3DPath path to outstream. More... | |
static void | write (const rw::trajectory::Rotation3DPath &path, std::ostream &outstream) |
Writes rw::trajectory::Rotation3DPath path to outstream. More... | |
static void | write (const rw::trajectory::Transform3DPath &path, std::ostream &outstream) |
Writes rw::trajectory::Rotation3DPath path to outstream. More... | |
static void | write (const rw::trajectory::StatePath &path, std::ostream &outstream) |
Writes rw::trajectory::Rotation3DPath path to outstream. More... | |
static void | write (const rw::trajectory::TimedQPath &path, std::ostream &outstream) |
Writes rw::trajectory::Rotation3DPath path to outstream. More... | |
static void | write (const rw::trajectory::TimedStatePath &path, std::ostream &outstream) |
Writes rw::trajectory::Rotation3DPath path to outstream. More... | |
template<class T , class PATH > | |
static xercesc::DOMElement * | createElement (const PATH &path, const XMLCh *pathId, xercesc::DOMDocument *doc) |
Create an element representing the path. More... | |
Class used for saving a Path using the RobWork XML Path Format.
Specification of the XML-format can be found in rwxml_path.xsd and matching with XMLPathLoader
|
inlinestatic |
Create an element representing the path.
Create an element titles pathId representing path
path | [in] Path to save. Can be either QPath, Vector3DPath, Rotation3DPath or Transform3DPath |
pathId | [in] Id of the path |
doc | [in] Document for which to construct the element |
|
static |
Saves the rw::trajectory::QPath path to file.
If an error occurs while saving a rw::core::Exception is thrown
path | [in] Path to save |
filename | [in] Target filename |
|
static |
Saves rw::trajectory::Rotation3DPath path to file.
If an error occurs while saving a rw::core::Exception is thrown
path | [in] Path to save |
filename | [in] Target filename |
|
static |
Saves rw::trajectory::StatePath to file.
If an error occurs while saving a rw::core::Exception is thrown
path | [in] Path to save |
filename | [in] Target filename |
|
static |
Saves rw::trajectory::TimedQPath to file.
If an error occurs while saving a rw::core::Exception is thrown
path | [in] Path to save |
filename | [in] Target filename |
|
static |
Saves rw::trajectory::TimedStatePath to file.
If an error occurs while saving a rw::core::Exception is thrown
path | [in] Path to save |
filename | [in] Target filename |
|
static |
Saves rw::trajectory::Transform3DPath path to file.
If an error occurs while saving a rw::core::Exception is thrown
path | [in] Path to save |
filename | [in] Target filename |
|
static |
Saves rw::trajectory::Vector3DPath path to file.
If an error occurs while saving a rw::core::Exception is thrown
path | [in] Path to save |
filename | [in] Target filename |
|
static |
Writes the rw::trajectory::QPath path to outstream.
If an error occurs while saving a rw::core::Exception is thrown
path | [in] Path to save |
outstream | [in] Stream to write to |
|
static |
Writes rw::trajectory::Rotation3DPath path to outstream.
If an error occurs while saving a rw::core::Exception is thrown
path | [in] Path to save |
outstream | [in] Stream to write to |
|
static |
Writes rw::trajectory::Rotation3DPath path to outstream.
If an error occurs while saving a rw::core::Exception is thrown
path | [in] Path to save |
outstream | [in] Stream to write to |
|
static |
Writes rw::trajectory::Rotation3DPath path to outstream.
If an error occurs while saving a rw::core::Exception is thrown
path | [in] Path to save |
outstream | [in] Stream to write to |
|
static |
Writes rw::trajectory::Rotation3DPath path to outstream.
If an error occurs while saving a rw::core::Exception is thrown
path | [in] Path to save |
outstream | [in] Stream to write to |
|
static |
Writes rw::trajectory::Rotation3DPath path to outstream.
If an error occurs while saving a rw::core::Exception is thrown
path | [in] Path to save |
outstream | [in] Stream to write to |
|
static |
Writes rw::trajectory::Vector3DPath path to outstream.
If an error occurs while saving a rw::core::Exception is thrown
path | [in] Path to save8 |
outstream | [in] Stream to write to |