glviewvol
annotate src/rend_fast.h @ 0:7bdf40403b9c
dicom viewer project underway
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 27 Dec 2014 02:35:58 +0200 |
parents | |
children | 04330eb80b36 |
rev | line source |
---|---|
nuclear@0 | 1 #ifndef REND_FAST_H_ |
nuclear@0 | 2 #define REND_FAST_H_ |
nuclear@0 | 3 |
nuclear@0 | 4 #include "renderer.h" |
nuclear@0 | 5 |
nuclear@0 | 6 class RendererFast : public Renderer { |
nuclear@0 | 7 private: |
nuclear@0 | 8 unsigned int vol_tex; |
nuclear@0 | 9 bool vol_tex_valid; |
nuclear@0 | 10 |
nuclear@0 | 11 public: |
nuclear@0 | 12 RendererFast(); |
nuclear@0 | 13 |
nuclear@0 | 14 bool init(); |
nuclear@0 | 15 void destroy(); |
nuclear@0 | 16 |
nuclear@0 | 17 void update(unsigned int msec); |
nuclear@0 | 18 void render() const; |
nuclear@0 | 19 }; |
nuclear@0 | 20 |
nuclear@0 | 21 #endif // REND_FAST_H_ |