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

Class EulerRotated

 object --+                        
          |                        
??.instance --+                    
              |                    
    SceneObject --+                
                  |                
           Geometry --+            
                      |            
            Transformed --+        
                          |        
          MatrixTransformed --+    
                              |    
               OrthoTransformed --+
                                  |
                                 EulerRotated

The EulerRotated describes an object to which it has been applied a composition of 3 rotations.
Rotations angles are the roll around the x-axis, the elevation around the rotated y-axis
and azimuth around the rotated z -axis. The equivalent rotation is given by the matrix:
 | ca*ce   ca*se*sr - sa*cr    ca*se*cr + sa*sr |
 | sa*ce   ca*cr + sa*se*sr    sa*se*cr - ca*sr |
 | -se     ce*sr               ce*cr            |
where cr = cos(roll), sr = sin(roll), ce = cos(elevation), se = sin(elevation), ca = cos(azimuth) and sa = sin(azimuth).

Instance Methods
 
__init__(...)
__init__( (object)arg1, (float)azimuth, (float)elevation, (float)roll, (Geometry)geometry) -> None : EulerRotated(azimuth,elevation,roll,geometry)
 
isAzimuthToDefault(...)
isAzimuthToDefault( (EulerRotated)arg1) -> bool :
 
isElevationToDefault(...)
isElevationToDefault( (EulerRotated)arg1) -> bool :
 
isRollToDefault(...)
isRollToDefault( (EulerRotated)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_AZIMUTH
  DEFAULT_ELEVATION
  DEFAULT_ROLL
  azimuth
  elevation
  roll

Inherited from MatrixTransformed: geometry

Inherited from SceneObject: name

Inherited from object: __class__

Method Details

__init__(...)
(Constructor)

 

__init__( (object)arg1, (float)azimuth, (float)elevation, (float)roll, (Geometry)geometry) -> None :
    EulerRotated(azimuth,elevation,roll,geometry)

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

Overrides: object.__init__

isAzimuthToDefault(...)

 

isAzimuthToDefault( (EulerRotated)arg1) -> bool :

    C++ signature :
        bool isAzimuthToDefault(class PGL::EulerRotated {lvalue})

isElevationToDefault(...)

 

isElevationToDefault( (EulerRotated)arg1) -> bool :

    C++ signature :
        bool isElevationToDefault(class PGL::EulerRotated {lvalue})

isRollToDefault(...)

 

isRollToDefault( (EulerRotated)arg1) -> bool :

    C++ signature :
        bool isRollToDefault(class PGL::EulerRotated {lvalue})


Property Details

DEFAULT_AZIMUTH

Get Method:
unreachable(...)

DEFAULT_ELEVATION

Get Method:
unreachable(...)

DEFAULT_ROLL

Get Method:
unreachable(...)

azimuth

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

elevation

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

roll

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