Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2024-11-15 09:47:02

0001 // Created on: 2004-10-29
0002 // Created by: Alexander BORODIN
0003 // Copyright (c) 2004-2014 OPEN CASCADE SAS
0004 //
0005 // This file is part of Open CASCADE Technology software library.
0006 //
0007 // This library is free software; you can redistribute it and/or modify it under
0008 // the terms of the GNU Lesser General Public License version 2.1 as published
0009 // by the Free Software Foundation, with special exception defined in the file
0010 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0011 // distribution for complete text of the license and disclaimer of any warranty.
0012 //
0013 // Alternatively, this file may be used under the terms of Open CASCADE
0014 // commercial license or contractual agreement.
0015 
0016 #ifndef Graphic3d_TransModeFlags_HeaderFile
0017 #define Graphic3d_TransModeFlags_HeaderFile
0018 
0019 //! Transform Persistence Mode defining whether to lock in object position, rotation and / or zooming relative to camera position.
0020 enum Graphic3d_TransModeFlags
0021 {
0022   Graphic3d_TMF_None           = 0x0000,                  //!< no persistence attributes (normal 3D object)
0023   Graphic3d_TMF_ZoomPers       = 0x0002,                  //!< object does not resize
0024   Graphic3d_TMF_RotatePers     = 0x0008,                  //!< object does not rotate;
0025   Graphic3d_TMF_TriedronPers   = 0x0020,                  //!< object behaves like trihedron - it is fixed at the corner of view and does not resizing (but rotating)
0026   Graphic3d_TMF_2d             = 0x0040,                  //!< object is defined in 2D screen coordinates (pixels) and does not resize, pan and rotate
0027   Graphic3d_TMF_CameraPers     = 0x0080,                  //!< object is in front of the camera
0028   Graphic3d_TMF_ZoomRotatePers = Graphic3d_TMF_ZoomPers
0029                                | Graphic3d_TMF_RotatePers //!< object doesn't resize and rotate
0030 };
0031 
0032 #endif