50 return config->getInitData().getWindowSystem();
59 const InitData& initData = config->getInitData();
60 const lunchbox::UUID frameDataID = initData.getFrameDataID();
62 const bool mapped = config->
mapObject( &_frameData, frameDataID );
65 const std::string& filename = initData.getFilename();
66 const uint32_t precision = initData.getPrecision();
67 LBINFO <<
"Loading model " << filename << std::endl;
69 _renderer =
new Renderer( filename.c_str(), precision );
70 LBASSERT( _renderer );
72 if( !_renderer->loadHeader( initData.getBrightness(), initData.getAlpha( )))
74 setError( ERROR_EVOLVE_LOADMODEL_FAILED );
75 LBWARN <<
getError() <<
": " << filename <<
".vhf" << std::endl;
98 _frameData.sync( frameID );
100 _renderer->setOrtho( _frameData.useOrtho( ));
virtual eq::WindowSystem selectWindowSystem() const
Choose the window system to be used by this pipe.
A configuration is a visualization session driven by an application.
virtual bool configExit()
De-initialize this pipe.
virtual void frameStart(const uint128_t &frameID, const uint32_t frameNumber)
Start rendering a frame.
virtual void frameStart(const eq::uint128_t &frameID, const uint32_t frameNumber)
Start rendering a frame.
eq::fabric::Error getError() const
virtual void unmapObject(co::Object *object)
Unmap a mapped object.
virtual bool mapObject(co::Object *object, const UUID &id, const uint128_t &version=co::VERSION_OLDEST)
Map a distributed object.
virtual bool configInit(const uint128_t &initID)
Initialize this pipe.
void setError(const int32_t error)
Set an error code why the last operation failed.
virtual bool configInit(const eq::uint128_t &initID)
Initialize this pipe.
virtual bool configExit()
De-initialize this pipe.
The list of possible window systems.