All Frameworks Object Hierarchy This Framework Indexes
True if there is a DOF
at index 0, False otherwise.
True if there is a DOF
at index 1, False otherwise.
True if there is a DOF
at index 2, False otherwise.
| o Property AttachSize( | ) As (Read Only) |
| o Property EndPositionX( | ) As (Read Only) |
| o Property EndPositionY( | ) As (Read Only) |
| o Property EndPositionZ( | ) As (Read Only) |
| o Property IsDOFAt0( | ) As (Read Only) |
True if there is a DOF
at index 0, False otherwise.
| o Property IsDOFAt1( | ) As (Read Only) |
True if there is a DOF
at index 1, False otherwise.
| o Property IsDOFAt2( | ) As (Read Only) |
True if there is a DOF
at index 2, False otherwise.
| o Property IsOnHand( | ) As (Read Only) |
| o Property IsOnLeftSide( | ) As (Read Only) |
| o Property IsOnRightSide( | ) As (Read Only) |
| o Property IsOnSpine( | ) As (Read Only) |
| o Property Length( | ) As (Read Only) |
| o Property MirrorSegment( | ) As (Read Only) |
| o Property NbDOFs( | ) As (Read Only) |
| o Sub ApplyPosition( | piPositionIncrement, | |
| piStartSegment) |
Dim myPosition(11)
'Rotation (45 degrees around the x axis)
myPosition(0) = 1.000
myPosition(1) = 0
myPosition(2) = 0
myPosition(3) = 0
myPosition(4) = 0.707
myPosition(5) = 0.707
myPosition(6) = 0
myPosition(7) = -0.707
myPosition(8) = 0.707
'Translation vector (10,20,30)
myPosition(9) = 10.000
myPosition(10) = 20.000
myPosition(11) = 30.000
myManikin.Body.GetItem("LSHaCPr").ApplyPosition myPosition
| o Sub Attach( | piObjectToAttach) |
| o Sub CreateReachEnvelope( | ) |
IsOnHand can be used to check whether
the segment is located on the hand.
| o Sub DestroyReachEnvelope( | ) |
| o Sub Detach( | piObjectToDetach) |
| o Sub DetachAll( | ) |
| o Func GetAttachedObject( | piIndex) As |
| o Func GetDOF( | piDOFNumber) As |
IsDOFAt0,
IsDOFAt1 or IsDOFAt2, and work with theTrue.
| o Sub GetIKOffset( | poOffset) |
| o Sub GetIKPosition( | poIKPosition) |
| o Func IsAttached( | piObject) As |
true if the object passed in the parameter is attached to the segment,
false
otherwise.
| o Func IsObjectReachable( | piObject) As |
true if the object passed is reachable by the segment,
false
otherwise. The position taken is that of the center of the object.
| o Func IsReachable( | piX, | |
| piY, | ||
| piZ) As |
true if the location expressed in the coordinates is reachable by the segment,
false
otherwise.
| o Sub LockPosture( | piDOFId) |
| o Sub MirrorCopyAngularLimitations( | piDOFId) |
| o Sub MirrorCopyPosture( | ) |
| o Sub MirrorCopyPrefAngles( | piDOFId) |
| o Sub Optimize( | piDOFId) |
| o Sub RemoveLimits( | piDOFId) |
| o Sub ResetAngularLimitations( | piDOFId, | |
| piReset) |
| o Sub ResetPosture( | ) |
| o Sub ResetPrefAngles( | piDOFId) |
| o Sub SetPercentage( | piPercentage, | |
| piDOFId) |
| o Sub SetPosition( | piNewPosition, | |
| piStartSegment) |
Dim myPosition(11)
'Rotation (45 degrees around the x axis)
myPosition(0) = 1.000
myPosition(1) = 0
myPosition(2) = 0
myPosition(3) = 0
myPosition(4) = 0.707
myPosition(5) = 0.707
myPosition(6) = 0
myPosition(7) = -0.707
myPosition(8) = 0.707
'Translation vector (10,20,30)
myPosition(9) = 10.000
myPosition(10) = 20.000
myPosition(11) = 30.000
myManikin.Body.GetItem("LSHaCPr").SetPosition myPosition, "Default"
| o Sub SwapAngularLimitations( | piDOFId) |
| o Sub SwapPosture( | ) |
| o Sub SwapPrefAngles( | piDOFId) |
Copyright © 2003, Dassault Systèmes. All rights reserved.