Class for saving trajectories to file.
More...
#include <DOMTrajectorySaver.hpp>
Class for saving trajectories to file.
Trajectories are saved in the RobWork Trajectory XML-format specified in rwxml_trajectory.xsd and matching with rw::loaders::XMLTrajectoryLoader
◆ save() [1/4]
Saves the QTrajectory trajectory to file.
If an error occurs while saving an rw::core::Exception is thrown
- Parameters
-
trajectory | [in] Trajectory to save |
filename | [in] Target filename |
◆ save() [2/4]
Saves the Rotation3DTrajectory trajectory to file.
If an error occurs while saving an rw::core::Exception is thrown
- Parameters
-
trajectory | [in] Trajectory to save |
filename | [in] Target filename |
◆ save() [3/4]
Saves the Transform3DTrajectory trajectory to file.
If an error occurs while saving an rw::core::Exception is thrown
- Parameters
-
trajectory | [in] Trajectory to save |
filename | [in] Target filename |
◆ save() [4/4]
Saves the Vector3DTrajectory trajectory to file.
If an error occurs while saving an rw::core::Exception is thrown
- Parameters
-
trajectory | [in] Trajectory to save |
filename | [in] Target filename |
◆ write() [1/4]
Writes the QTrajectory trajectory to stream.
If an error occurs while saving an rw::core::Exception is thrown
- Parameters
-
trajectory | [in] Trajectory to write |
outstream | [in] Output stream |
◆ write() [2/4]
Writes the QRotation3Drajectory trajectory to stream.
If an error occurs while saving an rw::core::Exception is thrown
- Parameters
-
trajectory | [in] Trajectory to write |
outstream | [in] Output stream |
◆ write() [3/4]
Writes the Transform3DTrajectory trajectory to stream.
If an error occurs while saving an rw::core::Exception is thrown
- Parameters
-
trajectory | [in] Trajectory to write |
outstream | [in] Output stream |
◆ write() [4/4]
Writes the Vector3DQTrajectory trajectory to stream.
If an error occurs while saving an rw::core::Exception is thrown
- Parameters
-
trajectory | [in] Trajectory to write |
outstream | [in] Output stream |
The documentation for this class was generated from the following file: