eq::Frustum Class Reference

A distributed Object for frustum data. More...

#include <frustum.h>

Inheritance diagram for eq::Frustum:

Inheritance graph
[legend]
Collaboration diagram for eq::Frustum:

Collaboration graph
[legend]

List of all members.

Public Types

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

Public Member Functions

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

Protected Types

enum  DirtyBits {
  DIRTY_TYPE = Object::DIRTY_CUSTOM << 0, DIRTY_WALL = Object::DIRTY_CUSTOM << 1, DIRTY_PROJECTION = Object::DIRTY_CUSTOM << 2, DIRTY_FILL1 = Object::DIRTY_CUSTOM << 3,
  DIRTY_FILL2 = Object::DIRTY_CUSTOM << 4, DIRTY_CUSTOM = Object::DIRTY_CUSTOM << 5
}
 The changed parts of the frustum since the last pack(). More...

Protected Member Functions

virtual void serialize (net::DataOStream &os, const uint64_t dirtyBits)
virtual void deserialize (net::DataIStream &is, const uint64_t dirtyBits)


Detailed Description

A distributed Object for frustum data.

Definition at line 28 of file lib/client/frustum.h.


Member Enumeration Documentation

The type of the latest specified frustum.

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 38 of file lib/client/frustum.h.

enum eq::Frustum::DirtyBits [protected]

The changed parts of the frustum since the last pack().

Reimplemented from eq::Object.

Reimplemented in eq::Canvas, eq::Segment, and eq::View.

Definition at line 72 of file lib/client/frustum.h.


Constructor & Destructor Documentation

eq::Frustum::Frustum (  ) 

Construct a new Frustum.

Definition at line 26 of file lib/client/frustum.cpp.

eq::Frustum::~Frustum (  )  [virtual]

Destruct the frustum.

Reimplemented in eq::server::Frustum.

Definition at line 30 of file lib/client/frustum.cpp.

References TYPE_NONE.


Member Function Documentation

void eq::Frustum::setWall ( const Wall wall  ) 

Set the frustum using a wall description.

Reimplemented in eq::server::Frustum.

Definition at line 57 of file lib/client/frustum.cpp.

References eq::Object::setDirty(), and TYPE_WALL.

Referenced by eq::server::Canvas::addSegment(), eq::View::handleEvent(), and eq::server::Frustum::setWall().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Set the frustum using a projection description.

Reimplemented in eq::server::Frustum.

Definition at line 65 of file lib/client/frustum.cpp.

References eq::Object::setDirty(), and TYPE_PROJECTION.

Referenced by eq::server::Canvas::addSegment(), eq::View::handleEvent(), and eq::server::Frustum::setProjection().

Here is the call graph for this function:

Here is the caller graph for this function:

const Wall& eq::Frustum::getWall (  )  const [inline]

Returns:
the last specified frustum as a wall.

Definition at line 52 of file lib/client/frustum.h.

Referenced by eq::server::Canvas::addSegment(), eq::server::Compound::getWall(), eq::View::handleEvent(), and eq::server::Compound::updateFrustum().

Here is the caller graph for this function:

const Projection& eq::Frustum::getProjection (  )  const [inline]

Returns:
the last specified frustum as a projection.

Definition at line 55 of file lib/client/frustum.h.

Referenced by eq::server::Canvas::addSegment(), eq::server::Compound::getProjection(), eq::View::handleEvent(), and eq::server::Compound::updateFrustum().

Here is the caller graph for this function:

Type eq::Frustum::getCurrentType (  )  const [inline]

Returns:
the type of the latest specified frustum.

Definition at line 58 of file lib/client/frustum.h.

Referenced by eq::server::Canvas::addSegment(), eq::server::Compound::getFrustumType(), eq::View::handleEvent(), and eq::server::Compound::updateFrustum().

Here is the caller graph for this function:

void eq::Frustum::unsetFrustum (  ) 

Set the last specified frustum to TYPE_NONE.

Definition at line 73 of file lib/client/frustum.cpp.

References eq::Object::setDirty(), and TYPE_NONE.

Here is the call graph for this function:

void eq::Frustum::serialize ( net::DataOStream os,
const uint64_t  dirtyBits 
) [protected, virtual]

See also:
Object::serialize()

Reimplemented from eq::Object.

Reimplemented in eq::Canvas, eq::Segment, eq::View, and eq::server::Canvas.

Definition at line 35 of file lib/client/frustum.cpp.

void eq::Frustum::deserialize ( net::DataIStream is,
const uint64_t  dirtyBits 
) [protected, virtual]

See also:
Object::deserialize()

Reimplemented from eq::Object.

Reimplemented in eq::Canvas, eq::Segment, eq::View, eq::server::Canvas, and eq::server::View.

Definition at line 46 of file lib/client/frustum.cpp.


The documentation for this class was generated from the following files:
Generated on Mon Aug 10 18:58:42 2009 for Equalizer 0.9 by  doxygen 1.5.8