Package openalea :: Package plantgl :: Package math :: Module _pglmath :: Class Matrix4
[frames] | no frames]

Class Matrix4

 object --+    
          |    
??.instance --+
              |
             Matrix4

Instance Methods
 
__add__(...)
__add__( (Matrix4)arg1, (Matrix4)arg2) -> object :
 
__div__(...)
__div__( (Matrix4)arg1, (float)arg2) -> object :
 
__eq__(...)
__eq__( (Matrix4)arg1, (Matrix4)arg2) -> object :
 
__getitem__(...)
__getitem__( (Matrix4)arg1, (tuple)arg2) -> float :
 
__iadd__(...)
__iadd__( (object)arg1, (Matrix4)arg2) -> object :
 
__idiv__(...)
__idiv__( (object)arg1, (float)arg2) -> object :
 
__imul__(...)
__imul__( (object)arg1, (Matrix4)arg2) -> object :
 
__init__(...)
__init__( (object)arg1) -> None :
 
__isub__(...)
__isub__( (object)arg1, (Matrix4)arg2) -> object :
 
__mul__(...)
__mul__( (Matrix4)arg1, (Matrix4)arg2) -> object :
 
__ne__(...)
__ne__( (Matrix4)arg1, (Matrix4)arg2) -> object :
 
__reduce__(...)
helper for pickle
 
__repr__(...)
__repr__( (Matrix4)arg1) -> str :
 
__setitem__(...)
__setitem__( (Matrix4)arg1, (tuple)arg2, (float)arg3) -> None :
 
__str__(...)
__str__( (Matrix4)arg1) -> str :
 
__sub__(...)
__sub__( (Matrix4)arg1, (Matrix4)arg2) -> object :
 
adjoint(...)
adjoint( (Matrix4)arg1) -> Matrix4 :
 
data(...)
data( (Matrix4)arg1) -> list :
 
det(...)
det( (Matrix4)arg1) -> float :
 
getColumn(...)
getColumn( (Matrix4)arg1, (int)arg2) -> Vector4 :
 
getDiagonal(...)
getDiagonal( (Matrix4)arg1) -> Vector4 :
 
getRow(...)
getRow( (Matrix4)arg1, (int)arg2) -> Vector4 :
 
getTransformation(...)
getTransformation( (Matrix4)arg1) -> tuple : Return scaling, rotation and translation corresponding the decomposition of the matrix into R(rotate) * S(scale) + T(translate) where R( rotate=(az,ay,ax) ) is the product of 3 matrices Rz(az)Ry(ay)Rx(ax)
 
getTransformation2(...)
getTransformation2( (Matrix4)arg1) -> tuple : Return scaling, rotation and translation corresponding the decomposition of the matrix into S(scale) * R(rotate) + T(translate) where R( rotate=(az,ay,ax) ) is the product of 3 matrices Rz(az)Ry(ay)Rx(ax)
 
getTransformationB(...)
getTransformationB( (Matrix4)arg1) -> tuple : Alternative method to getTransformation.
 
inverse(...)
inverse( (Matrix4)arg1) -> Matrix4 :
 
isOrthogonal(...)
isOrthogonal( (Matrix4)arg1) -> bool :
 
isSingular(...)
isSingular( (Matrix4)arg1) -> bool :
 
isValid(...)
isValid( (Matrix4)arg1) -> bool :
 
set(...)
set( (Matrix4)arg1, (tuple)arg2) -> None :
 
setTransformation(...)
setTransformation( (Matrix4)arg1, (Vector3)arg2, (Vector3)arg3, (Vector3)arg4) -> None :
 
setTransformation2(...)
setTransformation2( (Matrix4)arg1, (Vector3)arg2, (Vector3)arg3, (Vector3)arg4) -> None :
 
trace(...)
trace( (Matrix4)arg1) -> float :
 
transpose(...)
transpose( (Matrix4)arg1) -> Matrix4 :

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __getattribute__, __hash__, __reduce_ex__, __setattr__

Static Methods
 
translation(...)
translation( (Vector3)arg1) -> Matrix4 :
Class Variables
  __instance_size__ = 136
Properties
  IDENTITY

Inherited from object: __class__

Method Details

__add__(...)
(Addition operator)

 

__add__( (Matrix4)arg1, (Matrix4)arg2) -> object :

    C++ signature :
        struct _object * __add__(class TOOLS::Matrix4 {lvalue},class TOOLS::Matrix4)

__div__(...)

 

