Blender V2.61 - r43446
|
00001 /*************************************************************************** 00002 frames_io.h - description 00003 ------------------------- 00004 begin : June 2006 00005 copyright : (C) 2006 Erwin Aertbelien 00006 email : firstname.lastname@mech.kuleuven.ac.be 00007 00008 History (only major changes)( AUTHOR-Description ) : 00009 00010 Ruben Smits - Added output for jacobian and jntarray 06/2007 00011 00012 *************************************************************************** 00013 * This library is free software; you can redistribute it and/or * 00014 * modify it under the terms of the GNU Lesser General Public * 00015 * License as published by the Free Software Foundation; either * 00016 * version 2.1 of the License, or (at your option) any later version. * 00017 * * 00018 * This library is distributed in the hope that it will be useful, * 00019 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00020 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * 00021 * Lesser General Public License for more details. * 00022 * * 00023 * You should have received a copy of the GNU Lesser General Public * 00024 * License along with this library; if not, write to the Free Software * 00025 * Foundation, Inc., 51 Franklin Street, * 00026 * Fifth Floor, Boston, MA 02110-1301, USA. * 00027 * * 00028 ***************************************************************************/ 00076 #ifndef FRAMES_IO_H 00077 #define FRAMES_IO_H 00078 00079 #include "utilities/utility_io.h" 00080 #include "frames.hpp" 00081 #include "jntarray.hpp" 00082 #include "jacobian.hpp" 00083 00084 namespace KDL { 00085 00088 00089 00090 // I/O to C++ stream. 00091 std::ostream& operator << (std::ostream& os,const Vector& v); 00092 std::ostream& operator << (std::ostream& os,const Rotation& R); 00093 std::ostream& operator << (std::ostream& os,const Frame& T); 00094 std::ostream& operator << (std::ostream& os,const Twist& T); 00095 std::ostream& operator << (std::ostream& os,const Wrench& T); 00096 std::ostream& operator << (std::ostream& os,const Vector2& v); 00097 std::ostream& operator << (std::ostream& os,const Rotation2& R); 00098 std::ostream& operator << (std::ostream& os,const Frame2& T); 00099 00100 00101 00102 std::istream& operator >> (std::istream& is,Vector& v); 00103 std::istream& operator >> (std::istream& is,Rotation& R); 00104 std::istream& operator >> (std::istream& is,Frame& T); 00105 std::istream& operator >> (std::istream& os,Twist& T); 00106 std::istream& operator >> (std::istream& os,Wrench& T); 00107 std::istream& operator >> (std::istream& is,Vector2& v); 00108 std::istream& operator >> (std::istream& is,Rotation2& R); 00109 std::istream& operator >> (std::istream& is,Frame2& T); 00110 00111 00112 } // namespace Frame 00113 00114 #endif