A segment covers a sub-area of a Canvas. More...
#include <segment.h>


Public Member Functions | |
| Segment () | |
| Construct a new Segment. | |
| virtual | ~Segment () |
| Destruct this segment. | |
Data Access | |
| Config * | getConfig () |
| const Config * | getConfig () const |
| const eq::Viewport & | getViewport () const |
Operations | |
| VisitorResult | accept (SegmentVisitor &visitor) |
| Traverse this segment using a segment visitor. | |
| VisitorResult | accept (SegmentVisitor &visitor) const |
| Const-version of accept(). | |
Protected Types | |
| enum | DirtyBits { DIRTY_VIEWPORT = Frustum::DIRTY_CUSTOM << 0, DIRTY_FILL1 = Frustum::DIRTY_CUSTOM << 1, DIRTY_FILL2 = Frustum::DIRTY_CUSTOM << 2, DIRTY_CUSTOM = Frustum::DIRTY_CUSTOM << 3 } |
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) |
Friends | |
| class | Canvas |
| class | server::Segment |
A segment covers a sub-area of a Canvas.
It has a Frustum, and defines one output Channel of the whole projection area, typically a projector or screen.
Definition at line 41 of file lib/client/segment.h.
enum eq::Segment::DirtyBits [protected] |
The changed parts of the frustum since the last pack().
Reimplemented from eq::Frustum.
Definition at line 84 of file lib/client/segment.h.
| eq::Segment::Segment | ( | ) |
Construct a new Segment.
Reimplemented in eq::server::Segment.
Definition at line 32 of file lib/client/segment.cpp.
| eq::Segment::~Segment | ( | ) | [virtual] |
Destruct this segment.
Reimplemented in eq::server::Segment.
Definition at line 37 of file lib/client/segment.cpp.
| Config * eq::Segment::getConfig | ( | ) |
Reimplemented in eq::server::Segment.
Definition at line 58 of file lib/client/segment.cpp.
References eq::Canvas::getConfig().

| const Config * eq::Segment::getConfig | ( | ) | const |
Reimplemented in eq::server::Segment.
Definition at line 64 of file lib/client/segment.cpp.
References eq::Canvas::getConfig().

| const eq::Viewport& eq::Segment::getViewport | ( | ) | const [inline] |
Reimplemented in eq::server::Segment.
Definition at line 59 of file lib/client/segment.h.
| VisitorResult eq::Segment::accept | ( | SegmentVisitor & | visitor | ) |
Traverse this segment using a segment visitor.
| visitor | the visitor. |
Definition at line 70 of file lib/client/segment.cpp.
References eq::SegmentVisitor::visit().

| VisitorResult eq::Segment::accept | ( | SegmentVisitor & | visitor | ) | const |
Const-version of accept().
Definition at line 75 of file lib/client/segment.cpp.
References eq::SegmentVisitor::visit().

| void eq::Segment::serialize | ( | net::DataOStream & | os, | |
| const uint64_t | dirtyBits | |||
| ) | [protected, virtual] |
Reimplemented from eq::Frustum.
Definition at line 42 of file lib/client/segment.cpp.
| void eq::Segment::deserialize | ( | net::DataIStream & | is, | |
| const uint64_t | dirtyBits | |||
| ) | [protected, virtual] |
Reimplemented from eq::Frustum.
Definition at line 50 of file lib/client/segment.cpp.
0.9.1 by
1.6.1