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

Class Scaled

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

The Scaled describes an object to which an anisotropic scaling has been applied.
The scaling transformation is given by the matrix:
|sx 0 0|
|0 sy 0|
|0 0 sz|
where (sx, sy, sz) denotes the scaling factors along the x, y and z-axis.

Instance Methods
 
__init__(...)
__init__( (object)arg1, (Vector3)scale, (Geometry)geometry) -> None : Scaled(scale,geometry)
 
isScaleToDefault(...)
isScaleToDefault( (Scaled)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_SCALE
  scale

Inherited from MatrixTransformed: geometry

Inherited from SceneObject: name

Inherited from object: __class__

Method Details

__init__(...)
(Constructor)

 

__init__( (object)arg1, (Vector3)scale, (Geometry)geometry) -> None :
    Scaled(scale,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>)

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

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

Overrides: object.__init__

isScaleToDefault(...)

 

isScaleToDefault( (Scaled)arg1) -> bool :

    C++ signature :
        bool isScaleToDefault(class PGL::Scaled {lvalue})


Property Details

DEFAULT_SCALE

Get Method:
unreachable(...)

scale

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