Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/opencascade/StepKinematics_SphericalPairWithRange.hxx was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

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_SphericalPairWithRange_HeaderFile_
0018 #define _StepKinematics_SphericalPairWithRange_HeaderFile_
0019 
0020 #include <Standard.hxx>
0021 #include <StepKinematics_SphericalPair.hxx>
0022 
0023 #include <TCollection_HAsciiString.hxx>
0024 #include <StepRepr_RepresentationItem.hxx>
0025 #include <StepKinematics_KinematicJoint.hxx>
0026 
0027 //! Representation of STEP entity SphericalPairWithRange
0028 class StepKinematics_SphericalPairWithRange : public StepKinematics_SphericalPair
0029 {
0030 public:
0031   //! default constructor
0032   Standard_EXPORT StepKinematics_SphericalPairWithRange();
0033 
0034   //! Initialize all fields (own and inherited)
0035   Standard_EXPORT void Init(
0036     const occ::handle<TCollection_HAsciiString>&      theRepresentationItem_Name,
0037     const occ::handle<TCollection_HAsciiString>&      theItemDefinedTransformation_Name,
0038     const bool                                        hasItemDefinedTransformation_Description,
0039     const occ::handle<TCollection_HAsciiString>&      theItemDefinedTransformation_Description,
0040     const occ::handle<StepRepr_RepresentationItem>&   theItemDefinedTransformation_TransformItem1,
0041     const occ::handle<StepRepr_RepresentationItem>&   theItemDefinedTransformation_TransformItem2,
0042     const occ::handle<StepKinematics_KinematicJoint>& theKinematicPair_Joint,
0043     const bool                                        theLowOrderKinematicPair_TX,
0044     const bool                                        theLowOrderKinematicPair_TY,
0045     const bool                                        theLowOrderKinematicPair_TZ,
0046     const bool                                        theLowOrderKinematicPair_RX,
0047     const bool                                        theLowOrderKinematicPair_RY,
0048     const bool                                        theLowOrderKinematicPair_RZ,
0049     const bool                                        hasLowerLimitYaw,
0050     const double                                      theLowerLimitYaw,
0051     const bool                                        hasUpperLimitYaw,
0052     const double                                      theUpperLimitYaw,
0053     const bool                                        hasLowerLimitPitch,
0054     const double                                      theLowerLimitPitch,
0055     const bool                                        hasUpperLimitPitch,
0056     const double                                      theUpperLimitPitch,
0057     const bool                                        hasLowerLimitRoll,
0058     const double                                      theLowerLimitRoll,
0059     const bool                                        hasUpperLimitRoll,
0060     const double                                      theUpperLimitRoll);
0061 
0062   //! Returns field LowerLimitYaw
0063   Standard_EXPORT double LowerLimitYaw() const;
0064   //! Sets field LowerLimitYaw
0065   Standard_EXPORT void SetLowerLimitYaw(const double theLowerLimitYaw);
0066   //! Returns True if optional field LowerLimitYaw is defined
0067   Standard_EXPORT bool HasLowerLimitYaw() const;
0068 
0069   //! Returns field UpperLimitYaw
0070   Standard_EXPORT double UpperLimitYaw() const;
0071   //! Sets field UpperLimitYaw
0072   Standard_EXPORT void SetUpperLimitYaw(const double theUpperLimitYaw);
0073   //! Returns True if optional field UpperLimitYaw is defined
0074   Standard_EXPORT bool HasUpperLimitYaw() const;
0075 
0076   //! Returns field LowerLimitPitch
0077   Standard_EXPORT double LowerLimitPitch() const;
0078   //! Sets field LowerLimitPitch
0079   Standard_EXPORT void SetLowerLimitPitch(const double theLowerLimitPitch);
0080   //! Returns True if optional field LowerLimitPitch is defined
0081   Standard_EXPORT bool HasLowerLimitPitch() const;
0082 
0083   //! Returns field UpperLimitPitch
0084   Standard_EXPORT double UpperLimitPitch() const;
0085   //! Sets field UpperLimitPitch
0086   Standard_EXPORT void SetUpperLimitPitch(const double theUpperLimitPitch);
0087   //! Returns True if optional field UpperLimitPitch is defined
0088   Standard_EXPORT bool HasUpperLimitPitch() const;
0089 
0090   //! Returns field LowerLimitRoll
0091   Standard_EXPORT double LowerLimitRoll() const;
0092   //! Sets field LowerLimitRoll
0093   Standard_EXPORT void SetLowerLimitRoll(const double theLowerLimitRoll);
0094   //! Returns True if optional field LowerLimitRoll is defined
0095   Standard_EXPORT bool HasLowerLimitRoll() const;
0096 
0097   //! Returns field UpperLimitRoll
0098   Standard_EXPORT double UpperLimitRoll() const;
0099   //! Sets field UpperLimitRoll
0100   Standard_EXPORT void SetUpperLimitRoll(const double theUpperLimitRoll);
0101   //! Returns True if optional field UpperLimitRoll is defined
0102   Standard_EXPORT bool HasUpperLimitRoll() const;
0103 
0104   DEFINE_STANDARD_RTTIEXT(StepKinematics_SphericalPairWithRange, StepKinematics_SphericalPair)
0105 
0106 private:
0107   double myLowerLimitYaw;    //!< optional
0108   double myUpperLimitYaw;    //!< optional
0109   double myLowerLimitPitch;  //!< optional
0110   double myUpperLimitPitch;  //!< optional
0111   double myLowerLimitRoll;   //!< optional
0112   double myUpperLimitRoll;   //!< optional
0113   bool   defLowerLimitYaw;   //!< flag "is LowerLimitYaw defined"
0114   bool   defUpperLimitYaw;   //!< flag "is UpperLimitYaw defined"
0115   bool   defLowerLimitPitch; //!< flag "is LowerLimitPitch defined"
0116   bool   defUpperLimitPitch; //!< flag "is UpperLimitPitch defined"
0117   bool   defLowerLimitRoll;  //!< flag "is LowerLimitRoll defined"
0118   bool   defUpperLimitRoll;  //!< flag "is UpperLimitRoll defined"
0119 };
0120 #endif // _StepKinematics_SphericalPairWithRange_HeaderFile_