Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // Created on: 2020-05-26
0002 // Created by: PASUKHIN DMITRY
0003 // Copyright (c) 2020 OPEN CASCADE SAS
0004 //
0005 // This file is part of Open CASCADE Technology software library.
0006 //
0007 // This library is free software; you can redistribute it and/or modify it under
0008 // the terms of the GNU Lesser General Public License version 2.1 as published
0009 // by the Free Software Foundation, with special exception defined in the file
0010 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0011 // distribution for complete text of the license and disclaimer of any warranty.
0012 //
0013 // Alternatively, this file may be used under the terms of Open CASCADE
0014 // commercial license or contractual agreement.
0015 
0016 #ifndef _StepKinematics_ActuatedKinPairAndOrderKinPair_HeaderFile_
0017 #define _StepKinematics_ActuatedKinPairAndOrderKinPair_HeaderFile_
0018 
0019 #include <Standard.hxx>
0020 #include <Standard_Transient.hxx>
0021 #include <TColStd_HArray1OfReal.hxx>
0022 #include <StepKinematics_KinematicPair.hxx>
0023 class StepRepr_RepresentationItem;
0024 class StepKinematics_ActuatedKinematicPair;
0025 class StepKinematics_ActuatedKinPairAndOrderKinPair;
0026 
0027 DEFINE_STANDARD_HANDLE(StepKinematics_ActuatedKinPairAndOrderKinPair, StepKinematics_KinematicPair)
0028 
0029 //! Representation of STEP entity ActuatedKinPairAndOrderKinPair
0030 class StepKinematics_ActuatedKinPairAndOrderKinPair : public StepKinematics_KinematicPair
0031 {
0032 public :
0033 
0034   //! default constructor
0035   Standard_EXPORT StepKinematics_ActuatedKinPairAndOrderKinPair();
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)& theJoint,
0045                             const Handle(StepKinematics_ActuatedKinematicPair)& theActuatedKinematicPair,
0046                             const Handle(StepKinematics_KinematicPair)& theOrderKinematicPair);
0047 
0048   inline void SetActuatedKinematicPair(const Handle(StepKinematics_ActuatedKinematicPair)& aKP) {
0049     myActuatedKinematicPair = aKP;
0050   }
0051 
0052   inline Handle(StepKinematics_ActuatedKinematicPair) GetActuatedKinematicPair() const {
0053     return myActuatedKinematicPair;
0054   }
0055   inline void SetOrderKinematicPair(const Handle(StepKinematics_KinematicPair)& aKP) {
0056     myOrderKinematicPair = aKP;
0057   }
0058 
0059   inline Handle(StepKinematics_KinematicPair) GetOrderKinematicPair() const {
0060     return myOrderKinematicPair;
0061   }
0062 
0063 
0064 DEFINE_STANDARD_RTTIEXT(StepKinematics_ActuatedKinPairAndOrderKinPair, StepKinematics_KinematicPair)
0065 
0066 private:
0067   Handle(StepKinematics_ActuatedKinematicPair) myActuatedKinematicPair;
0068   Handle(StepKinematics_KinematicPair) myOrderKinematicPair;
0069 };
0070 #endif // StepKinematics_ActuatedKinPairAndOrderKinPair