projection.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef EQ_PROJECTION_H
00019 #define EQ_PROJECTION_H
00020
00021 #include <eq/base/base.h>
00022 #include <eq/client/types.h>
00023
00024 #include <iostream>
00025
00026 namespace eq
00027 {
00028 class Wall;
00037 class Projection
00038 {
00039 public:
00040 EQ_EXPORT Projection();
00041
00047 EQ_EXPORT void resizeHorizontal( const float ratio );
00048
00054 EQ_EXPORT void resizeVertical( const float ratio );
00055
00057 EQ_EXPORT Projection& operator = ( const Wall& wall );
00058
00059 EQ_EXPORT bool operator == ( const Projection& rhs ) const;
00060 EQ_EXPORT bool operator != ( const Projection& rhs ) const;
00061
00062 Vector3f origin;
00063 float distance;
00064 Vector2f fov;
00065 Vector3f hpr;
00066 };
00067
00068 EQ_EXPORT std::ostream& operator << ( std::ostream& os, const Projection& );
00069 }
00070 #endif // EQ_PROJECTION_H
00071