__div__( (Matrix4)arg1, (float)arg2) -> object :

    C++ signature :
        struct _object * __div__(class TOOLS::Matrix4 {lvalue},double)

__eq__(...)
(Equality operator)

 

__eq__( (Matrix4)arg1, (Matrix4)arg2) -> object :

    C++ signature :
        struct _object * __eq__(class TOOLS::Matrix4 {lvalue},class TOOLS::Matrix4)

__getitem__(...)
(Indexing operator)

 

__getitem__( (Matrix4)arg1, (tuple)arg2) -> float :

    C++ signature :
        double __getitem__(class TOOLS::Matrix4,class boost::python::tuple)

__iadd__(...)

 

__iadd__( (object)arg1, (Matrix4)arg2) -> object :

    C++ signature :
        struct _object * __iadd__(struct boost::python::back_reference<class TOOLS::Matrix4 &>,class TOOLS::Matrix4)

__idiv__(...)

 

__idiv__( (object)arg1, (float)arg2) -> object :

    C++ signature :
        struct _object * __idiv__(struct boost::python::back_reference<class TOOLS::Matrix4 &>,double)

__imul__(...)

 

__imul__( (object)arg1, (Matrix4)arg2) -> object :

    C++ signature :
        struct _object * __imul__(struct boost::python::back_reference<class TOOLS::Matrix4 &>,class TOOLS::Matrix4)

__imul__( (object)arg1, (float)arg2) -> object :

    C++ signature :
        struct _object * __imul__(struct boost::python::back_reference<class TOOLS::Matrix4 &>,double)

__init__(...)
(Constructor)

 

__init__( (object)arg1) -> None :

    C++ signature :
        void __init__(struct _object *)

__init__( (object)arg1, (tuple)arg2) -> object :

    C++ signature :
        void * __init__(class boost::python::api::object,class boost::python::tuple)

__init__( (object)arg1, (Vector4)arg2, (Vector4)arg3, (Vector4)arg4, (Vector4)arg5) -> None :

    C++ signature :
        void __init__(struct _object *,class TOOLS::Vector4,class TOOLS::Vector4,class TOOLS::Vector4,class TOOLS::Vector4)

__init__( (object)arg1, (Matrix3)arg2) -> None :

    C++ signature :
        void __init__(struct _object *,class TOOLS::Matrix3)

Overrides: object.__init__

__isub__(...)

 

__isub__( (object)arg1, (Matrix4)arg2) -> object :

    C++ signature :
        struct _object * __isub__(struct boost::python::back_reference<class TOOLS::Matrix4 &>,class TOOLS::Matrix4)

__mul__(...)

 

__mul__( (Matrix4)arg1, (Matrix4)arg2) -> object :

    C++ signature :
        struct _object * __mul__(class TOOLS::Matrix4 {lvalue},class TOOLS::Matrix4)

__mul__( (Matrix4)arg1, (Vector4)arg2) -> object :

    C++ signature :
        struct _object * __mul__(class TOOLS::Matrix4 {lvalue},class TOOLS::Vector4)

__mul__( (Matrix4)arg1, (float)arg2) -> object :

    C++ signature :
        struct _object * __mul__(class TOOLS::Matrix4 {lvalue},double)

__mul__( (Matrix4)arg1, (Vector3)arg2) -> object :

    C++ signature :
        struct _object * __mul__(class TOOLS::Matrix4 {lvalue},class TOOLS::Vector3)

__ne__(...)

 

__ne__( (Matrix4)arg1, (Matrix4)arg2) -> object :

    C++ signature :
        struct _object * __ne__(class TOOLS::Matrix4 {lvalue},class TOOLS::Matrix4)

__reduce__(...)

 
helper for pickle

Overrides: object.__reduce__
(inherited documentation)

__repr__(...)
(Representation operator)

 

__repr__( (Matrix4)arg1) -> str :

    C++ signature :
        class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __repr__(class TOOLS::Matrix4)

Overrides: object.__repr__

__setitem__(...)
(Index assignment operator)

 

__setitem__( (Matrix4)arg1, (tuple)arg2, (float)arg3) -> None :

    C++ signature :
        void __setitem__(class TOOLS::Matrix4 {lvalue},class boost::python::tuple,double)

__str__(...)
(Informal representation operator)

 

__str__( (Matrix4)arg1) -> str :

    C++ signature :
        class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __str__(class TOOLS::Matrix4)

Overrides: object.__str__

__sub__(...)
(Subtraction operator)

 

