nuclear@8: #ifndef VOLUME_H_ nuclear@8: #define VOLUME_H_ nuclear@8: nuclear@11: #include nuclear@11: #include nuclear@8: nuclear@11: class Volume { nuclear@11: private: nuclear@8: int sz[3]; nuclear@8: float zaspect; nuclear@11: unsigned int tex; nuclear@11: nuclear@13: bool read_voldesc(const char *fname, std::list *slist); nuclear@11: nuclear@11: public: nuclear@11: Volume(); nuclear@11: ~Volume(); nuclear@11: nuclear@11: bool load(const char *fname); nuclear@11: nuclear@11: unsigned int get_texture() const; nuclear@11: void bind(int tex_unit = 0) const; nuclear@8: }; nuclear@8: nuclear@8: #endif /* VOLUME_H_ */