| 1 | |
| 2 | class AOgpu{ |
| 3 | //private: |
| 4 | Point3f dir; // direction |
| 5 | void CheckAtom(QAtom &a); |
| 6 | |
| 7 | static vector<Byte> fakeTexture; |
| 8 | static vector<unsigned int> snap; |
| 9 | |
| 10 | static vector<int> sum; |
| 11 | static unsigned int div; |
| 12 | static float areas; // expected area coverage of a 1 radius sphere |
| 13 | |
| 14 | int snapx, snapy; |
| 15 | |
| 16 | void OpenGLSnap(); |
| 17 | bool SavePPM( const char * filename ); |
| 18 | |
| 19 | static unsigned int mask; |
| 20 | public: |
| 21 | |
| 22 | static void Reset(Mol &m); |
| 23 | |
| 24 | AOgpu( Point3f _dir, Mol &m); |
| 25 | |
| 26 | static void GetFinalTexture(vector<Byte> &text, Mol &m); |
| 27 | |
| 28 | }; |