00001
00002
00003 #ifndef G3DOPERATORS_H
00004 #define G3DOPERATORS_H
00005
00006 #include <G3D/G3D.h>
00007 using namespace G3D;
00008
00009 #include <iostream>
00010
00011
00012 namespace IS3D {
00013
00014
00015 std::ostream & operator<< ( std::ostream &os, const Vector2 &vec2);
00016 std::istream & operator>> ( std::istream &is, Vector2 &vec2);
00017
00018
00019 std::istream & operator>> ( std::istream &is, Vector3 &vec3);
00020
00021 std::ostream & operator<< ( std::ostream &os, const Matrix3 &m);
00022 std::istream & operator>> ( std::istream &is, Matrix3 &m);
00023
00024 std::ostream & operator<< ( std::ostream &os, const Matrix4 &m);
00025 std::istream & operator>> ( std::istream &is, Matrix4 &m);
00026
00027
00028
00029 std::istream & operator>> ( std::istream &is, CoordinateFrame &m);
00030
00031 std::ostream & operator<< ( std::ostream &os, const Color3 &c);
00032 std::istream & operator>> ( std::istream &is, Color3 &c);
00033
00034 std::ostream & operator<< ( std::ostream &os, const Color4 &c);
00035 std::istream & operator>> ( std::istream &is, Color4 &c);
00036
00037
00038
00039
00040 std::string matrix4ToString(Matrix4 m);
00041 std::string coordinateFrameToString(CoordinateFrame cf);
00042
00043
00044 }
00045
00046 #endif