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_SphericalPairWithPinAndRange_HeaderFile_
0018 #define _StepKinematics_SphericalPairWithPinAndRange_HeaderFile_
0019 
0020 #include <Standard.hxx>
0021 #include <StepKinematics_SphericalPairWithPin.hxx>
0022 
0023 #include <TCollection_HAsciiString.hxx>
0024 #include <StepRepr_RepresentationItem.hxx>
0025 #include <StepKinematics_KinematicJoint.hxx>
0026 
0027 DEFINE_STANDARD_HANDLE(StepKinematics_SphericalPairWithPinAndRange, StepKinematics_SphericalPairWithPin)
0028 
0029 //! Representation of STEP entity SphericalPairWithPinAndRange
0030 class StepKinematics_SphericalPairWithPinAndRange : public StepKinematics_SphericalPairWithPin
0031 {
0032 public :
0033 
0034   //! default constructor
0035   Standard_EXPORT StepKinematics_SphericalPairWithPinAndRange();
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 hasLowerLimitYaw,
0052                            const Standard_Real theLowerLimitYaw,
0053                            const Standard_Boolean hasUpperLimitYaw,
0054                            const Standard_Real theUpperLimitYaw,
0055                            const Standard_Boolean hasLowerLimitRoll,
0056                            const Standard_Real theLowerLimitRoll,
0057                            const Standard_Boolean hasUpperLimitRoll,
0058                            const Standard_Real theUpperLimitRoll);
0059 
0060   //! Returns field LowerLimitYaw
0061   Standard_EXPORT Standard_Real LowerLimitYaw() const;
0062   //! Sets field LowerLimitYaw
0063   Standard_EXPORT void SetLowerLimitYaw (const Standard_Real theLowerLimitYaw);
0064   //! Returns True if optional field LowerLimitYaw is defined
0065   Standard_EXPORT Standard_Boolean HasLowerLimitYaw() const;
0066 
0067   //! Returns field UpperLimitYaw
0068   Standard_EXPORT Standard_Real UpperLimitYaw() const;
0069   //! Sets field UpperLimitYaw
0070   Standard_EXPORT void SetUpperLimitYaw (const Standard_Real theUpperLimitYaw);
0071   //! Returns True if optional field UpperLimitYaw is defined
0072   Standard_EXPORT Standard_Boolean HasUpperLimitYaw() const;
0073 
0074   //! Returns field LowerLimitRoll
0075   Standard_EXPORT Standard_Real LowerLimitRoll() const;
0076   //! Sets field LowerLimitRoll
0077   Standard_EXPORT void SetLowerLimitRoll (const Standard_Real theLowerLimitRoll);
0078   //! Returns True if optional field LowerLimitRoll is defined
0079   Standard_EXPORT Standard_Boolean HasLowerLimitRoll() const;
0080 
0081   //! Returns field UpperLimitRoll
0082   Standard_EXPORT Standard_Real UpperLimitRoll() const;
0083   //! Sets field UpperLimitRoll
0084   Standard_EXPORT void SetUpperLimitRoll (const Standard_Real theUpperLimitRoll);
0085   //! Returns True if optional field UpperLimitRoll is defined
0086   Standard_EXPORT Standard_Boolean HasUpperLimitRoll() const;
0087 
0088 DEFINE_STANDARD_RTTIEXT(StepKinematics_SphericalPairWithPinAndRange, StepKinematics_SphericalPairWithPin)
0089 
0090 private:
0091   Standard_Real myLowerLimitYaw; //!< optional
0092   Standard_Real myUpperLimitYaw; //!< optional
0093   Standard_Real myLowerLimitRoll; //!< optional
0094   Standard_Real myUpperLimitRoll; //!< optional
0095   Standard_Boolean defLowerLimitYaw; //!< flag "is LowerLimitYaw defined"
0096   Standard_Boolean defUpperLimitYaw; //!< flag "is UpperLimitYaw defined"
0097   Standard_Boolean defLowerLimitRoll; //!< flag "is LowerLimitRoll defined"
0098   Standard_Boolean defUpperLimitRoll; //!< flag "is UpperLimitRoll defined"
0099 
0100 };
0101 #endif // _StepKinematics_SphericalPairWithPinAndRange_HeaderFile_