Changeset 2324


Ignore:
Timestamp:
04/12/07 14:22:57 (17 years ago)
Author:
gumbau
Message:
 
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  
    5252 
    5353        /*      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;} 
    5757 
    5858        /* Set the rotation about the vertical (y ) axis. 
     
    6161         * and the initialize button in GeoMeshViewUI. 
    6262         */ 
    63         void v_angle(float angle){vAng  =       angle;}; 
     63        void v_angle(float angle){vAng  =       angle;} 
    6464         
    6565        // Return the rotation about the vertical (y ) axis. 
    66         float v_angle(){return vAng;}; 
     66        float v_angle(){return vAng;} 
    6767         
    6868        /* Set the rotation about the horizontal (x ) axis. 
     
    7272         * initialize button in GeoMeshViewUI. 
    7373         */ 
    74         void h_angle(float angle){hAng  =       angle;}; 
     74        void h_angle(float angle){hAng  =       angle;} 
    7575         
    7676        // the rotation about the horizontal (x ) axis. 
    77         float h_angle(){return hAng;}; 
     77        float h_angle(){return hAng;} 
    7878         
    7979        /* Sets the x shift of the cube view camera. 
     
    8282         * initialize button in GeoMeshViewUI. 
    8383         */ 
    84         void panx(float x){xshift       =       x;}; 
     84        void panx(float x){xshift       =       x;} 
    8585         
    8686        /* Sets the y shift of the cube view camera. 
     
    8989         * initialize button in GeoMeshViewUI. 
    9090         */ 
    91         void pany(float y){yshift       =       y;}; 
     91        void pany(float y){yshift       =       y;} 
    9292 
    9393        //      Wire model. 
    94         void    activeWire(){mWire      =       true;}; 
    95         void    deactiveWire(){mWire    =       false;}; 
     94        void    activeWire(){mWire      =       true;} 
     95        void    deactiveWire(){mWire    =       false;} 
    9696 
    9797        //      Solid model. 
    98         void    activeSolid(){mSolid    =       true;}; 
    99         void    deactiveSolid(){mSolid  =       false;}; 
     98        void    activeSolid(){mSolid    =       true;} 
     99        void    deactiveSolid(){mSolid  =       false;} 
    100100 
    101101        //      Lighting. 
    102         void    activeLighting(){mLighting      =       true;}; 
    103         void    deactiveLighting(){mLighting    =       false;}; 
     102        void    activeLighting(){mLighting      =       true;} 
     103        void    deactiveLighting(){mLighting    =       false;} 
    104104 
    105105        //      Clockwise mode. 
    106         void    activeCW(){mCW  =       true;}; 
    107         void    deactiveCW(){mCW        =       false;}; 
     106        void    activeCW(){mCW  =       true;} 
     107        void    deactiveCW(){mCW        =       false;} 
    108108 
    109109        //      Counter Clockwise mode. 
     
    136136 
    137137        //      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);} 
    140140 
    141141        //      Change Open GL context. 
  • GTP/trunk/Lib/Geom/shared/GeoTool/src/GeoMeshView.cpp

    r2127 r2324  
    344344        mRotate                                                         =       true; 
    345345        mPan                                                                    =       false; 
     346        mBBox                                                                   =       true; 
     347        mAxes                                                                   =       true; 
    346348        mLodStrip                                                       =       false; 
    347349        mLodTree                                                        =       false; 
Note: See TracChangeset for help on using the changeset viewer.