Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:03:44

0001 // Created on: 1993-04-13
0002 // Created by: JCV
0003 // Copyright (c) 1993-1999 Matra Datavision
0004 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0005 //
0006 // This file is part of Open CASCADE Technology software library.
0007 //
0008 // This library is free software; you can redistribute it and/or modify it under
0009 // the terms of the GNU Lesser General Public License version 2.1 as published
0010 // by the Free Software Foundation, with special exception defined in the file
0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0012 // distribution for complete text of the license and disclaimer of any warranty.
0013 //
0014 // Alternatively, this file may be used under the terms of Open CASCADE
0015 // commercial license or contractual agreement.
0016 
0017 #ifndef _gp_EulerSequence_HeaderFile
0018 #define _gp_EulerSequence_HeaderFile
0019 
0020 //! Enumerates all 24 possible variants of generalized
0021 //! Euler angles, defining general 3d rotation by three
0022 //! rotations around main axes of coordinate system,
0023 //! in different possible orders.
0024 //!
0025 //! The name of the enumeration
0026 //! corresponds to order of rotations, prefixed by type
0027 //! of coordinate system used:
0028 //! - Intrinsic: rotations are made around axes of rotating
0029 //!   coordinate system associated with the object
0030 //! - Extrinsic: rotations are made around axes of fixed
0031 //!   (static) coordinate system
0032 //!
0033 //! Two specific values are provided for most frequently used
0034 //! conventions: classic Euler angles (intrinsic ZXZ) and
0035 //! yaw-pitch-roll (intrinsic ZYX).
0036 
0037 enum gp_EulerSequence
0038 {
0039   //! Classic Euler angles, alias to Intrinsic_ZXZ
0040   gp_EulerAngles,
0041 
0042   //! Yaw Pitch Roll (or nautical) angles, alias to Intrinsic_ZYX
0043   gp_YawPitchRoll,
0044 
0045   // Tait-Bryan angles (using three different axes)
0046   gp_Extrinsic_XYZ,
0047   gp_Extrinsic_XZY,
0048   gp_Extrinsic_YZX,
0049   gp_Extrinsic_YXZ,
0050   gp_Extrinsic_ZXY,
0051   gp_Extrinsic_ZYX,
0052 
0053   gp_Intrinsic_XYZ,
0054   gp_Intrinsic_XZY,
0055   gp_Intrinsic_YZX,
0056   gp_Intrinsic_YXZ,
0057   gp_Intrinsic_ZXY,
0058   gp_Intrinsic_ZYX,
0059 
0060   // Proper Euler angles (using two different axes, first and third the same)
0061   gp_Extrinsic_XYX,
0062   gp_Extrinsic_XZX,
0063   gp_Extrinsic_YZY,
0064   gp_Extrinsic_YXY,
0065   gp_Extrinsic_ZYZ,
0066   gp_Extrinsic_ZXZ,
0067 
0068   gp_Intrinsic_XYX,
0069   gp_Intrinsic_XZX,
0070   gp_Intrinsic_YZY,
0071   gp_Intrinsic_YXY,
0072   gp_Intrinsic_ZXZ,
0073   gp_Intrinsic_ZYZ
0074 };
0075 
0076 #endif // _gp_EulerSequence_HeaderFile