Equalizer  1.10.1
Parallel Rendering Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
eq::fabric::Frustum Class Reference

A distributed object for frustum data. More...

#include <frustum.h>

+ Inheritance diagram for eq::fabric::Frustum:
+ Collaboration diagram for eq::fabric::Frustum:

Public Types

enum  Type { TYPE_NONE, TYPE_WALL, TYPE_PROJECTION }
 The type of the last specified frustum. More...
 

Public Member Functions

EQFABRIC_API Frustum ()
 Construct a new frustum. More...
 
virtual EQFABRIC_API ~Frustum ()
 Destruct the frustum. More...
 
EQFABRIC_API void setWall (const Wall &wall)
 Set the frustum using a wall description. More...
 
EQFABRIC_API void setProjection (const Projection &projection)
 Set the frustum using a projection description. More...
 
const WallgetWall () const
 
const ProjectiongetProjection () const
 
Type getCurrentType () const
 
EQFABRIC_API void unsetFrustum ()
 Set the last specified frustum to TYPE_NONE. More...
 
EQFABRIC_API void serialize (co::DataOStream &os)
 
EQFABRIC_API void deserialize (co::DataIStream &is)
 
virtual EQFABRIC_API void backup ()
 
virtual EQFABRIC_API void restore ()
 

Protected Member Functions

virtual void updateFrustum ()
 
virtual void notifyFrustumChanged ()
 

Detailed Description

A distributed object for frustum data.

Definition at line 30 of file frustum.h.

Member Enumeration Documentation

The type of the last specified frustum.

Version
1.0
Enumerator
TYPE_NONE 

No frustum has been specified.

TYPE_WALL 

A wall description has been set last.

TYPE_PROJECTION 

A projection description has been set last.

Definition at line 40 of file frustum.h.

Constructor & Destructor Documentation

EQFABRIC_API eq::fabric::Frustum::Frustum ( )

Construct a new frustum.

Version
1.0
virtual EQFABRIC_API eq::fabric::Frustum::~Frustum ( )
virtual

Destruct the frustum.

Version
1.0

Member Function Documentation

Type eq::fabric::Frustum::getCurrentType ( ) const
inline
Returns
the type of the latest specified frustum.
Version
1.0

Definition at line 60 of file frustum.h.

const Projection& eq::fabric::Frustum::getProjection ( ) const
inline
Returns
the last specified frustum as a projection.
Version
1.0

Definition at line 57 of file frustum.h.

const Wall& eq::fabric::Frustum::getWall ( ) const
inline
Returns
the last specified frustum as a wall.
Version
1.0

Definition at line 54 of file frustum.h.

EQFABRIC_API void eq::fabric::Frustum::setProjection ( const Projection projection)

Set the frustum using a projection description.

Version
1.0
EQFABRIC_API void eq::fabric::Frustum::setWall ( const Wall wall)

Set the frustum using a wall description.

Version
1.0
EQFABRIC_API void eq::fabric::Frustum::unsetFrustum ( )

Set the last specified frustum to TYPE_NONE.

Version
1.0

The documentation for this class was generated from the following file: