Klamp't  0.9.0
ViewTextures.h
1 #ifndef VIEW_TEXTURES_H
2 #define VIEW_TEXTURES_H
3 
4 #include <KrisLibrary/GLdraw/GLTextureObject.h>
5 #include <KrisLibrary/image/image.h>
6 #include <map>
7 #include <string>
8 
9 namespace Klampt {
10  using namespace std;
11 
13 {
14  public:
15  static void Initialize(bool force=false);
16  static void InitializeGL(bool force=false);
17  static shared_ptr<Image> Load(const char* fn);
18  static float GradientTexcoord(float u,float min,float max);
19 
20  static map<string,shared_ptr<Image> > images;
21  static map<string,GLDraw::GLTextureObject> textureObjects;
22 };
23 
24 } //namespace Klampt
25 
26 #endif
Definition: ViewTextures.h:12
Definition: ContactDistance.h:6