Equalizer
1.2.1
|
A distributed object for frustum data. More...
#include <frustum.h>
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 Wall & | getWall () const |
const Projection & | getProjection () const |
Type | getCurrentType () const |
virtual void | unsetFrustum () |
Set the last specified frustum to TYPE_NONE. | |
void | serialize (co::DataOStream &os) |
void | deserialize (co::DataIStream &is) |
virtual void | backup () |
virtual void | restore () |
Public Types | |
enum | Type { TYPE_NONE, TYPE_WALL, TYPE_PROJECTION } |
The type of the last specified frustum. More... | |
Protected Member Functions | |
virtual void | updateFrustum () |
Construct a new frustum.
virtual eq::fabric::Frustum::~Frustum | ( | ) | [virtual] |
Destruct the frustum.
Type eq::fabric::Frustum::getCurrentType | ( | ) | const [inline] |
const Projection& eq::fabric::Frustum::getProjection | ( | ) | const [inline] |
const Wall& eq::fabric::Frustum::getWall | ( | ) | const [inline] |
virtual void eq::fabric::Frustum::setProjection | ( | const Projection & | projection | ) | [virtual] |
Set the frustum using a projection description.
Reimplemented in eq::fabric::Canvas< CFG, C, S, L >, eq::fabric::Canvas< Config, Canvas, Segment, Layout >, eq::fabric::Segment< C, S, CH >, eq::fabric::Segment< Canvas, Segment, Channel >, eq::fabric::View< L, V, O >, and eq::fabric::View< Layout, View, Observer >.
virtual void eq::fabric::Frustum::setWall | ( | const Wall & | wall | ) | [virtual] |
Set the frustum using a wall description.
Reimplemented in eq::fabric::Canvas< CFG, C, S, L >, eq::fabric::Canvas< Config, Canvas, Segment, Layout >, eq::fabric::Segment< C, S, CH >, eq::fabric::Segment< Canvas, Segment, Channel >, eq::fabric::View< L, V, O >, and eq::fabric::View< Layout, View, Observer >.
virtual void eq::fabric::Frustum::unsetFrustum | ( | ) | [virtual] |
Set the last specified frustum to TYPE_NONE.
Reimplemented in eq::fabric::Canvas< CFG, C, S, L >, eq::fabric::Canvas< Config, Canvas, Segment, Layout >, eq::fabric::Segment< C, S, CH >, eq::fabric::Segment< Canvas, Segment, Channel >, eq::fabric::View< L, V, O >, and eq::fabric::View< Layout, View, Observer >.