Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

# Tools/Math/Pose3D.cpp

Go to the documentation of this file.

    00001 /**
    00002  * @file Pose3D.cpp
    00003  * Implementation of class Pose3D
    00004  *
    00005  * @author <a href="mailto:martin.kallnik@gmx.de">Martin Kallnik</a>
    00006  * @author Max Risler
    00007  */
    00008
    00009 #include "Pose3D.h"
    00010 #include "Tools/Streams/Streamable.h"
    00011
    00012 In& operator>>(In& stream, Pose3D& pose3D)
    00013 {
    00014   STREAM_REGISTER_BEGIN_EXT( pose3D);
    00015   STREAM_EXT( stream, pose3D.rotation);
    00016   STREAM_EXT( stream, pose3D.translation);
    00017   STREAM_REGISTER_FINISH();
    00018   /*
    00019   stream >> pose3D.rotation;
    00020   stream >> pose3D.translation;
    00021   */
    00022   return stream;
    00023 }
    00024
    00025 Out& operator<<(Out& stream, const Pose3D& pose3D)
    00026 {
    00027   STREAM_REGISTER_BEGIN_EXT( pose3D);
    00028   STREAM_EXT( stream, pose3D.rotation);
    00029   STREAM_EXT( stream, pose3D.translation);
    00030   STREAM_REGISTER_FINISH();
    00031   /*
    00032   stream << pose3D.rotation;
    00033   stream << pose3D.translation;
    00034   */
    00035   return stream;
    00036 }
    00037