Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // Created on : Sat May 02 12:41:15 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_CylindricalPairWithRange_HeaderFile_
0018 #define _StepKinematics_CylindricalPairWithRange_HeaderFile_
0019 
0020 #include <Standard.hxx>
0021 #include <StepKinematics_CylindricalPair.hxx>
0022 
0023 #include <TCollection_HAsciiString.hxx>
0024 #include <StepRepr_RepresentationItem.hxx>
0025 #include <StepKinematics_KinematicJoint.hxx>
0026 
0027 DEFINE_STANDARD_HANDLE(StepKinematics_CylindricalPairWithRange, StepKinematics_CylindricalPair)
0028 
0029 //! Representation of STEP entity CylindricalPairWithRange
0030 class StepKinematics_CylindricalPairWithRange : public StepKinematics_CylindricalPair
0031 {
0032 public :
0033 
0034   //! default constructor
0035   Standard_EXPORT StepKinematics_CylindricalPairWithRange();
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 hasLowerLimitActualTranslation,
0052                            const Standard_Real theLowerLimitActualTranslation,
0053                            const Standard_Boolean hasUpperLimitActualTranslation,
0054                            const Standard_Real theUpperLimitActualTranslation,
0055                            const Standard_Boolean hasLowerLimitActualRotation,
0056                            const Standard_Real theLowerLimitActualRotation,
0057                            const Standard_Boolean hasUpperLimitActualRotation,
0058                            const Standard_Real theUpperLimitActualRotation);
0059 
0060   //! Returns field LowerLimitActualTranslation
0061   Standard_EXPORT Standard_Real LowerLimitActualTranslation() const;
0062   //! Sets field LowerLimitActualTranslation
0063   Standard_EXPORT void SetLowerLimitActualTranslation (const Standard_Real theLowerLimitActualTranslation);
0064   //! Returns True if optional field LowerLimitActualTranslation is defined
0065   Standard_EXPORT Standard_Boolean HasLowerLimitActualTranslation() const;
0066 
0067   //! Returns field UpperLimitActualTranslation
0068   Standard_EXPORT Standard_Real UpperLimitActualTranslation() const;
0069   //! Sets field UpperLimitActualTranslation
0070   Standard_EXPORT void SetUpperLimitActualTranslation (const Standard_Real theUpperLimitActualTranslation);
0071   //! Returns True if optional field UpperLimitActualTranslation is defined
0072   Standard_EXPORT Standard_Boolean HasUpperLimitActualTranslation() const;
0073 
0074   //! Returns field LowerLimitActualRotation
0075   Standard_EXPORT Standard_Real LowerLimitActualRotation() const;
0076   //! Sets field LowerLimitActualRotation
0077   Standard_EXPORT void SetLowerLimitActualRotation (const Standard_Real theLowerLimitActualRotation);
0078   //! Returns True if optional field LowerLimitActualRotation is defined
0079   Standard_EXPORT Standard_Boolean HasLowerLimitActualRotation() const;
0080 
0081   //! Returns field UpperLimitActualRotation
0082   Standard_EXPORT Standard_Real UpperLimitActualRotation() const;
0083   //! Sets field UpperLimitActualRotation
0084   Standard_EXPORT void SetUpperLimitActualRotation (const Standard_Real theUpperLimitActualRotation);
0085   //! Returns True if optional field UpperLimitActualRotation is defined
0086   Standard_EXPORT Standard_Boolean HasUpperLimitActualRotation() const;
0087 
0088 DEFINE_STANDARD_RTTIEXT(StepKinematics_CylindricalPairWithRange, StepKinematics_CylindricalPair)
0089 
0090 private:
0091   Standard_Real myLowerLimitActualTranslation; //!< optional
0092   Standard_Real myUpperLimitActualTranslation; //!< optional
0093   Standard_Real myLowerLimitActualRotation; //!< optional
0094   Standard_Real myUpperLimitActualRotation; //!< optional
0095   Standard_Boolean defLowerLimitActualTranslation; //!< flag "is LowerLimitActualTranslation defined"
0096   Standard_Boolean defUpperLimitActualTranslation; //!< flag "is UpperLimitActualTranslation defined"
0097   Standard_Boolean defLowerLimitActualRotation; //!< flag "is LowerLimitActualRotation defined"
0098   Standard_Boolean defUpperLimitActualRotation; //!< flag "is UpperLimitActualRotation defined"
0099 
0100 };
0101 #endif // _StepKinematics_CylindricalPairWithRange_HeaderFile_