Ignore:
Timestamp:
10/02/06 14:17:27 (18 years ago)
Author:
gumbau
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Geom/shared/GeoTool/include/GeoMeshView.h

    r1058 r1549  
    1919 
    2020namespace Geometry{ class LodTreeLibrary; } 
     21 
     22using   namespace       Geometry; 
     23using   namespace       std; 
    2124 
    2225class GeoMeshView : public fltk::GlWindow 
     
    3942 
    4043        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); 
    4649 
    4750        /*      This function is callalled by the zoom slider 
     
    5558         * and the initialize button in GeoMeshViewUI. 
    5659         */ 
    57         void v_angle(float angle){vAng=angle;}; 
     60        void v_angle(float angle){vAng  =       angle;}; 
    5861         
    5962        // Return the rotation about the vertical (y ) axis. 
     
    6669         * initialize button in GeoMeshViewUI. 
    6770         */ 
    68         void h_angle(float angle){hAng=angle;}; 
     71        void h_angle(float angle){hAng  =       angle;}; 
    6972         
    7073        // the rotation about the horizontal (x ) axis. 
     
    7679         * initialize button in GeoMeshViewUI. 
    7780         */ 
    78         void panx(float x){xshift=x;}; 
     81        void panx(float x){xshift       =       x;}; 
    7982         
    8083        /* Sets the y shift of the cube view camera. 
     
    8386         * initialize button in GeoMeshViewUI. 
    8487         */ 
    85         void pany(float y){yshift=y;}; 
     88        void pany(float y){yshift       =       y;}; 
    8689 
    8790        //      Wire model. 
     
    116119        void    activeLodTree(){mLodTree        =       true;} 
    117120        void    deactiveLodTree(){mLodTree      =       false;} 
    118  
    119121 
    120122        //      Ilumination modes. 
     
    134136#endif 
    135137        } 
     138 
    136139        void    restoreContext() 
    137140        { 
     
    196199        void    LoadTexture(const char *); 
    197200        void    LoadTextureSubMesh(int isubmesh, const char *); 
     201        void    addTexFile(const char *); 
     202        void    changeTexFile(int isubmesh, const char *); 
    198203 
    199204        int getSubMeshCount(void) const { return mSubMeshCount; } 
     
    294299        //      Idetifier of Visualization List. 
    295300        GLuint  mIdVisualList; 
     301 
     302        //      List of texture files of the mesh. 
     303        vector<string>  mMeshTexFiles; 
    296304}; 
    297305 
Note: See TracChangeset for help on using the changeset viewer.