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 ()
 Constructs a new Segment.
virtual ~Segment ()
 Destruct this segment.
Data Access
ConfiggetConfig ()
const ConfiggetConfig () const
const eq::ViewportgetViewport () const
VisitorResult accept (SegmentVisitor &visitor)
 Operations.

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 frustum, typically a projector or screen.

Definition at line 40 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 (  )  [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 62 of file lib/client/segment.h.

VisitorResult eq::Segment::accept ( SegmentVisitor visitor  ) 

Operations.

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:

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 Mon Aug 10 18:58:43 2009 for Equalizer 0.9 by  doxygen 1.5.8