File indexing completed on 2025-01-18 10:05:11
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _StepKinematics_ScrewPairWithRange_HeaderFile_
0018 #define _StepKinematics_ScrewPairWithRange_HeaderFile_
0019
0020 #include <Standard.hxx>
0021 #include <StepKinematics_ScrewPair.hxx>
0022
0023 #include <TCollection_HAsciiString.hxx>
0024 #include <StepRepr_RepresentationItem.hxx>
0025 #include <StepKinematics_KinematicJoint.hxx>
0026
0027 DEFINE_STANDARD_HANDLE(StepKinematics_ScrewPairWithRange, StepKinematics_ScrewPair)
0028
0029
0030 class StepKinematics_ScrewPairWithRange : public StepKinematics_ScrewPair
0031 {
0032 public :
0033
0034
0035 Standard_EXPORT StepKinematics_ScrewPairWithRange();
0036
0037
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_Real theScrewPair_Pitch,
0046 const Standard_Boolean hasLowerLimitActualRotation,
0047 const Standard_Real theLowerLimitActualRotation,
0048 const Standard_Boolean hasUpperLimitActualRotation,
0049 const Standard_Real theUpperLimitActualRotation);
0050
0051
0052 Standard_EXPORT Standard_Real LowerLimitActualRotation() const;
0053
0054 Standard_EXPORT void SetLowerLimitActualRotation (const Standard_Real theLowerLimitActualRotation);
0055
0056 Standard_EXPORT Standard_Boolean HasLowerLimitActualRotation() const;
0057
0058
0059 Standard_EXPORT Standard_Real UpperLimitActualRotation() const;
0060
0061 Standard_EXPORT void SetUpperLimitActualRotation (const Standard_Real theUpperLimitActualRotation);
0062
0063 Standard_EXPORT Standard_Boolean HasUpperLimitActualRotation() const;
0064
0065 DEFINE_STANDARD_RTTIEXT(StepKinematics_ScrewPairWithRange, StepKinematics_ScrewPair)
0066
0067 private:
0068 Standard_Real myLowerLimitActualRotation;
0069 Standard_Real myUpperLimitActualRotation;
0070 Standard_Boolean defLowerLimitActualRotation;
0071 Standard_Boolean defUpperLimitActualRotation;
0072
0073 };
0074 #endif