glviewvol
diff 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 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/rend_fast.h Sat Dec 27 02:35:58 2014 +0200 1.3 @@ -0,0 +1,21 @@ 1.4 +#ifndef REND_FAST_H_ 1.5 +#define REND_FAST_H_ 1.6 + 1.7 +#include "renderer.h" 1.8 + 1.9 +class RendererFast : public Renderer { 1.10 +private: 1.11 + unsigned int vol_tex; 1.12 + bool vol_tex_valid; 1.13 + 1.14 +public: 1.15 + RendererFast(); 1.16 + 1.17 + bool init(); 1.18 + void destroy(); 1.19 + 1.20 + void update(unsigned int msec); 1.21 + void render() const; 1.22 +}; 1.23 + 1.24 +#endif // REND_FAST_H_