00001
00002
00003
00004
00005 #ifndef EQ_PLY_H
00006 #define EQ_PLY_H
00007
00008 #include <eq/eq.h>
00009
00010 #include "vertexBufferDist.h"
00011 #include "vertexBufferRoot.h"
00012
00013
00015 namespace eqPly
00016 {
00017 class LocalInitData;
00018
00019 typedef mesh::VertexBufferRoot Model;
00020 typedef VertexBufferDist ModelDist;
00021
00022 class Application : public eq::Client
00023 {
00024 public:
00025 Application( const LocalInitData& initData );
00026 virtual ~Application() {}
00027
00029 int run();
00030
00031 protected:
00033 virtual bool clientLoop();
00034
00035 private:
00036 const LocalInitData& _initData;
00037 };
00038
00039 enum LogTopics
00040 {
00041 LOG_STATS = eq::LOG_CUSTOM,
00042 LOG_CULL = eq::LOG_CUSTOM << 1
00043 };
00044 }
00045
00046 #endif // EQ_PLY_H
00047