#ifndef PATTERN_H #define PATTERN_H #include #include "texture.h" #include class Pattern { private: double patt_width; double patt_center[2]; int patt_id; protected: double patt_trans_kake[3][4]; public: Pattern(std::string filename); void update(ARMarkerInfo* marker_info, int marker_num); protected: virtual void draw() = 0; }; class KakePattern : public Pattern { private: Texture* tex; public: KakePattern(); protected: virtual void draw(); }; #endif