__sub__( (Matrix4)arg1, (Matrix4)arg2) -> object :

    C++ signature :
        struct _object * __sub__(class TOOLS::Matrix4 {lvalue},class TOOLS::Matrix4)

adjoint(...)

 

adjoint( (Matrix4)arg1) -> Matrix4 :

    C++ signature :
        class TOOLS::Matrix4 adjoint(class TOOLS::Matrix4)

data(...)

 

data( (Matrix4)arg1) -> list :

    C++ signature :
        class boost::python::list data(class TOOLS::Matrix4)

det(...)

 

det( (Matrix4)arg1) -> float :

    C++ signature :
        double det(class TOOLS::Matrix4)

getColumn(...)

 

getColumn( (Matrix4)arg1, (int)arg2) -> Vector4 :

    C++ signature :
        class TOOLS::Vector4 getColumn(class TOOLS::Matrix4 {lvalue},unsigned char)

getDiagonal(...)

 

getDiagonal( (Matrix4)arg1) -> Vector4 :

    C++ signature :
        class TOOLS::Vector4 getDiagonal(class TOOLS::Matrix4 {lvalue})

getRow(...)

 

getRow( (Matrix4)arg1, (int)arg2) -> Vector4 :

    C++ signature :
        class TOOLS::Vector4 getRow(class TOOLS::Matrix4 {lvalue},unsigned char)

getTransformation(...)

 

getTransformation( (Matrix4)arg1) -> tuple :
    Return scaling, rotation and translation corresponding the decomposition of the matrix into R(rotate) * S(scale) + T(translate) where R( rotate=(az,ay,ax) ) is the product of 3 matrices Rz(az)Ry(ay)Rx(ax)

    C++ signature :
        class boost::python::tuple getTransformation(class TOOLS::Matrix4 *)

getTransformation2(...)

 

getTransformation2( (Matrix4)arg1) -> tuple :
    Return scaling, rotation and translation corresponding the decomposition of the matrix into S(scale) * R(rotate) + T(translate) where R( rotate=(az,ay,ax) ) is the product of 3 matrices Rz(az)Ry(ay)Rx(ax)

    C++ signature :
        class boost::python::tuple getTransformation2(class TOOLS::Matrix4 *)

getTransformationB(...)

 

getTransformationB( (Matrix4)arg1) -> tuple :
    Alternative method to getTransformation.

    C++ signature :
        class boost::python::tuple getTransformationB(class TOOLS::Matrix4 *)

inverse(...)

 

inverse( (Matrix4)arg1) -> Matrix4 :

    C++ signature :
        class TOOLS::Matrix4 inverse(class TOOLS::Matrix4)

isOrthogonal(...)

 

isOrthogonal( (Matrix4)arg1) -> bool :

    C++ signature :
        bool isOrthogonal(class TOOLS::Matrix4 {lvalue})

isSingular(...)

 

isSingular( (Matrix4)arg1) -> bool :

    C++ signature :
        bool isSingular(class TOOLS::Matrix4 {lvalue})

isValid(...)

 

isValid( (Matrix4)arg1) -> bool :

    C++ signature :
        bool isValid(class TOOLS::Matrix4 {lvalue})

set(...)

 

set( (Matrix4)arg1, (tuple)arg2) -> None :

    C++ signature :
        void set(class TOOLS::Matrix4 {lvalue},class boost::python::tuple)

setTransformation(...)

 

setTransformation( (Matrix4)arg1, (Vector3)arg2, (Vector3)arg3, (Vector3)arg4) -> None :

    C++ signature :
        void setTransformation(class TOOLS::Matrix4 {lvalue},class TOOLS::Vector3,class TOOLS::Vector3,class TOOLS::Vector3)

setTransformation2(...)

 

setTransformation2( (Matrix4)arg1, (Vector3)arg2, (Vector3)arg3, (Vector3)arg4) -> None :

    C++ signature :
        void setTransformation2(class TOOLS::Matrix4 {lvalue},class TOOLS::Vector3,class TOOLS::Vector3,class TOOLS::Vector3)

trace(...)

 

trace( (Matrix4)arg1) -> float :

    C++ signature :
        double trace(class TOOLS::Matrix4)

translation(...)
Static Method

 

translation( (Vector3)arg1) -> Matrix4 :

    C++ signature :
        class TOOLS::Matrix4 translation(class TOOLS::Vector3)

transpose(...)

 

transpose( (Matrix4)arg1) -> Matrix4 :

    C++ signature :
        class TOOLS::Matrix4 transpose(class TOOLS::Matrix4)


Property Details

IDENTITY

Get Method:
unreachable(...)