Package openalea :: Package plantgl :: Package scenegraph :: Module _pglsg :: Class Transform4
[frames] | no frames]

Class Transform4

 object --+                
          |                
??.instance --+            
              |            
 Transformation --+        
                  |        
   Transformation3D --+    
                      |    
  Matrix4Transformation --+
                          |
                         Transform4

Instance Methods
 
__init__(...)
__init__( (object)arg1, (Matrix4)arg2) -> None :
 
__repr__(...)
__repr__( (Transform4)arg1) -> str :
 
__str__(...)
__str__( (Transform4)arg1) -> str :
 
getTransformation(...)
getTransformation( (Transform4)arg1) -> tuple : Return scale, rotate and translate corresponding values.
 
getVolume(...)
getVolume( (Transform4)arg1) -> float : compute the Matrix3 determinant of the transformation
 
isValid(...)
isValid( (Transform4)arg1) -> bool :
 
rotate(...)
rotate( (Transform4)arg1, (Matrix3)arg2) -> None : Add a rotation at the transformation
 
scale(...)
scale( (Transform4)arg1, (Vector3)arg2) -> None : Add a scaling at the transformation
 
transform(...)
transform( (Transform4)arg1, (Point3Array)arg2) -> Point3Array : transform a set of points
 
translate(...)
translate( (Transform4)arg1, (Vector3)arg2) -> None : Add a translation at the transformation

Inherited from Matrix4Transformation: getMatrix

Inherited from Transformation: __reduce__

Inherited from unreachable.instance: __new__

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

Class Variables
  __instance_size__ = 12
Properties

Inherited from object: __class__

Method Details

__init__(...)
(Constructor)

 

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

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

__init__( (object)arg1) -> object :

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

Overrides: object.__init__

__repr__(...)
(Representation operator)

 

__repr__( (Transform4)arg1) -> str :

    C++ signature :
        class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __repr__(class PGL::Transform4 *)

Overrides: object.__repr__

__str__(...)
(Informal representation operator)

 

__str__( (Transform4)arg1) -> str :

    C++ signature :
        class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __str__(class PGL::Transform4 *)

Overrides: object.__str__

getTransformation(...)

 

getTransformation( (Transform4)arg1) -> tuple :
    Return scale, rotate and translate corresponding values.

    C++ signature :
        class boost::python::tuple getTransformation(class PGL::Transform4 *)

getVolume(...)

 

getVolume( (Transform4)arg1) -> float :
    compute the Matrix3 determinant of the transformation

    C++ signature :
        double getVolume(class PGL::Transform4 {lvalue})

isValid(...)

 

isValid( (Transform4)arg1) -> bool :

    C++ signature :
        bool isValid(class PGL::Transform4 {lvalue})

rotate(...)

 

rotate( (Transform4)arg1, (Matrix3)arg2) -> None :
    Add a rotation at the transformation

    C++ signature :
        void rotate(class PGL::Transform4 {lvalue},class TOOLS::Matrix3)

scale(...)

 

scale( (Transform4)arg1, (Vector3)arg2) -> None :
    Add a scaling at the transformation

    C++ signature :
        void scale(class PGL::Transform4 {lvalue},class TOOLS::Vector3)

transform(...)

 

transform( (Transform4)arg1, (Point3Array)arg2) -> Point3Array :
    transform a set of points

    C++ signature :
        class TOOLS::RefCountPtr<class PGL::Point3Array> transform(class PGL::Transform4 *,class TOOLS::RefCountPtr<class PGL::Point3Array>)

translate(...)

 

translate( (Transform4)arg1, (Vector3)arg2) -> None :
    Add a translation at the transformation

    C++ signature :
        void translate(class PGL::Transform4 {lvalue},class TOOLS::Vector3)