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

Class Tapered

 object --+                
          |                
??.instance --+            
              |            
    SceneObject --+        
                  |        
           Geometry --+    
                      |    
            Transformed --+
                          |
                         Tapered

Tapered describes an object to which it has been applied a Taper deformation.
A Taper deforms an object in order to be able to bound the object within a cone frustum of a specified base radius and top radius.
For each point composing an object, a Taper scale the polar coordinates according the zcoordinate.
The amplitude of the scale is given by the radii.

Instance Methods
 
__init__(...)
__init__( (object)arg1, (float)base, (float)top, (Primitive)primitive) -> None : Tapered(base, top, primitive)
 
isBaseRadiusToDefault(...)
isBaseRadiusToDefault( (Tapered)arg1) -> bool :
 
isTopRadiusToDefault(...)
isTopRadiusToDefault( (Tapered)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_BASE_RADIUS
  DEFAULT_TOP_RADIUS
  baseRadius
  primitive
  topRadius

Inherited from SceneObject: name

Inherited from object: __class__

Method Details

__init__(...)
(Constructor)

 

__init__( (object)arg1, (float)base, (float)top, (Primitive)primitive) -> None :
    Tapered(base, top, primitive)

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

Overrides: object.__init__

isBaseRadiusToDefault(...)

 

isBaseRadiusToDefault( (Tapered)arg1) -> bool :

    C++ signature :
        bool isBaseRadiusToDefault(class PGL::Tapered {lvalue})

isTopRadiusToDefault(...)

 

isTopRadiusToDefault( (Tapered)arg1) -> bool :

    C++ signature :
        bool isTopRadiusToDefault(class PGL::Tapered {lvalue})


Property Details

DEFAULT_BASE_RADIUS

Get Method:
unreachable(...)

DEFAULT_TOP_RADIUS

Get Method:
unreachable(...)

baseRadius

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

primitive

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

topRadius

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