libalmath  1.14.5
almath/tools/almathio.h
00001 /*
00002  * Copyright (c) 2012 Aldebaran Robotics. All rights reserved.
00003  * Use of this source code is governed by a BSD-style license that can be
00004  * found in the COPYING file.
00005  */
00006 
00007 
00008 #pragma once
00009 #ifndef _LIBALMATH_ALMATH_TOOLS_ALMATHIO_H_
00010 #define _LIBALMATH_ALMATH_TOOLS_ALMATHIO_H_
00011 
00012 #include <iostream>
00013 #include <sstream>
00014 
00015 #include <almath/types/alpose2d.h>
00016 #include <almath/types/alposition2d.h>
00017 #include <almath/types/alposition3d.h>
00018 #include <almath/types/alposition6d.h>
00019 #include <almath/types/alpositionandvelocity.h>
00020 #include <almath/types/alrotation.h>
00021 #include <almath/types/alrotation3d.h>
00022 #include <almath/types/altransform.h>
00023 #include <almath/types/altransformandvelocity6d.h>
00024 #include <almath/types/alvelocity3d.h>
00025 #include <almath/types/alvelocity6d.h>
00026 #include <almath/types/alquaternion.h>
00027 
00030 namespace AL {
00031 namespace Math {
00032 
00043 std::ostream& operator<< (std::ostream& pStream, const Pose2D& pPos);
00044 
00055 std::ostream& operator<< (std::ostream& pStream, const Position2D& pPos);
00056 
00067 std::ostream& operator<< (std::ostream& pStream, const Position3D& pPos);
00068 
00079 std::ostream& operator<< (std::ostream& pStream, const Position6D& pPos);
00080 
00091 std::ostream& operator<< (std::ostream& pStream, const PositionAndVelocity& pPosVel);
00092 
00103 std::ostream& operator<< (std::ostream& pStream, const Rotation& pRot);
00104 
00115 std::ostream& operator<< (std::ostream& pStream, const Rotation3D& pRot);
00116 
00127 std::ostream& operator<< (std::ostream& pStream, const Transform& pT);
00128 
00139 std::ostream& operator<< (std::ostream& pStream, const TransformAndVelocity6D& pTV);
00140 
00151 std::ostream& operator<< (std::ostream& pStream, const Velocity3D& pVel);
00152 
00163 std::ostream& operator<< (std::ostream& pStream, const Velocity6D& pVel);
00164 
00174 std::string toSpaceSeparated(const Position3D& pPos);
00175 
00185 std::string toSpaceSeparated(const Velocity6D& pVel);
00186 
00196 std::string toSpaceSeparated(const Transform& pT);
00197 
00207 std::string toSpaceSeparated(const Position6D& pPos);
00208 
00219 std::ostream& operator<< (std::ostream& pStream, const Quaternion& pQua);
00220 
00221 }
00222 }
00223 #endif  // _LIBALMATH_ALMATH_TOOLS_ALMATHIO_H_
 All Classes Namespaces Functions Variables