31 #ifndef EQ_PLY_CONFIG_H
32 #define EQ_PLY_CONFIG_H
35 #include "localInitData.h"
36 #include "frameData.h"
37 #include "cameraAnimation.h"
40 #include <eq/admin/base.h>
66 void setInitData(
const LocalInitData& data ) { _initData = data; }
67 const InitData& getInitData()
const {
return _initData; }
70 bool loadData(
const eq::uint128_t& initDataID );
92 virtual co::uint128_t
sync(
93 const co::uint128_t& version = co::VERSION_HEAD );
104 ModelDists _modelDist;
105 lunchbox::Lock _modelLock;
109 uint64_t _messageTime;
114 int32_t _numFramesAA;
116 eq::admin::ServerPtr _admin;
119 void _registerModels();
121 void _deregisterData();
123 bool _needNewFrame();
126 void _switchCanvas();
128 void _switchViewMode();
130 void _freezeLoadBalancing(
const bool onOff );
131 void _adjustEyeBase(
const float delta );
132 void _adjustTileSize(
const int delta );
133 void _adjustResistance(
const int delta );
134 void _adjustModelScale(
const float factor );
135 void _switchLayout( int32_t increment );
136 void _toggleEqualizer();
138 void _setHeadMatrix(
const eq::Matrix4f& matrix );
139 const eq::Matrix4f& _getHeadMatrix()
const;
140 void _changeFocusDistance(
const float delta );
141 void _setFocusMode(
const eq::FocusMode mode );
144 eq::admin::ServerPtr _getAdminServer();
145 void _closeAdminServer();
147 View* _getCurrentView();
148 const View* _getCurrentView()
const;
150 void _setMessage(
const std::string& message );
155 #endif // EQ_PLY_CONFIG_H
A configuration is a visualization session driven by an application.
virtual uint32_t startFrame()
A command specialization for config events.
virtual ~Config()
Destruct a config.
uint32_t getAnimationFrame()
A canvas represents a logical 2D projection surface.
lunchbox::RefPtr< Server > ServerPtr
A reference-counted pointer to an eq::Server.
virtual bool handleEvent(const eq::ConfigEvent *event)
const Model * getModel(const eq::uint128_t &id)
Loads sequence of camera positions and interpolates them on a per-frame basis.
Manages the argument parsing and non-distributed part of the initialization data. ...
virtual co::uint128_t sync(const co::uint128_t &version=co::VERSION_HEAD)
Synchronize config and admin copy.
Event for a key press or release.
bool loadData(const eq::uint128_t &initDataID)
Map per-config data to the local node process.
The configuration, run be the EqPly application.