RobWorkProject
Classes | Namespaces | Functions
Vector3D.hpp File Reference
#include <rw/common/Serializable.hpp>
#include <boost/numeric/ublas/vector.hpp>
#include <boost/numeric/ublas/vector_expression.hpp>
#include <boost/numeric/ublas/io.hpp>
#include <Eigen/Eigen>

Classes

class  Vector3D< T >
 A 3D vector $ \mathbf{v}\in \mathbb{R}^3 $. More...
 

Namespaces

 rw
 RobWork library.
 
 rw::math
 Matrices, vectors, configurations, and more.
 
 rw::common
 Various utilities and definitions of general use.
 
 rw::common::serialization
 provide generic handler interface for serialization purposes. To enable serialization of some class MyClass one could either inherit from Serializable or provide overloaded methods to
 

Functions

template<>
void write (const rw::math::Vector3D< double > &sobject, rw::common::OutputArchive &oarchive, const std::string &id)
 
template<>
void write (const rw::math::Vector3D< float > &sobject, rw::common::OutputArchive &oarchive, const std::string &id)
 
template<>
void read (rw::math::Vector3D< double > &sobject, rw::common::InputArchive &iarchive, const std::string &id)
 
template<>
void read (rw::math::Vector3D< float > &sobject, rw::common::InputArchive &iarchive, const std::string &id)
 
template<class Archive , class T >
void serialize (Archive &archive, rw::math::Vector3D< T > &vector, const unsigned int version)
 Boost serialization. More...
 

Function Documentation

◆ serialize()

void serialize ( Archive &  archive,
rw::math::Vector3D< T > &  vector,
const unsigned int  version 
)

Boost serialization.

Parameters
archive[in] the boost archive to read from or write to.
vector[in/out] the vector to read/write.
version[in] class version (currently version 0).