Matrix3 Class Reference

+ This reference page is linked to from the following overview topics:

Class Description

Implements a 4x3 3D transformation matrix object.
+ Inheritance diagram for Matrix3:

Public Member Functions

def Equals
 
def GetColumn
 
def GetColumn3
 
def GetIdentity
 
def GetNumColumns
 
def GetNumRows
 
def GetParity
 
def GetPitch
 
def GetRoll
 
def GetRotation
 
def GetRow
 
def GetScale
 
def GetTranslation
 
def GetYaw
 
def Invert
 
def IsIdentity
 
def NoRot
 
def NoScale
 
def NoTrans
 
def Orthogonalize
 
def PointTransform
 
def PreRotate
 
def PreRotateX
 
def PreRotateY
 
def PreRotateZ
 
def PreScale
 
def PreTranslate
 
def Rotate
 
def RotateX
 
def RotateY
 
def RotateZ
 
def Scale
 
def Set
 
def SetAngleAxis
 
def SetColumn
 
def SetFromToUp
 
def SetRotateX
 
def SetRotateY
 
def SetRotateZ
 
def SetRotation
 
def SetRow
 
def SetScale
 
def SetToRotation
 
def SetToScale
 
def SetTranslate
 
def SetTranslation
 
def ToIdentity
 
def Translate
 
def ValidateFlags
 
def VectorTransform
 
def Zero
 
- Public Member Functions inherited from Wrapper
def GetUnwrappedPtr
 

Public Attributes

 this
 

Static Public Attributes

tuple Columns = _swig_property(lambda self: (self.GetColumn(i) for i in xrange(self.GetNumColumns())))
 
tuple GetIdentity = staticmethod(GetIdentity)
 
tuple Rotation = _swig_property(GetRotation, SetRotation)
 
tuple Rows = _swig_property(lambda self: (self.GetRow(i) for i in xrange(self.GetNumRows())))
 
tuple Scale = _swig_property(GetScale, SetScale)
 
tuple thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 
tuple Translation = _swig_property(GetTranslation, SetTranslation)
 
- Static Public Attributes inherited from Wrapper
tuple thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 

Member Function Documentation

def Equals (   self,
  args 
)
Equals(Matrix3 self, Matrix3 M, float epsilon=1E-6) -> bool
Equals(Matrix3 self, Matrix3 M) -> bool
def GetColumn (   self,
  args 
)
GetColumn(Matrix3 self, int i) -> Point4
def GetColumn3 (   self,
  args 
)
GetColumn3(Matrix3 self, int i) -> Point3
def GetIdentity ( )
GetIdentity() -> Matrix3
def GetNumColumns (   self)
GetNumColumns(Matrix3 self) -> int
def GetNumRows (   self)
GetNumRows(Matrix3 self) -> int
def GetParity (   self)
GetParity(Matrix3 self) -> bool
def GetPitch (   self)
GetPitch(Matrix3 self) -> float
def GetRoll (   self)
GetRoll(Matrix3 self) -> float
def GetRotation (   self)
GetRotation(Matrix3 self) -> Quat
def GetRow (   self,
  args 
)
GetRow(Matrix3 self, int i) -> Point3
def GetScale (   self)
GetScale(Matrix3 self) -> Point3
def GetTranslation (   self)
GetTranslation(Matrix3 self) -> Point3
def GetYaw (   self)
GetYaw(Matrix3 self) -> float
def Invert (   self)
Invert(Matrix3 self)
def IsIdentity (   self)
IsIdentity(Matrix3 self) -> bool
def NoRot (   self)
NoRot(Matrix3 self)
def NoScale (   self)
NoScale(Matrix3 self)
def NoTrans (   self)
NoTrans(Matrix3 self)
def Orthogonalize (   self)
Orthogonalize(Matrix3 self)
def PointTransform (   self,
  args 
)
PointTransform(Matrix3 self, Point3 p) -> Point3
def PreRotate (   self,
  args 
)
PreRotate(Matrix3 self, Quat q)
def PreRotateX (   self,
  args 
)
PreRotateX(Matrix3 self, float angle)
def PreRotateY (   self,
  args 
)
PreRotateY(Matrix3 self, float angle)
def PreRotateZ (   self,
  args 
)
PreRotateZ(Matrix3 self, float angle)
def PreScale (   self,
  args 
)
PreScale(Matrix3 self, Point3 s, bool trans=True)
PreScale(Matrix3 self, Point3 s)
def PreTranslate (   self,
  args 
)
PreTranslate(Matrix3 self, Point3 p)
def Rotate (   self,
  args 
)
Rotate(Matrix3 self, Quat q)
def RotateX (   self,
  args 
)
RotateX(Matrix3 self, float angle)
def RotateY (   self,
  args 
)
RotateY(Matrix3 self, float angle)
def RotateZ (   self,
  args 
)
RotateZ(Matrix3 self, float angle)
def Scale (   self,
  args 
)
Scale(Matrix3 self, Point3 s, bool trans=True)
Scale(Matrix3 self, Point3 s)
def Set (   self,
  args 
)
Set(Matrix3 self, Point3 U, Point3 V, Point3 N, Point3 T) -> Matrix3
def SetAngleAxis (   self,
  args 
)
SetAngleAxis(Matrix3 self, Point3 axis, float angle)
def SetColumn (   self,
  args 
)
SetColumn(Matrix3 self, int i, Point4 col)
def SetFromToUp (   self,
  args 
)
SetFromToUp(Matrix3 self, Point3 other, Point3 _to, Point3 up)
def SetRotateX (   self,
  args 
)
SetRotateX(Matrix3 self, float angle)
def SetRotateY (   self,
  args 
)
SetRotateY(Matrix3 self, float angle)
def SetRotateZ (   self,
  args 
)
SetRotateZ(Matrix3 self, float angle)
def SetRotation (   self,
  args 
)
SetRotation(Matrix3 self, Quat q)
def SetRow (   self,
  args 
)
SetRow(Matrix3 self, int i, Point3 p)
def SetScale (   self,
  args 
)
SetScale(Matrix3 self, Point3 s)
def SetToRotation (   self,
  args 
)
SetToRotation(Matrix3 self, Quat q)
SetToRotation(Matrix3 self, AngAxis aa)
SetToRotation(Matrix3 self, float yaw, float pitch, float rotation)
def SetToScale (   self,
  args 
)
SetToScale(Matrix3 self, Point3 s)
def SetTranslate (   self,
  args 
)
SetTranslate(Matrix3 self, Point3 p)
def SetTranslation (   self,
  args 
)
SetTranslation(Matrix3 self, Point3 p)
def ToIdentity (   self)
ToIdentity(Matrix3 self)
def Translate (   self,
  args 
)
Translate(Matrix3 self, Point3 p)
def ValidateFlags (   self)
ValidateFlags(Matrix3 self)
def VectorTransform (   self,
  args 
)
VectorTransform(Matrix3 self, Point3 p) -> Point3
def Zero (   self)
Zero(Matrix3 self)