[svn] / trunk / src / examples / eqPly / config.h Repository:
ViewVC logotype

View of /trunk/src/examples/eqPly/config.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1044 - (download) (as text) (annotate)
Wed Apr 18 13:38:00 2007 UTC (2 months, 3 weeks ago) by eile
File size: 1171 byte(s)
Create first version of OpenGL object manager and use it in eqPly
Add new config for L-shaped projection table (TAN Holobench)
Clean up drawableconfig
Put eqPly classes into own eqPly namespace (needed for Window)
Revert stencil buffer default to off
[ ] May break build
[ ] Breaks existing applications
[ ] Bugfix
[x] New Feature
[x] Cleanup
[ ] Optimization
[ ] Documentation
/* Copyright (c) 2006-2007, Stefan Eilemann <[email protected]> 
   All rights reserved. */
#ifndef EQ_PLY_CONFIG_H
#define EQ_PLY_CONFIG_H
#include <eq/eq.h>
#include "localInitData.h" // member
#include "frameData.h"     // member
#include "tracker.h"       // member
namespace eqPly
{
    class Config : public eq::Config
    {
    public:
        Config();
        bool isRunning() const { return _running; }
        /** @sa eq::Config::init. */
        virtual bool init();
        /** @sa eq::Config::exit. */
        virtual bool exit();
        /** @sa eq::Config::startFrame. */
        virtual uint32_t startFrame();
        void setInitData( const LocalInitData& data ) { _initData = data; }
    protected:
        virtual ~Config();
        /** @sa eq::Config::handleEvent */
        virtual bool handleEvent( const eq::ConfigEvent* event );
        bool       _running;
        int        _spinX, _spinY;
        LocalInitData _initData;
        FrameData     _frameData;
        Tracker _tracker;
    private:
        static void _applyRotation( float m[16], const float dx, const float dy );
    };
}
#endif // EQ_PLY_CONFIG_H

Back to Equalizer website
ViewVC Help
Powered by ViewVC 1.0.3