Package pymeshio :: Module common :: Class Quaternion
[hide private]
[frames] | no frames]

Class Quaternion

source code

object --+
         |
        Quaternion

rotation representation in vmd motion
Instance Methods [hide private]
 
__init__(self, x=0, y=0, z=0, w=1)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__str__(self)
str(x)
source code
 
__mul__(self, rhs) source code
 
dot(self, rhs) source code
 
getMatrix(self) source code
 
getRHMatrix(self) source code
 
getRollPitchYaw(self) source code
 
getSqNorm(self) source code
 
getNormalized(self) source code
 
getRightHanded(self)
swap y and z axis
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Static Methods [hide private]
 
createFromAxisAngle(axis, rad) source code
Properties [hide private]
  w
  x
  y
  z

Inherited from object: __class__

Method Details [hide private]

__init__(self, x=0, y=0, z=0, w=1)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 
str(x)
Overrides: object.__str__
(inherited documentation)