Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:05:12

0001 // Created on : Sat May 02 12:41:16 2020 
0002 // Created by: Irina KRYLOVA
0003 // Generator:   Express (EXPRESS -> CASCADE/XSTEP Translator) V3.0
0004 // Copyright (c) Open CASCADE 2020
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 _StepKinematics_UniversalPairWithRange_HeaderFile_
0018 #define _StepKinematics_UniversalPairWithRange_HeaderFile_
0019 
0020 #include <Standard.hxx>
0021 #include <StepKinematics_UniversalPair.hxx>
0022 
0023 #include <TCollection_HAsciiString.hxx>
0024 #include <StepRepr_RepresentationItem.hxx>
0025 #include <StepKinematics_KinematicJoint.hxx>
0026 
0027 DEFINE_STANDARD_HANDLE(StepKinematics_UniversalPairWithRange, StepKinematics_UniversalPair)
0028 
0029 //! Representation of STEP entity UniversalPairWithRange
0030 class StepKinematics_UniversalPairWithRange : public StepKinematics_UniversalPair
0031 {
0032 public :
0033 
0034   //! default constructor
0035   Standard_EXPORT StepKinematics_UniversalPairWithRange();
0036 
0037   //! Initialize all fields (own and inherited)
0038  Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& theRepresentationItem_Name,
0039                            const Handle(TCollection_HAsciiString)& theItemDefinedTransformation_Name,
0040                            const Standard_Boolean hasItemDefinedTransformation_Description,
0041                            const Handle(TCollection_HAsciiString)& theItemDefinedTransformation_Description,
0042                            const Handle(StepRepr_RepresentationItem)& theItemDefinedTransformation_TransformItem1,
0043                            const Handle(StepRepr_RepresentationItem)& theItemDefinedTransformation_TransformItem2,
0044                            const Handle(StepKinematics_KinematicJoint)& theKinematicPair_Joint,
0045                            const Standard_Boolean theLowOrderKinematicPair_TX,
0046                            const Standard_Boolean theLowOrderKinematicPair_TY,
0047                            const Standard_Boolean theLowOrderKinematicPair_TZ,
0048                            const Standard_Boolean theLowOrderKinematicPair_RX,
0049                            const Standard_Boolean theLowOrderKinematicPair_RY,
0050                            const Standard_Boolean theLowOrderKinematicPair_RZ,
0051                            const Standard_Boolean hasUniversalPair_InputSkewAngle,
0052                            const Standard_Real theUniversalPair_InputSkewAngle,
0053                            const Standard_Boolean hasLowerLimitFirstRotation,
0054                            const Standard_Real theLowerLimitFirstRotation,
0055                            const Standard_Boolean hasUpperLimitFirstRotation,
0056                            const Standard_Real theUpperLimitFirstRotation,
0057                            const Standard_Boolean hasLowerLimitSecondRotation,
0058                            const Standard_Real theLowerLimitSecondRotation,
0059                            const Standard_Boolean hasUpperLimitSecondRotation,
0060                            const Standard_Real theUpperLimitSecondRotation);
0061 
0062   //! Returns field LowerLimitFirstRotation
0063   Standard_EXPORT Standard_Real LowerLimitFirstRotation() const;
0064   //! Sets field LowerLimitFirstRotation
0065   Standard_EXPORT void SetLowerLimitFirstRotation (const Standard_Real theLowerLimitFirstRotation);
0066   //! Returns True if optional field LowerLimitFirstRotation is defined
0067   Standard_EXPORT Standard_Boolean HasLowerLimitFirstRotation() const;
0068 
0069   //! Returns field UpperLimitFirstRotation
0070   Standard_EXPORT Standard_Real UpperLimitFirstRotation() const;
0071   //! Sets field UpperLimitFirstRotation
0072   Standard_EXPORT void SetUpperLimitFirstRotation (const Standard_Real theUpperLimitFirstRotation);
0073   //! Returns True if optional field UpperLimitFirstRotation is defined
0074   Standard_EXPORT Standard_Boolean HasUpperLimitFirstRotation() const;
0075 
0076   //! Returns field LowerLimitSecondRotation
0077   Standard_EXPORT Standard_Real LowerLimitSecondRotation() const;
0078   //! Sets field LowerLimitSecondRotation
0079   Standard_EXPORT void SetLowerLimitSecondRotation (const Standard_Real theLowerLimitSecondRotation);
0080   //! Returns True if optional field LowerLimitSecondRotation is defined
0081   Standard_EXPORT Standard_Boolean HasLowerLimitSecondRotation() const;
0082 
0083   //! Returns field UpperLimitSecondRotation
0084   Standard_EXPORT Standard_Real UpperLimitSecondRotation() const;
0085   //! Sets field UpperLimitSecondRotation
0086   Standard_EXPORT void SetUpperLimitSecondRotation (const Standard_Real theUpperLimitSecondRotation);
0087   //! Returns True if optional field UpperLimitSecondRotation is defined
0088   Standard_EXPORT Standard_Boolean HasUpperLimitSecondRotation() const;
0089 
0090 DEFINE_STANDARD_RTTIEXT(StepKinematics_UniversalPairWithRange, StepKinematics_UniversalPair)
0091 
0092 private:
0093   Standard_Real myLowerLimitFirstRotation; //!< optional
0094   Standard_Real myUpperLimitFirstRotation; //!< optional
0095   Standard_Real myLowerLimitSecondRotation; //!< optional
0096   Standard_Real myUpperLimitSecondRotation; //!< optional
0097   Standard_Boolean defLowerLimitFirstRotation; //!< flag "is LowerLimitFirstRotation defined"
0098   Standard_Boolean defUpperLimitFirstRotation; //!< flag "is UpperLimitFirstRotation defined"
0099   Standard_Boolean defLowerLimitSecondRotation; //!< flag "is LowerLimitSecondRotation defined"
0100   Standard_Boolean defUpperLimitSecondRotation; //!< flag "is UpperLimitSecondRotation defined"
0101 
0102 };
0103 #endif // _StepKinematics_UniversalPairWithRange_HeaderFile_