18 #ifndef EQFABRIC_FRUSTUM_H
19 #define EQFABRIC_FRUSTUM_H
21 #include <eq/fabric/projection.h>
22 #include <eq/fabric/wall.h>
65 EQFABRIC_API
void serialize( co::DataOStream& os );
66 EQFABRIC_API
void deserialize( co::DataIStream& is );
68 EQFABRIC_API
virtual void backup();
69 EQFABRIC_API
virtual void restore();
72 virtual void updateFrustum() {}
73 virtual void notifyFrustumChanged() {}
84 Projection projection;
91 EQFABRIC_API std::ostream& operator << ( std::ostream& os,
const Frustum& );
98 { byteswap( reinterpret_cast< uint32_t& >( value )); }
101 #endif // EQFABRIC_FRUSTUM_H
EQFABRIC_API Frustum()
Construct a new frustum.
Defines export visibility macros for library EqualizerFabric.
EQFABRIC_API void unsetFrustum()
Set the last specified frustum to TYPE_NONE.
A wall defining a view frustum.
const Projection & getProjection() const
Type
The type of the last specified frustum.
Type getCurrentType() const
No frustum has been specified.
A projector definition defining a view frustum.
const Wall & getWall() const
A projection description has been set last.
EQFABRIC_API void setWall(const Wall &wall)
Set the frustum using a wall description.
EQFABRIC_API void setProjection(const Projection &projection)
Set the frustum using a projection description.
A wall description has been set last.
virtual EQFABRIC_API ~Frustum()
Destruct the frustum.
A distributed object for frustum data.