#include <frustum.h>


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 Wall & | getWall () const |
| const Projection & | getProjection () 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) |
Definition at line 28 of file lib/client/frustum.h.
| enum eq::Frustum::Type |
The type of the latest specified frustum.
| 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.
| eq::Frustum::Frustum | ( | ) |
| 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.
| 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().


| 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().


| const Wall& eq::Frustum::getWall | ( | ) | const [inline] |
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().

| const Projection& eq::Frustum::getProjection | ( | ) | const [inline] |
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().

| Type eq::Frustum::getCurrentType | ( | ) | const [inline] |
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().

| 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.

| void eq::Frustum::serialize | ( | net::DataOStream & | os, | |
| const uint64_t | dirtyBits | |||
| ) | [protected, virtual] |
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] |
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.
0.9 by
1.5.8