All Frameworks  Object Hierarchy  This Framework  Indexes   

MoveToPostureActivity (Object)

The object that represents an MoveToPosture(MTP) Activity.
MTP allows to store a target posture for a specific manikin at a specific time in the process. When a MTP is created, the current posture of the manikin along with any constraints (if any).

Property Index

AccelerationPercent
Returns or Sets Acceleration Percentage
CornerRounding
Returns or Sets Corner Rounding
MotionBasis
Returns or Sets Motion-Basis (see
Referential
Returns or Sets Manikin Referential (see
SpeedPercent
Returns or Sets Speed Percentage

Method Index

AddConstraint
Adds the given constraint to MoveToPosture activity
ApplyPostureToManikin
Set the MoveToPosture(MTP) Activity's DegreeOfFreedom(DOF) values onto Manikin (which owns this MTP activity).
GetConstraint
Returns the constraint at given index
GetJointValues
Gets the Manikin's Position and Posture values in 137 doubles.
GetNumberOfConstraints
Returns the number of constraints on the MoveToPosture activity
GetPartRelation
DEPRECATED.
GetPosition
This gets the position value in 12 doubles
GetPostureValues
Gets the Manikin's Posture values in 131 doubles.
GetSegmentValues
Gets the DOF values of the given segment from MoveToPosture activity
HasPartRelation
DEPRECATED.
RemoveConstraint
Removes the given constraint from MoveToPosture activity
SetCurrentConstraintSet
Set the current Constraints existing on Manikin onto MoveToPosture activity
SetJointValues
Sets the Manikin's Position and Posture values with 137 doubles.
SetPartRelationWithOffset
DEPRECATED.
SetPartRelation
DEPRECATED.
SetPosition
Sets the Manikin's position value in the MoveToPosture Activity.
SetPostureValues
Sets the Manikin's Posture values with 131 values
SetSegmentValues
Sets the given DOF values for Segments from MoveToPosture activity

Properties


o Property AccelerationPercent() As
Returns or Sets Acceleration Percentage
o Property CornerRounding() As
Returns or Sets Corner Rounding
o Property MotionBasis() As
Returns or Sets Motion-Basis (see HTSMotionBasis for list of possible values)
o Property Referential() As
Returns or Sets Manikin Referential (see HTSManikinReferential for list of possible values)
o Property SpeedPercent() As
Returns or Sets Speed Percentage

Methods


o Sub AddConstraint( piConstraint)
Adds the given constraint to MoveToPosture activity
Parameters:
piConstraint
Constraint to be added. (see
SWKIKConstraint for list of possible values)
o Sub ApplyPostureToManikin()
Set the MoveToPosture(MTP) Activity's DegreeOfFreedom(DOF) values onto Manikin (which owns this MTP activity).
o Func GetConstraint( iIndex) As
Returns the constraint at given index
Parameters:
iIndex
Index in the constraint-list to be retrieved
Returns:
pioConstraint Constraint at given index (see SWKIKConstraint for list of possible values)
o Sub GetJointValues( oJointVals)
Gets the Manikin's Position and Posture values in 137 doubles. (Array includeds Position information - first 6 values represent X,Y,Z and R,P,Y value of Manikin w.r.to its Father.)
Parameters:
oJointVals
Joint Values
o Func GetNumberOfConstraints() As
Returns the number of constraints on the MoveToPosture activity
Returns:
iNumber Number of Constraints
o Func GetPartRelation( eEE,
oProduct,
oOffsetTrans) As
DEPRECATED. DO NOT USE
o Sub GetPosition( oTransMatrix)
This gets the position value in 12 doubles
Parameters:
oTransMatrix
The first nine represent succcessively the components of the x-axis, y-axis, and z-axis. The last three represent the coordinates of the origin point.
o Sub GetPostureValues( oPosVals)
Gets the Manikin's Posture values in 131 doubles. (This array excludes Position information)
Parameters:
oPosVals
Posture values
o Sub GetSegmentValues( inSegName,
oDofVals)
Gets the DOF values of the given segment from MoveToPosture activity
Parameters:
inSegName
Name of the Segment
oDofVals
Dof values of constraint, array of size 3
o Func HasPartRelation() As
DEPRECATED. DO NOT USE
o Sub RemoveConstraint( piConstraint)
Removes the given constraint from MoveToPosture activity
Parameters:
piConstraint
Constraint to be removed. (see
SWKIKConstraint for list of possible values)
o Sub SetCurrentConstraintSet()
Set the current Constraints existing on Manikin onto MoveToPosture activity
o Sub SetJointValues( oJointVals)
Sets the Manikin's Position and Posture values with 137 doubles. (Array should includes Position information - first 6 values represent X,Y,Z and R,P,Y value of Manikin w.r.to its Father.)
Parameters:
oJointVals
Joint Values
o Sub SetPartRelationWithOffset( eEE,
oProduct,
oOffsetTrans)
DEPRECATED. DO NOT USE
o Sub SetPartRelation( eEE,
oProduct)
DEPRECATED. DO NOT USE
o Sub SetPosition( oTransMatrix)
Sets the Manikin's position value in the MoveToPosture Activity. ( Pos. vals are w.r.to Manikin's Father )
Parameters:
oTransMatrix
The array initialized with the components to set to the Manikin's position. The first nine represent succcessively the components of the x-axis, y-axis, and z-axis. The last three represent the coordinates of the origin point.
Example:
This example sets the Position of Manikin oTransMatrix for MoveToPosture oMTP
 Dim oTransMatrix( 11 )
 'Rotation( 45 degrees around the Z axis) components
 ' x axis components
 oTransMatrix( 0 ) = 0.707
 oTransMatrix( 1 ) = 0.707
 oTransMatrix( 2 ) = 0.0
 ' y axis components
 oTransMatrix( 3 ) = -0.707
 oTransMatrix( 4 ) = 0.707
 oTransMatrix( 5 ) = 0
 ' z axis components
 oTransMatrix( 6 ) = 0
 oTransMatrix( 7 ) = 0
 oTransMatrix( 8 ) = 1
 ' origin point coordinates
 oTransMatrix( 9 ) = 0
 oTransMatrix( 10 ) = 0
 oTransMatrix( 11 ) = 947.0

 oMTP.SetPosition(oTransMatrix)
 
o Sub SetPostureValues( oPosVals)
Sets the Manikin's Posture values with 131 values
Parameters:
oPosVals
Posture values
o Sub SetSegmentValues( inSegName,
oDofVals)
Sets the given DOF values for Segments from MoveToPosture activity
Parameters:
inSegName
Name of the Segment
oDofVals
Dof values of constraint, array of size 3

Copyright © 2003, Dassault Systèmes. All rights reserved.