Ignore:
Timestamp:
02/19/07 09:16:59 (17 years ago)
Author:
gumbau
Message:
 
File:
1 edited

Legend:

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

    r2090 r2127  
    3737        bool            mCW; 
    3838        bool            mCCW; 
     39        bool            mBBox; 
     40        bool            mAxes; 
    3941        bool            mPan; 
    4042        bool            mRotate; 
     
    116118        void    activeRotate(){mRotate  =       true;} 
    117119        void    deactiveRotate(){mRotate        =       false;} 
     120 
     121        //      Counter Clockwise mode. 
     122        void    activeAxes(){mAxes      =       true;} 
     123        void    deactiveAxes(){mAxes    =       false;} 
     124 
     125        //      Counter Clockwise mode. 
     126        void    activeBoundingBox(){mBBox       =       true;} 
     127        void    deactiveBoundingBox(){mBBox     =       false;} 
    118128 
    119129        //      LodStrip mode. 
     
    170180        void draw(); 
    171181 
    172         //      Gets the bounding box. 
    173         //Geometry::GeometryBounds      getBoundingBox(); 
    174  
    175182        //      Store one random color to each strip. 
    176183        void    setStripColors(); 
     
    211218        int findLeavesSubMesh(void); 
    212219 
     220        //      Draw coordinates axes. 
     221        void    drawAxes(); 
     222 
     223        //      Draw bounding box. 
     224        void    drawBoundingBox(); 
     225 
    213226        private: 
    214227        /* Draw the cube boundaries 
     
    242255        float           zMed; 
    243256 
     257        float           xMax; 
     258        float           yMax; 
     259        float           zMax; 
     260        float           xMin; 
     261        float           yMin; 
     262        float           zMin; 
     263 
    244264        int                     leavesSubMesh; 
    245265         
     
    257277 
    258278        virtual int     handle(int event); 
     279 
     280        //      Gets the bounding box. 
     281        void    getBoundingBox(); 
    259282 
    260283        //      Paint the mesh object. 
Note: See TracChangeset for help on using the changeset viewer.