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

Class Oriented

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

Oriented describes an object to a change of coordinate specified by an orthonormal basis has been applied.
The basis is expressed by the matrix:
|px sx tx|
|py sy ty|
|pz sz tz|
where (px, py, pz) denotes the primary direction, (sx,, sy, sz) the secondary direction and (tx,, ty, tz) the ternary direction, which is given by: t = p ^ s.

Instance Methods
 
__init__(...)
__init__( (object)arg1, (Vector3)primary, (Vector3)secondary, (Geometry)geometry) -> None : Oriented(primary,secondary,geometry) with primary,secondary: Vector3
 
isPrimaryToDefault(...)
isPrimaryToDefault( (Oriented)arg1) -> bool :
 
isSecondaryToDefault(...)
isSecondaryToDefault( (Oriented)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_PRIMARY
  DEFAULT_SECONDARY
  primary
  secondary

Inherited from MatrixTransformed: geometry

Inherited from SceneObject: name

Inherited from object: __class__

Method Details

__init__(...)
(Constructor)

 

__init__( (object)arg1, (Vector3)primary, (Vector3)secondary, (Geometry)geometry) -> None :
    Oriented(primary,secondary,geometry) with primary,secondary: Vector3

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

Overrides: object.__init__

isPrimaryToDefault(...)

 

isPrimaryToDefault( (Oriented)arg1) -> bool :

    C++ signature :
        bool isPrimaryToDefault(class PGL::Oriented {lvalue})

isSecondaryToDefault(...)

 

isSecondaryToDefault( (Oriented)arg1) -> bool :

    C++ signature :
        bool isSecondaryToDefault(class PGL::Oriented {lvalue})


Property Details

DEFAULT_PRIMARY

Get Method:
unreachable(...)

DEFAULT_SECONDARY

Get Method:
unreachable(...)

primary

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

secondary

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