Klamp't  0.8.1
Texturizer.h
1 #ifndef VIEW_TEXTURIZER_H
2 #define VIEW_TEXTURIZER_H
3 
4 #include <Klampt/Modeling/ManagedGeometry.h>
5 #include <KrisLibrary/GLdraw/GeometryAppearance.h>
6 #include <string>
7 
11 struct Texturizer
12 {
13  enum { XYTexCoords, ZTexCoord, ParameterizedTexCoord };
14 
15  Texturizer();
16  bool Set(ManagedGeometry& geom);
17 
18  std::string texture;
19  int texCoords, texDivs;
20  bool texCoordAutoScale;
21 };
22 
23 
24 #endif
A "smart" geometry loading class that caches previous geometries, and does not re-load or re-initiali...
Definition: ManagedGeometry.h:37
Applies a texture to some object.
Definition: Texturizer.h:11