OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
cell.hpp
Go to the documentation of this file.
1 #ifndef GAME_RENDER_CELL_H
2 #define GAME_RENDER_CELL_H
3 
4 #include <string>
5 
6 namespace MWRender
7 {
8  class CellRender
9  {
10  public:
11 
12  virtual ~CellRender() {};
13 
15  virtual void show() = 0;
16 
19  virtual void hide() = 0;
20 
22  virtual void destroy() = 0;
23 
25  virtual void enable (const std::string& handle) = 0;
26 
28  virtual void disable (const std::string& handle) = 0;
29 
31  virtual void deleteObject (const std::string& handle) = 0;
32  };
33 }
34 
35 #endif
virtual void hide()=0
virtual void enable(const std::string &handle)=0
Make the reference with the given handle visible.
virtual void deleteObject(const std::string &handle)=0
Remove the reference with the given handle permanently from the scene.
Definition: cell.hpp:8
virtual void show()=0
Make the cell visible. Load the cell if necessary.
virtual void disable(const std::string &handle)=0
Make the reference with the given handle invisible.
virtual ~CellRender()
Definition: cell.hpp:12
virtual void destroy()=0
Destroy all rendering objects connected with this cell.