gear_mc
 All Classes Namespaces Functions Variables
Functions
gear.xsi.log Namespace Reference

Functions

def setMsgLog
 Change Log. More...
 
def setCmdLog
 Set the command log to given value. More...
 
def logVector
 LOG. More...
 
def logMatrix4
 Log matrix 4 values. More...
 
def logMatrix4AsSRT
 Log matrix 4 values as Scaling, Rotation, Translation values. More...
 
def logMatrix3
 Log matrix 3 values. More...
 
def logMatrix3AsAngles
 Log matrix 3 values as XYZ angles. More...
 
def logRotationAsMatrix3
 Log rotation as matrix 3. More...
 
def logRotationAsAngles
 Log rotation as XYZ Angles. More...
 
def logRotationAsQuaternion
 Log rotation as Quaternion. More...
 
def logQuaternion
 Log quaternion values. More...
 

Detailed Description

    This file is part of GEAR_mc.
    GEAR_mc is a fork of Jeremie Passerin's GEAR project.

    GEAR is free software: you can redistribute it and/or modify
    it under the terms of the GNU Lesser General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/lgpl.html>.

    Author:     Jeremie Passerin    geerem@hotmail.com  www.jeremiepasserin.com
    Fork Author:  Miquel Campos       hello@miqueltd.com  www.miqueltd.com
    Date:       2013 / 08 / 16
Author
Jeremie Passerin

Function Documentation

def gear.xsi.log.logMatrix3 (   m,
  msg = "matrix3" 
)

Log matrix 3 values.

Parameters
mMatrix3 - Matrix 3 to log.
msgString - Message to add to the log to identify it.
Returns
def gear.xsi.log.logMatrix3AsAngles (   m,
  msg = "matrix3" 
)

Log matrix 3 values as XYZ angles.

Parameters
mMatrix3 - Matrix 3 to log.
msgString - Message to add to the log to identify it.
Returns
def gear.xsi.log.logMatrix4 (   m,
  msg = "matrix4" 
)

Log matrix 4 values.

Parameters
mMatrix4 - Matrix 4 to log.
msgString - Message to add to the log to identify it.
Returns
def gear.xsi.log.logMatrix4AsSRT (   m,
  msg = "matrix4" 
)

Log matrix 4 values as Scaling, Rotation, Translation values.

Parameters
mMatrix4 - Matrix 4 to log.
msgString - Message to add to the log to identify it.
Returns
def gear.xsi.log.logQuaternion (   q,
  msg = "quaternion" 
)

Log quaternion values.

Parameters
qSIQuaternion - Quaternion to log.
msgString - Message to add to the log to identify it.
Returns
def gear.xsi.log.logRotationAsAngles (   r,
  msg = "rotation" 
)

Log rotation as XYZ Angles.

Parameters
rSIRotation - Rotation to log.
msgString - Message to add to the log to identify it.
Returns
def gear.xsi.log.logRotationAsMatrix3 (   r,
  msg = "rotation" 
)

Log rotation as matrix 3.

Parameters
rSIRotation - Rotation to log.
msgString - Message to add to the log to identify it.
Returns
def gear.xsi.log.logRotationAsQuaternion (   r,
  msg = "rotation" 
)

Log rotation as Quaternion.

Parameters
rSIRotation - Rotation to log.
msgString - Message to add to the log to identify it.
Returns
def gear.xsi.log.logVector (   v,
  msg = "v" 
)

LOG.

Log Vector ============================================= Log vector values and length

Parameters
vSIVector3 - Vector to log.
msgString - Message to add to the log to identify it.
Returns
def gear.xsi.log.setCmdLog (   b)

Set the command log to given value.

Parameters
bBoolean - Value to set the message log.
Returns
the original value of the parameter.
def gear.xsi.log.setMsgLog (   b)

Change Log.

setMsgLog ============================================== Set the message log to given value

Parameters
bBoolean - Value to set the message log.
Returns
the original value of the parameter.