Sophie

Sophie

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

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

#ifndef ROOT_H2PolyDemo
#define ROOT_H2PolyDemo

#include <memory>

#include "DemoBase.h"

class TH2Poly;

namespace ROOT {
namespace iOS {
namespace Demos {

class H2PolyDemo : public DemoBase {
public:
   H2PolyDemo(const char *fileName);
   ~H2PolyDemo();
   
   //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 false;}
private:
   std::unique_ptr<TH2Poly> fPoly;
   
   H2PolyDemo(const H2PolyDemo &rhs) = delete;
   H2PolyDemo &operator = (const H2PolyDemo &rhs) = delete;
};

}
}
}

#endif