19 #ifndef EQSEQUEL_VIEWDATA_H
20 #define EQSEQUEL_VIEWDATA_H
23 #include <seq/types.h>
24 #include <eq/fabric/vmmlib.h>
25 #include <co/serializable.h>
65 SEQ_API
void spinModel(
const float x,
const float y,
const float z );
68 SEQ_API
void moveModel(
const float x,
const float y,
const float z );
91 SEQ_API
void setOrtho(
const bool on );
101 virtual SEQ_API
bool update();
118 virtual SEQ_API
void serialize( co::DataOStream& os,
119 const uint64_t dirtyBits );
120 virtual SEQ_API
void deserialize( co::DataIStream& is,
121 const uint64_t dirtyBits );
127 DIRTY_MODELMATRIX = co::Serializable::DIRTY_CUSTOM << 0,
128 DIRTY_STATISTICS = co::Serializable::DIRTY_CUSTOM << 1,
129 DIRTY_ORTHO = co::Serializable::DIRTY_CUSTOM << 2
132 bool _handleEvent(
const eq::Event& event );
134 Matrix4f _modelMatrix;
135 int32_t _spinX, _spinY;
141 #endif // EQSEQUEL_VIEWDATA_H
SEQ_API void showStatistics(const bool on)
Enable or disable statistics rendering.
Defines export visibility macros for library Sequel.
SEQ_API ViewData()
Construct a new view data.
virtual SEQ_API bool update()
Update the view data.
bool getStatistics() const
A command specialization for config events.
SEQ_API void moveModel(const float x, const float y, const float z)
Move the model matrix by the given increments.
virtual SEQ_API bool handleEvent(const eq::ConfigEvent *event)
Handle the given event.
SEQ_API void setOrtho(const bool on)
Enable or disable orthographic rendering.
virtual SEQ_API ~ViewData()
Destruct this view data.
const Matrix4f & getModelMatrix() const
SEQ_API void spinModel(const float x, const float y, const float z)
Rotate the model matrix by the given increments.
Sequel - A simple interface to the Equalizer parallel rendering framework.