eqPly.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef EQ_PLY_H
00019 #define EQ_PLY_H
00020
00021 #include <eq/eq.h>
00022
00023 #include "vertexBufferDist.h"
00024 #include "vertexBufferRoot.h"
00025
00026
00028 namespace eqPly
00029 {
00030 class LocalInitData;
00031
00032 typedef mesh::VertexBufferRoot Model;
00033 typedef VertexBufferDist ModelDist;
00034
00036 class EqPly : public eq::Client
00037 {
00038 public:
00039 EqPly( const LocalInitData& initData );
00040 virtual ~EqPly() {}
00041
00043 int run();
00044
00045 static const std::string& getHelp();
00046
00047 protected:
00049 virtual bool clientLoop();
00050
00051 private:
00052 const LocalInitData& _initData;
00053 };
00054
00055 enum ColorMode
00056 {
00057 COLOR_MODEL,
00058 COLOR_DEMO,
00059 COLOR_WHITE,
00060 COLOR_ALL
00061 };
00062
00063 enum LogTopics
00064 {
00065 LOG_STATS = eq::LOG_CUSTOM << 0,
00066 LOG_CULL = eq::LOG_CUSTOM << 1
00067 };
00068 }
00069
00070 #endif // EQ_PLY_H
00071