Sophie

Sophie

distrib > Fedora > 18 > x86_64 > by-pkgid > 8c86774a3e53d77cc119f53a2b94a57a > files > 353

root-tutorial-5.34.14-2.fc18.noarch.rpm

#ifndef ROOT_LegoDemo
#define ROOT_LegoDemo

#include <memory>

#include "DemoBase.h"

class TF2;

namespace ROOT {
namespace iOS {
namespace Demos {

class LegoDemo : public DemoBase {
public:
   LegoDemo();
   ~LegoDemo();
   
   //overriders.
   void ResetDemo() {}
   bool IsAnimated() const {return false;}
   unsigned NumOfFrames() const {return 1;}
   double AnimationTime() const {return 0.;}
   
   void StartAnimation() {}
   void NextStep() {}
   void StopAnimation() {}

   void AdjustPad(Pad *pad);
   
   void PresentDemo();
   
   bool Supports3DRotation() const {return true;}
private:
   std::unique_ptr<TF2> fLego;
   
   LegoDemo(const LegoDemo &rhs) = delete;
   LegoDemo &operator = (const LegoDemo &rhs) = delete;

};

}
}
}

#endif