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

Class Translated

 object --+                    
          |                    
??.instance --+                
              |                
    SceneObject --+            
                  |            
           Geometry --+        
                      |        
            Transformed --+    
                          |    
          MatrixTransformed --+
                              |
                             Translated

A Translated describes an object to which a translation of a specified vector is applied.
The translation is given by the homogeneous matrix:
|1 0 0 tx|
|0 1 0 ty|
|0 0 1 tz|
|0 0 0 1 |
where (tx, ty, tz) denotes the translation vector.

Instance Methods
 
__init__(...)
__init__( (object)arg1, (Vector3)translation, (Geometry)geometry) -> None : Translated(translation,geometry)
 
isTranslationToDefault(...)
isTranslationToDefault( (Translated)arg1) -> bool :

Inherited from Transformed: transformation

Inherited from Geometry: deepcopy, isACurve, isASurface, isAVolume, isExplicit

Inherited from SceneObject: __reduce__, apply, getId, getName, isNamed, isValid, setName

Inherited from unreachable.instance: __new__

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

Class Variables
  __instance_size__ = 12

Inherited from SceneObject: __safe_for_unpickling__

Properties
  DEFAULT_TRANSLATION
  translation

Inherited from MatrixTransformed: geometry

Inherited from SceneObject: name

Inherited from object: __class__

Method Details

__init__(...)
(Constructor)

 

__init__( (object)arg1, (Vector3)translation, (Geometry)geometry) -> None :
    Translated(translation,geometry)

    C++ signature :
        void __init__(struct _object *,class TOOLS::Vector3,class TOOLS::RefCountPtr<class PGL::Geometry>)

__init__( (object)arg1, (float)arg2, (float)arg3, (float)arg4, (Geometry)arg5) -> object :

    C++ signature :
        void * __init__(class boost::python::api::object,double,double,double,class TOOLS::RefCountPtr<class PGL::Geometry>)

Overrides: object.__init__

isTranslationToDefault(...)

 

isTranslationToDefault( (Translated)arg1) -> bool :

    C++ signature :
        bool isTranslationToDefault(class PGL::Translated {lvalue})


Property Details

DEFAULT_TRANSLATION

Get Method:
unreachable(...)

translation

Get Method:
unreachable(...)
Set Method:
unreachable(...)