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).
Properties
- Property AccelerationPercent() As
- Returns or Sets Acceleration Percentage
- Property CornerRounding() As
- Returns or Sets Corner Rounding
- Property MotionBasis() As
- Returns or Sets Motion-Basis (see for list of possible values)
- Property Referential() As
- Returns or Sets Manikin Referential (see for list of possible values)
- Property SpeedPercent() As
- Returns or Sets Speed Percentage
Methods
- Sub AddConstraint( piConstraint)
-
Adds the given constraint to MoveToPosture activity
- Parameters:
-
- piConstraint
- Constraint to be added. (see for list of possible values) dd>
- Sub ApplyPostureToManikin()
- Set the MoveToPosture(MTP) Activity's DegreeOfFreedom(DOF) values onto Manikin (which owns this MTP activity).
- Func GetConstraint( iIndex) As
-
Returns the constraint at given index
- Parameters:
-
- iIndex
- Index in the constraint-list to be retrieved dd>
- Returns:
- pioConstraint Constraint at given index (see for list of possible values) dd>
- 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 dd>
- Func GetNumberOfConstraints() As
-
Returns the number of constraints on the MoveToPosture activity
- Returns:
- iNumber Number of Constraints dd>
- Func GetPartRelation( eEE, oProduct, oOffsetTrans) As
- DEPRECATED. DO NOT USE
- 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. dd>
- Sub GetPostureValues( oPosVals)
-
Gets the Manikin's Posture values in 131 doubles.
(This array excludes Position information)
- Parameters:
-
- oPosVals
- Posture values dd>
- Sub GetSegmentValues( inSegName, oDofVals)
-
Gets the DOF values of the given segment from MoveToPosture activity
- Parameters:
-
- inSegName
- Name of the Segment dd>
- oDofVals
- Dof values of constraint, array of size 3 dd>
- Func HasPartRelation() As
- DEPRECATED. DO NOT USE
- Sub RemoveConstraint( piConstraint)
-
Removes the given constraint from MoveToPosture activity
- Parameters:
-
- piConstraint
- Constraint to be removed. (see for list of possible values) dd>
- Sub SetCurrentConstraintSet()
- Set the current Constraints existing on Manikin onto MoveToPosture activity
- 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 dd>
- Sub SetPartRelation( eEE, oProduct)
- DEPRECATED. DO NOT USE
- Sub SetPartRelationWithOffset( eEE, oProduct, oOffsetTrans)
- DEPRECATED. DO NOT USE
- 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. dd>
- 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)
- Sub SetPostureValues( oPosVals)
-
Sets the Manikin's Posture values with 131 values
- Parameters:
-
- oPosVals
- Posture values dd>
- Sub SetSegmentValues( inSegName, oDofVals)
-
Sets the given DOF values for Segments from MoveToPosture activity
- Parameters:
-
- inSegName
- Name of the Segment dd>
- oDofVals
- Dof values of constraint, array of size 3 dd>