Klamp't  0.9.0
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 
8 namespace Klampt {
9 
13 struct Texturizer
14 {
15  enum { XYTexCoords, ZTexCoord, ParameterizedTexCoord };
16 
17  Texturizer();
18  bool Set(ManagedGeometry& geom);
19 
20  std::string texture;
21  int texCoords, texDivs;
22  bool texCoordAutoScale;
23 };
24 
25 } //namespace Klampt
26 
27 #endif
A "smart" geometry loading class that caches previous geometries and maintains shared collision detec...
Definition: ManagedGeometry.h:62
Applies a texture to some object.
Definition: Texturizer.h:13
Definition: ContactDistance.h:6