42cf5bc1 |
1 | // Created by: NW,JPB,CAL |
2 | // Copyright (c) 1991-1999 Matra Datavision |
3 | // Copyright (c) 1999-2014 OPEN CASCADE SAS |
4 | // |
5 | // This file is part of Open CASCADE Technology software library. |
6 | // |
7 | // This library is free software; you can redistribute it and/or modify it under |
8 | // the terms of the GNU Lesser General Public License version 2.1 as published |
9 | // by the Free Software Foundation, with special exception defined in the file |
10 | // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
11 | // distribution for complete text of the license and disclaimer of any warranty. |
12 | // |
13 | // Alternatively, this file may be used under the terms of Open CASCADE |
14 | // commercial license or contractual agreement. |
15 | |
16 | #ifndef _Aspect_TypeOfTriedronPosition_HeaderFile |
17 | #define _Aspect_TypeOfTriedronPosition_HeaderFile |
18 | |
778cd667 |
19 | //! Definition of the Trihedron position in the views. |
20 | //! It is defined as a bitmask to simplify handling vertical and horizontal alignment independently. |
42cf5bc1 |
21 | enum Aspect_TypeOfTriedronPosition |
22 | { |
778cd667 |
23 | Aspect_TOTP_CENTER = 0x0000, //!< at the center of the view |
24 | Aspect_TOTP_TOP = 0x0001, //!< at the middle of the top side |
25 | Aspect_TOTP_BOTTOM = 0x0002, //!< at the middle of the bottom side |
26 | Aspect_TOTP_LEFT = 0x0004, //!< at the middle of the left side |
27 | Aspect_TOTP_RIGHT = 0x0008, //!< at the middle of the right side |
28 | Aspect_TOTP_LEFT_LOWER = Aspect_TOTP_BOTTOM |
29 | | Aspect_TOTP_LEFT, //!< at the left lower corner |
30 | Aspect_TOTP_LEFT_UPPER = Aspect_TOTP_TOP |
31 | | Aspect_TOTP_LEFT, //!< at the left upper corner |
32 | Aspect_TOTP_RIGHT_LOWER = Aspect_TOTP_BOTTOM |
33 | | Aspect_TOTP_RIGHT, //!< at the right lower corner |
34 | Aspect_TOTP_RIGHT_UPPER = Aspect_TOTP_TOP |
35 | | Aspect_TOTP_RIGHT, //!< at the right upper corner |
36 | |
42cf5bc1 |
37 | }; |
38 | |
39 | #endif // _Aspect_TypeOfTriedronPosition_HeaderFile |