Changeset 2324 for GTP/trunk/Lib/Geom/shared/GeoTool
- Timestamp:
- 04/12/07 14:22:57 (18 years ago)
- Location:
- GTP/trunk/Lib/Geom/shared/GeoTool
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Geom/shared/GeoTool/include/GeoMeshView.h
r2127 r2324 52 52 53 53 /* This function is callalled by the zoom slider 54 * 55 */ 56 void scale(double factor){size = factor;} ;54 * 55 */ 56 void scale(double factor){size = factor;} 57 57 58 58 /* Set the rotation about the vertical (y ) axis. … … 61 61 * and the initialize button in GeoMeshViewUI. 62 62 */ 63 void v_angle(float angle){vAng = angle;} ;63 void v_angle(float angle){vAng = angle;} 64 64 65 65 // Return the rotation about the vertical (y ) axis. 66 float v_angle(){return vAng;} ;66 float v_angle(){return vAng;} 67 67 68 68 /* Set the rotation about the horizontal (x ) axis. … … 72 72 * initialize button in GeoMeshViewUI. 73 73 */ 74 void h_angle(float angle){hAng = angle;} ;74 void h_angle(float angle){hAng = angle;} 75 75 76 76 // the rotation about the horizontal (x ) axis. 77 float h_angle(){return hAng;} ;77 float h_angle(){return hAng;} 78 78 79 79 /* Sets the x shift of the cube view camera. … … 82 82 * initialize button in GeoMeshViewUI. 83 83 */ 84 void panx(float x){xshift = x;} ;84 void panx(float x){xshift = x;} 85 85 86 86 /* Sets the y shift of the cube view camera. … … 89 89 * initialize button in GeoMeshViewUI. 90 90 */ 91 void pany(float y){yshift = y;} ;91 void pany(float y){yshift = y;} 92 92 93 93 // Wire model. 94 void activeWire(){mWire = true;} ;95 void deactiveWire(){mWire = false;} ;94 void activeWire(){mWire = true;} 95 void deactiveWire(){mWire = false;} 96 96 97 97 // Solid model. 98 void activeSolid(){mSolid = true;} ;99 void deactiveSolid(){mSolid = false;} ;98 void activeSolid(){mSolid = true;} 99 void deactiveSolid(){mSolid = false;} 100 100 101 101 // Lighting. 102 void activeLighting(){mLighting = true;} ;103 void deactiveLighting(){mLighting = false;} ;102 void activeLighting(){mLighting = true;} 103 void deactiveLighting(){mLighting = false;} 104 104 105 105 // Clockwise mode. 106 void activeCW(){mCW = true;} ;107 void deactiveCW(){mCW = false;} ;106 void activeCW(){mCW = true;} 107 void deactiveCW(){mCW = false;} 108 108 109 109 // Counter Clockwise mode. … … 136 136 137 137 // Ilumination modes. 138 void flat(){glShadeModel(GL_FLAT);} ;139 void smooth(){glShadeModel(GL_SMOOTH);} ;138 void flat(){glShadeModel(GL_FLAT);} 139 void smooth(){glShadeModel(GL_SMOOTH);} 140 140 141 141 // Change Open GL context. -
GTP/trunk/Lib/Geom/shared/GeoTool/src/GeoMeshView.cpp
r2127 r2324 344 344 mRotate = true; 345 345 mPan = false; 346 mBBox = true; 347 mAxes = true; 346 348 mLodStrip = false; 347 349 mLodTree = false;
Note: See TracChangeset
for help on using the changeset viewer.