Changeset 1549 for GTP/trunk/Lib/Geom/shared/GeoTool/include
- Timestamp:
- 10/02/06 14:17:27 (18 years ago)
- Location:
- GTP/trunk/Lib/Geom/shared/GeoTool/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Geom/shared/GeoTool/include/GeoMeshView.h
r1058 r1549 19 19 20 20 namespace Geometry{ class LodTreeLibrary; } 21 22 using namespace Geometry; 23 using namespace std; 21 24 22 25 class GeoMeshView : public fltk::GlWindow … … 39 42 40 43 GeoMeshView(int x, 41 int y,42 int w,43 int h,44 const char *l = 0,45 GeoMeshViewUI *geoMeshViewUI = 0);44 int y, 45 int w, 46 int h, 47 const char *l = 0, 48 GeoMeshViewUI *geoMeshViewUI = 0); 46 49 47 50 /* This function is callalled by the zoom slider … … 55 58 * and the initialize button in GeoMeshViewUI. 56 59 */ 57 void v_angle(float angle){vAng =angle;};60 void v_angle(float angle){vAng = angle;}; 58 61 59 62 // Return the rotation about the vertical (y ) axis. … … 66 69 * initialize button in GeoMeshViewUI. 67 70 */ 68 void h_angle(float angle){hAng =angle;};71 void h_angle(float angle){hAng = angle;}; 69 72 70 73 // the rotation about the horizontal (x ) axis. … … 76 79 * initialize button in GeoMeshViewUI. 77 80 */ 78 void panx(float x){xshift =x;};81 void panx(float x){xshift = x;}; 79 82 80 83 /* Sets the y shift of the cube view camera. … … 83 86 * initialize button in GeoMeshViewUI. 84 87 */ 85 void pany(float y){yshift =y;};88 void pany(float y){yshift = y;}; 86 89 87 90 // Wire model. … … 116 119 void activeLodTree(){mLodTree = true;} 117 120 void deactiveLodTree(){mLodTree = false;} 118 119 121 120 122 // Ilumination modes. … … 134 136 #endif 135 137 } 138 136 139 void restoreContext() 137 140 { … … 196 199 void LoadTexture(const char *); 197 200 void LoadTextureSubMesh(int isubmesh, const char *); 201 void addTexFile(const char *); 202 void changeTexFile(int isubmesh, const char *); 198 203 199 204 int getSubMeshCount(void) const { return mSubMeshCount; } … … 294 299 // Idetifier of Visualization List. 295 300 GLuint mIdVisualList; 301 302 // List of texture files of the mesh. 303 vector<string> mMeshTexFiles; 296 304 }; 297 305 -
GTP/trunk/Lib/Geom/shared/GeoTool/include/GeoMeshViewUI.h
r1543 r1549 435 435 int numSubMeshNames; 436 436 char **SubMeshNames; 437 438 437 }; 439 438
Note: See TracChangeset
for help on using the changeset viewer.