libalmath  1.12
almath/tools/almathio.h
00001 /*
00002 ** Author(s):
00003 **  - Chris Kilner
00004 **  - Cyrille Collette
00005 **  - David Gouaillier
00006 **
00007 ** Copyright (C) 2011 Aldebaran Robotics
00008 */
00009 
00010 
00011 #pragma once
00012 #ifndef _LIBALMATH_ALMATH_TOOLS_ALMATHIO_H_
00013 #define _LIBALMATH_ALMATH_TOOLS_ALMATHIO_H_
00014 
00015 #include <iostream>
00016 #include <sstream>
00017 
00018 #include <almath/types/alpose2d.h>
00019 #include <almath/types/alposition2d.h>
00020 #include <almath/types/alposition3d.h>
00021 #include <almath/types/alposition6d.h>
00022 #include <almath/types/alpositionandvelocity.h>
00023 #include <almath/types/alrotation.h>
00024 #include <almath/types/alrotation3d.h>
00025 #include <almath/types/altransform.h>
00026 #include <almath/types/altransformandvelocity6d.h>
00027 #include <almath/types/alvelocity3d.h>
00028 #include <almath/types/alvelocity6d.h>
00029 
00030 
00033 namespace AL {
00034 namespace Math {
00035 
00046 std::ostream& operator<< (std::ostream& pStream, const Pose2D& pPos);
00047 
00058 std::ostream& operator<< (std::ostream& pStream, const Position2D& pPos);
00059 
00070 std::ostream& operator<< (std::ostream& pStream, const Position3D& pPos);
00071 
00082 std::ostream& operator<< (std::ostream& pStream, const Position6D& pPos);
00083 
00094 std::ostream& operator<< (std::ostream& pStream, const PositionAndVelocity& pPosVel);
00095 
00106 std::ostream& operator<< (std::ostream& pStream, const Rotation& pRot);
00107 
00118 std::ostream& operator<< (std::ostream& pStream, const Rotation3D& pRot);
00119 
00130 std::ostream& operator<< (std::ostream& pStream, const Transform& pT);
00131 
00142 std::ostream& operator<< (std::ostream& pStream, const TransformAndVelocity6D& pTV);
00143 
00154 std::ostream& operator<< (std::ostream& pStream, const Velocity3D& pVel);
00155 
00166 std::ostream& operator<< (std::ostream& pStream, const Velocity6D& pVel);
00167 
00177 std::string toSpaceSeparated(const Velocity6D& pVel);
00178 
00188 std::string toSpaceSeparated(const Transform& pT);
00189 
00199 std::string toSpaceSeparated(const Position6D& pPos);
00200 
00201 }
00202 }
00203 #endif  // _LIBALMATH_ALMATH_TOOLS_ALMATHIO_H_
 All Classes Namespaces Functions Variables