GlobeEngine
eqSolar::FrameData Class Reference

#include <FrameData.h>

Inheritance diagram for eqSolar::FrameData:

Public Member Functions

 FrameData ()
 
virtual ~FrameData ()
 

Rendering flags.

enum  DirtyBits { DIRTY_CAMERA = co::Serializable::DIRTY_CUSTOM << 0, DIRTY_FLAGS = co::Serializable::DIRTY_CUSTOM << 1, DIRTY_PICK = co::Serializable::DIRTY_CUSTOM << 2, DIRTY_OVERLAY = co::Serializable::DIRTY_CUSTOM << 3 }
 
void toggleStatistics ()
 
void toggleHelp ()
 
bool useStatistics () const
 
bool showHelp () const
 
bool isPickMade () const
 
int getPickX () const
 
int getPickY () const
 
int getSelectedId () const
 
bool getChangeArcBallCenter () const
 
bool getToggleAnimation () const
 
bool getToggleCoordinateAxes () const
 
bool getToggleHabitableZone () const
 
bool getToggleOrbits () const
 
bool getToggleScaled () const
 
bool getToggleUnitCircles () const
 
vmml::Matrix4d getViewMatrix () const
 
void setPickMade (bool _value)
 
void pick (int x, int y)
 
void setSelectedId (int _id)
 
void setChangeArcBallCenter (bool _value)
 
void setToggleAnimation (bool value)
 
void setToggleCoordinateAxes (bool value)
 
void setToggleHabitableZone (bool value)
 
void setToggleOrbits (bool value)
 
void setToggleScaled (bool value)
 
void setToggleUnitCircles (bool value)
 
void setViewMatrix (vmml::Matrix4d matrix)
 
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.

Member Enumeration Documentation

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

Enumerator
DIRTY_CAMERA 
DIRTY_FLAGS 
DIRTY_PICK 
DIRTY_OVERLAY 

Constructor & Destructor Documentation

eqSolar::FrameData::FrameData ( )
virtual eqSolar::FrameData::~FrameData ( )
inlinevirtual

Member Function Documentation

void eqSolar::FrameData::deserialize ( co::DataIStream &  is,
const uint64_t  dirtyBits 
)
protectedvirtual
See also
Object::deserialize()
bool eqSolar::FrameData::getChangeArcBallCenter ( ) const
inline
virtual ChangeType eqSolar::FrameData::getChangeType ( ) const
inlineprotectedvirtual
int eqSolar::FrameData::getPickX ( ) const
inline
int eqSolar::FrameData::getPickY ( ) const
inline
int eqSolar::FrameData::getSelectedId ( ) const
inline
bool eqSolar::FrameData::getToggleAnimation ( ) const
inline
bool eqSolar::FrameData::getToggleCoordinateAxes ( ) const
inline
bool eqSolar::FrameData::getToggleHabitableZone ( ) const
inline
bool eqSolar::FrameData::getToggleOrbits ( ) const
inline
bool eqSolar::FrameData::getToggleScaled ( ) const
inline
bool eqSolar::FrameData::getToggleUnitCircles ( ) const
inline
vmml::Matrix4d eqSolar::FrameData::getViewMatrix ( ) const
inline
bool eqSolar::FrameData::isPickMade ( ) const
inline
void eqSolar::FrameData::pick ( int  x,
int  y 
)
void eqSolar::FrameData::serialize ( co::DataOStream &  os,
const uint64_t  dirtyBits 
)
protectedvirtual
See also
Object::serialize()
void eqSolar::FrameData::setChangeArcBallCenter ( bool  _value)
void eqSolar::FrameData::setPickMade ( bool  _value)
void eqSolar::FrameData::setSelectedId ( int  _id)
void eqSolar::FrameData::setToggleAnimation ( bool  value)
void eqSolar::FrameData::setToggleCoordinateAxes ( bool  value)
void eqSolar::FrameData::setToggleHabitableZone ( bool  value)
void eqSolar::FrameData::setToggleOrbits ( bool  value)
void eqSolar::FrameData::setToggleScaled ( bool  value)
void eqSolar::FrameData::setToggleUnitCircles ( bool  value)
void eqSolar::FrameData::setViewMatrix ( vmml::Matrix4d  matrix)
bool eqSolar::FrameData::showHelp ( ) const
inline
void eqSolar::FrameData::toggleHelp ( )
void eqSolar::FrameData::toggleStatistics ( )
bool eqSolar::FrameData::useStatistics ( ) const
inline

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