server/frustum.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef EQSERVER_FRUSTUM_H
00019 #define EQSERVER_FRUSTUM_H
00020
00021 #include <eq/client/frustum.h>
00022
00023 namespace eq
00024 {
00025 namespace server
00026 {
00027 class FrustumData;
00028
00032 class Frustum : public eq::Frustum
00033 {
00034 public:
00035 Frustum( FrustumData& data );
00036 Frustum( const Frustum& from, FrustumData& data );
00037 virtual ~Frustum(){}
00038
00040 void setWall( const eq::Wall& wall );
00041
00043 void setProjection( const eq::Projection& projection );
00044
00046 void setEyeBase( const float eyeBase );
00047
00048 protected:
00049
00050 private:
00051 FrustumData& _data;
00052
00054 void _updateFrustum();
00055 };
00056
00057 std::ostream& operator << ( std::ostream& os, const Frustum* frustum );
00058 }
00059 }
00060 #endif // EQ_FRUSTUM_H