eq::Segment Class Reference

A segment covers a sub-area of a Canvas. More...

#include <segment.h>

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

List of all members.

Public Member Functions

 Segment ()
 Construct a new Segment.
virtual ~Segment ()
 Destruct this segment.
Data Access



ConfiggetConfig ()
const ConfiggetConfig () const
const eq::ViewportgetViewport () 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

Detailed Description

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.


Member Enumeration Documentation

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.


Constructor & Destructor Documentation

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.


Member Function Documentation

Config * eq::Segment::getConfig (  ) 
Returns:
the config of this view.

Reimplemented in eq::server::Segment.

Definition at line 58 of file lib/client/segment.cpp.

References eq::Canvas::getConfig().

Here is the call graph for this function:

const Config * eq::Segment::getConfig (  )  const
Returns:
the config of this view.

Reimplemented in eq::server::Segment.

Definition at line 64 of file lib/client/segment.cpp.

References eq::Canvas::getConfig().

Here is the call graph for this function:

const eq::Viewport& eq::Segment::getViewport (  )  const [inline]
Returns:
the segment's viewport.

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.

Parameters:
visitor the visitor.
Returns:
the result of the visitor traversal.

Definition at line 70 of file lib/client/segment.cpp.

References eq::SegmentVisitor::visit().

Here is the call graph for this function:

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

Here is the call graph for this function:

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

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]
See also:
Frustum::deserialize

Reimplemented from eq::Frustum.

Definition at line 50 of file lib/client/segment.cpp.


The documentation for this class was generated from the following files:
Generated on Sat Feb 6 13:06:27 2010 for Equalizer 0.9.1 by  doxygen 1.6.1