Equalizer 1.0

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:

List of all members.

Classes

struct  BackupData

Public Member Functions

 Frustum ()
 Construct a new frustum.
virtual ~Frustum ()
 Destruct the frustum.
virtual void setWall (const Wall &wall)
 Set the frustum using a wall description.
virtual void setProjection (const Projection &projection)
 Set the frustum using a projection description.
const WallgetWall () const
const ProjectiongetProjection () const
Type getCurrentType () const
virtual void unsetFrustum ()
 Set the last specified frustum to TYPE_NONE.
virtual void backup ()
virtual void restore ()

Public Types

enum  Type { TYPE_NONE, TYPE_WALL, TYPE_PROJECTION }
 

The type of the last specified frustum.

More...

Detailed Description

A distributed object for frustum data.

Definition at line 36 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 46 of file frustum.h.


Constructor & Destructor Documentation

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

Construct a new frustum.

Version:
1.0
virtual 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 66 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 63 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 60 of file frustum.h.

virtual void eq::fabric::Frustum::setProjection ( const Projection projection) [virtual]
virtual void eq::fabric::Frustum::setWall ( const Wall wall) [virtual]

The documentation for this class was generated from the following file:
Generated on Sun May 8 2011 19:11:10 for Equalizer 1.0 by  doxygen 1.7.3