eqPly::FrameData Class Reference

Frame-specific data. More...

#include <frameData.h>

Inheritance diagram for eqPly::FrameData:

Inheritance graph
[legend]
Collaboration diagram for eqPly::FrameData:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void reset ()
Rendering flags.
void setModelID (const uint32_t id)
void setColorMode (const ColorMode color)
void setRenderMode (const mesh::RenderMode mode)
void setTranslation (const eq::Vector3f &translation)
void setRotation (const eq::Vector3f &rotation)
void setModelRotation (const eq::Vector3f &rotation)
void toggleOrtho ()
void toggleStatistics ()
void toggleHelp ()
void toggleWireframe ()
void toggleColorMode ()
void togglePilotMode ()
void toggleRenderMode ()
uint32_t getModelID () const
ColorMode getColorMode () const
bool useOrtho () const
bool useStatistics () const
bool showHelp () const
bool useWireframe () const
bool usePilotMode () const
mesh::RenderMode getRenderMode () const
Camera parameters.
void spinCamera (const float x, const float y)
void spinModel (const float x, const float y)
void spinModel (const float x, const float y, const float z)
void moveCamera (const float x, const float y, const float z)
void setCameraPosition (const float x, const float y, const float z)
const eq::Matrix4fgetCameraRotation () const
const eq::Matrix4fgetModelRotation () const
const eq::Vector3fgetCameraTranslation () const
View interface.
void setCurrentViewID (const uint32_t id)
uint32_t getCurrentViewID () const

Message overlay.

enum  DirtyBits { DIRTY_CAMERA = eq::Object::DIRTY_CUSTOM << 0, DIRTY_FLAGS = eq::Object::DIRTY_CUSTOM << 1, DIRTY_VIEW = eq::Object::DIRTY_CUSTOM << 2, DIRTY_MESSAGE = eq::Object::DIRTY_CUSTOM << 3 }
 The changed parts of the data since the last pack(). More...
void setMessage (const std::string &message)
const std::string & getMessage () const
virtual void serialize (eq::net::DataOStream &os, const uint64_t dirtyBits)
virtual void deserialize (eq::net::DataIStream &is, const uint64_t dirtyBits)
virtual ChangeType getChangeType () const


Detailed Description

Frame-specific data.

The frame-specific data is used as a per-config distributed object and contains mutable, rendering-relevant data. Each rendering thread (pipe) keeps its own instance synchronized with the frame currently being rendered. The data is managed by the Config, which modifies it directly.

Definition at line 36 of file examples/eqPly/frameData.h.


Member Enumeration Documentation

enum eqPly::FrameData::DirtyBits [protected]

The changed parts of the data since the last pack().

Reimplemented from eq::Object.

Definition at line 113 of file examples/eqPly/frameData.h.


Member Function Documentation

void eqPly::FrameData::serialize ( eq::net::DataOStream os,
const uint64_t  dirtyBits 
) [protected, virtual]

See also:
Object::serialize()

Reimplemented from eq::Object.

Definition at line 38 of file examples/eqPly/frameData.cpp.

References eq::Object::serialize().

Here is the call graph for this function:

void eqPly::FrameData::deserialize ( eq::net::DataIStream is,
const uint64_t  dirtyBits 
) [protected, virtual]

See also:
Object::deserialize()

Reimplemented from eq::Object.

Definition at line 52 of file examples/eqPly/frameData.cpp.

References eq::Object::deserialize().

Here is the call graph for this function:

virtual ChangeType eqPly::FrameData::getChangeType (  )  const [inline, protected, virtual]

Returns:
how the changes are to be handled.

Reimplemented from eq::Object.

Definition at line 110 of file examples/eqPly/frameData.h.

References eq::net::Object::DELTA.


The documentation for this class was generated from the following files:
Generated on Mon Aug 10 18:58:46 2009 for Equalizer 0.9 by  doxygen 1.5.8