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

Class AxisRotated

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

The AxisRotated describes an object to which it has been applied a rotation of a specified angle about a specified axis.
The rotation is given by the matrix: |(1-c)x2 + c    (1-c)xy - sz (1-c)xy + sy|
                                     |(1-c)xy + sz   (1-c)y2 + c  (1-c)yz - sx|
                                     |(1-c)xz - sy   (1-c)yz + sx (1-c)z2 + c |
where s = sin(angle), c = cos(angle), x,y and z the coordinates of the axis.

Instance Methods
 
__init__(...)
__init__( (object)arg1, (Vector3)axis, (float)angle, (Geometry)geometry) -> None : AxisRotated( Vector3 axis, radian angle, geometry)
 
isAngleToDefault(...)
isAngleToDefault( (AxisRotated)arg1) -> bool :
 
isAxisToDefault(...)
isAxisToDefault( (AxisRotated)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_ANGLE
  DEFAULT_AXIS
  angle
  axis

Inherited from MatrixTransformed: geometry

Inherited from SceneObject: name

Inherited from object: __class__

Method Details

__init__(...)
(Constructor)

 

__init__( (object)arg1, (Vector3)axis, (float)angle, (Geometry)geometry) -> None :
    AxisRotated( Vector3 axis, radian angle, geometry)

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

Overrides: object.__init__

isAngleToDefault(...)

 

isAngleToDefault( (AxisRotated)arg1) -> bool :

    C++ signature :
        bool isAngleToDefault(class PGL::AxisRotated {lvalue})

isAxisToDefault(...)

 

isAxisToDefault( (AxisRotated)arg1) -> bool :

    C++ signature :
        bool isAxisToDefault(class PGL::AxisRotated {lvalue})


Property Details

DEFAULT_ANGLE

Get Method:
unreachable(...)

DEFAULT_AXIS

Get Method:
unreachable(...)

angle

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

axis

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