Equalizer  1.6.1
Public Member Functions | List of all members
eqPly::FrameData Class Reference

Frame-specific data. More...

#include <frameData.h>

+ Inheritance diagram for eqPly::FrameData:
+ Collaboration diagram for eqPly::FrameData:

Public Member Functions

void reset ()
 
void reset ()
 
Rendering flags.
void setModelID (const eq::uint128_t &id)
 
void setColorMode (const ColorMode color)
 
void setRenderMode (const mesh::RenderMode mode)
 
void setIdle (const bool idleMode)
 
void toggleOrtho ()
 
void toggleStatistics ()
 
void toggleHelp ()
 
void toggleWireframe ()
 
void toggleColorMode ()
 
void adjustQuality (const float delta)
 
void togglePilotMode ()
 
void toggleRenderMode ()
 
void toggleCompression ()
 
eq::uint128_t getModelID () const
 
ColorMode getColorMode () const
 
float getQuality () const
 
bool useOrtho () const
 
bool useStatistics () const
 
bool showHelp () const
 
bool useWireframe () const
 
bool usePilotMode () const
 
bool isIdle () const
 
mesh::RenderMode getRenderMode () const
 
bool useCompression () const
 
void setModelID (const eq::uint128_t &id)
 
void setColorMode (const ColorMode color)
 
void setRenderMode (const mesh::RenderMode mode)
 
void setIdle (const bool idleMode)
 
void toggleOrtho ()
 
void toggleStatistics ()
 
void toggleHelp ()
 
void toggleWireframe ()
 
void toggleColorMode ()
 
void adjustQuality (const float delta)
 
void togglePilotMode ()
 
void toggleRenderMode ()
 
void toggleCompression ()
 
eq::uint128_t getModelID () const
 
ColorMode getColorMode () const
 
float getQuality () const
 
bool useOrtho () const
 
bool useStatistics () const
 
bool showHelp () const
 
bool useWireframe () const
 
bool usePilotMode () const
 
bool isIdle () const
 
mesh::RenderMode getRenderMode () const
 
bool useCompression () const
 
Camera parameters.
void setCameraPosition (const eq::Vector3f &position)
 
void setRotation (const eq::Vector3f &rotation)
 
void setModelRotation (const eq::Vector3f &rotation)
 
void spinCamera (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)
 
const eq::Matrix4f & getCameraRotation () const
 
const eq::Matrix4f & getModelRotation () const
 
const eq::Vector3f & getCameraPosition () const
 
void setCameraPosition (const eq::Vector3f &position)
 
void setRotation (const eq::Vector3f &rotation)
 
void setModelRotation (const eq::Vector3f &rotation)
 
void spinCamera (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)
 
const eq::Matrix4f & getCameraRotation () const
 
const eq::Matrix4f & getModelRotation () const
 
const eq::Vector3f & getCameraPosition () const
 
View interface.
void setCurrentViewID (const eq::uint128_t &id)
 
eq::uint128_t getCurrentViewID () const
 
void setCurrentViewID (const eq::uint128_t &id)
 
eq::uint128_t getCurrentViewID () const
 

Message overlay.

enum  DirtyBits {
  DIRTY_CAMERA = co::Serializable::DIRTY_CUSTOM << 0, DIRTY_FLAGS = co::Serializable::DIRTY_CUSTOM << 1, DIRTY_VIEW = co::Serializable::DIRTY_CUSTOM << 2, DIRTY_MESSAGE = co::Serializable::DIRTY_CUSTOM << 3,
  DIRTY_CAMERA = co::Serializable::DIRTY_CUSTOM << 0, DIRTY_FLAGS = co::Serializable::DIRTY_CUSTOM << 1, DIRTY_VIEW = co::Serializable::DIRTY_CUSTOM << 2, DIRTY_MESSAGE = co::Serializable::DIRTY_CUSTOM << 3
}
 The changed parts of the data since the last pack(). More...
 
enum  DirtyBits {
  DIRTY_CAMERA = co::Serializable::DIRTY_CUSTOM << 0, DIRTY_FLAGS = co::Serializable::DIRTY_CUSTOM << 1, DIRTY_VIEW = co::Serializable::DIRTY_CUSTOM << 2, DIRTY_MESSAGE = co::Serializable::DIRTY_CUSTOM << 3,
  DIRTY_CAMERA = co::Serializable::DIRTY_CUSTOM << 0, DIRTY_FLAGS = co::Serializable::DIRTY_CUSTOM << 1, DIRTY_VIEW = co::Serializable::DIRTY_CUSTOM << 2, DIRTY_MESSAGE = co::Serializable::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
 
void setMessage (const std::string &message)
 
const std::string & getMessage () const
 
virtual void serialize (co::DataOStream &os, const uint64_t dirtyBits)
 
virtual void deserialize (co::DataIStream &is, const uint64_t dirtyBits)
 
virtual ChangeType getChangeType () const
 
virtual void serialize (co::DataOStream &os, const uint64_t dirtyBits)
 
virtual void deserialize (co::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 45 of file share/Equalizer/examples/eqPly/frameData.h.

Member Enumeration Documentation

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

Definition at line 125 of file share/Equalizer/examples/eqPly/frameData.h.

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

Definition at line 125 of file share/Equalizer/examples/seqPly/frameData.h.

Member Function Documentation

void eqPly::FrameData::deserialize ( co::DataIStream &  is,
const uint64_t  dirtyBits 
)
protectedvirtual
See Also
Object::deserialize()

Definition at line 68 of file eqPly/frameData.cpp.

virtual void eqPly::FrameData::deserialize ( co::DataIStream &  is,
const uint64_t  dirtyBits 
)
protectedvirtual
See Also
Object::deserialize()
void eqPly::FrameData::serialize ( co::DataOStream &  os,
const uint64_t  dirtyBits 
)
protectedvirtual
See Also
Object::serialize()

Definition at line 53 of file eqPly/frameData.cpp.

virtual void eqPly::FrameData::serialize ( co::DataOStream &  os,
const uint64_t  dirtyBits 
)
protectedvirtual
See Also
Object::serialize()

The documentation for this class was generated from the following files: