18 #ifndef EQFABRIC_FRUSTUM_H
19 #define EQFABRIC_FRUSTUM_H
21 #include <eq/fabric/projection.h>
22 #include <eq/fabric/wall.h>
23 #include <eq/fabric/api.h>
71 EQFABRIC_API
void serialize( co::DataOStream& os );
72 EQFABRIC_API
void deserialize( co::DataIStream& is );
74 EQFABRIC_API
virtual void backup();
75 EQFABRIC_API
virtual void restore();
78 virtual void updateFrustum() {}
79 virtual void notifyFrustumChanged() {}
90 Projection projection;
100 EQFABRIC_API std::ostream& operator << ( std::ostream& os,
const Frustum& );
107 { byteswap( reinterpret_cast< uint32_t& >( value )); }
110 #endif // EQFABRIC_FRUSTUM_H
void setProjection(const Projection &projection)
Set the frustum using a projection description.
A wall description has been set last.
A projection description has been set last.
void unsetFrustum()
Set the last specified frustum to TYPE_NONE.
Frustum()
Construct a new frustum.
A wall defining a view frustum.
const Wall & getWall() const
No frustum has been specified.
void setWall(const Wall &wall)
Set the frustum using a wall description.
Type
The type of the last specified frustum.
A projector definition defining a view frustum.
A distributed object for frustum data.
Type getCurrentType() const
const Projection & getProjection() const
virtual ~Frustum()
Destruct the frustum.