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

Class AsymmetricHull

 object --+                        
          |                        
??.instance --+                    
              |                    
    SceneObject --+                
                  |                
           Geometry --+            
                      |            
              Primitive --+        
                          |        
            ParametricModel --+    
                              |    
                           Hull --+
                                  |
                                 AsymmetricHull

An Asymmetric Hull describes an anvelop defined by 6 morphological points.
This is an implementation of the asymmetric crowns introduced by [Koop,89] and [Cescatti,97].The two first morphological points are the bottom and top points of the hull.The four other points are used to defined the peripheral line of the hull (P1,P2,P3,P4).The two first points are located along the x -axis (P1,P2) and the two other along the y-axis (P3,P4).As such Pi points are described with only two dimensions, i.e. a radius and a height using corresponding parametersFinally, the shape coefficients are versatile indices which describe the curvature of the hull above and below the peripheral line.

Instance Methods
 
__init__(...)
__init__( (object)arg1 [, (float)negXRadius [, (float)posXRadius [, (float)negYRadius [, (float)posYRadius [, (float)negXHeight [, (float)posXHeight [, (float)negYHeight [, (float)posYHeight [, (Vector3)bottom [, (Vector3)top [, (float)bottomShape [, (float)topShape [, (int)slices [, (int)stacks]]]]]]]]]]]]]]) -> None : AsymmetricHull([negXRadius,posXRadius,negYRadius,posYRadius,negXHeight,posXHeight,negYHeight,posYHeight,bottom, top, bottomShape, topShape, slices, stacks])
 
isBottomShapeToDefault(...)
isBottomShapeToDefault( (AsymmetricHull)arg1) -> bool :
 
isBottomToDefault(...)
isBottomToDefault( (AsymmetricHull)arg1) -> bool :
 
isNegXHeightToDefault(...)
isNegXHeightToDefault( (AsymmetricHull)arg1) -> bool :
 
isNegXRadiusToDefault(...)
isNegXRadiusToDefault( (AsymmetricHull)arg1) -> bool :
 
isNegYHeightToDefault(...)
isNegYHeightToDefault( (AsymmetricHull)arg1) -> bool :
 
isNegYRadiusToDefault(...)
isNegYRadiusToDefault( (AsymmetricHull)arg1) -> bool :
 
isPosXHeightToDefault(...)
isPosXHeightToDefault( (AsymmetricHull)arg1) -> bool :
 
isPosXRadiusToDefault(...)
isPosXRadiusToDefault( (AsymmetricHull)arg1) -> bool :
 
isPosYHeightToDefault(...)
isPosYHeightToDefault( (AsymmetricHull)arg1) -> bool :
 
isPosYRadiusToDefault(...)
isPosYRadiusToDefault( (AsymmetricHull)arg1) -> bool :
 
isSlicesToDefault(...)
isSlicesToDefault( (AsymmetricHull)arg1) -> bool :
 
isStacksToDefault(...)
isStacksToDefault( (AsymmetricHull)arg1) -> bool :
 
isTopShapeToDefault(...)
isTopShapeToDefault( (AsymmetricHull)arg1) -> bool :
 
isTopToDefault(...)
isTopToDefault( (AsymmetricHull)arg1) -> bool :

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_BOTTOM
  DEFAULT_BOTTOM_SHAPE
  DEFAULT_NEG_X_HEIGHT
  DEFAULT_NEG_X_RADIUS
  DEFAULT_NEG_Y_HEIGHT
  DEFAULT_NEG_Y_RADIUS
  DEFAULT_POS_X_HEIGHT
  DEFAULT_POS_X_RADIUS
  DEFAULT_POS_Y_HEIGHT
  DEFAULT_POS_Y_RADIUS
  DEFAULT_SLICES
  DEFAULT_STACKS
  DEFAULT_TOP
  DEFAULT_TOP_SHAPE
  bottom
  bottomShape
  negXHeight
  negXRadius
  negYHeight
  negYRadius
  posXHeight
  posXRadius
  posYHeight
  posYRadius
  slices
  stacks
  top
  topShape

Inherited from SceneObject: name

Inherited from object: __class__

Method Details

__init__(...)
(Constructor)

 

__init__( (object)arg1 [, (float)negXRadius [, (float)posXRadius [, (float)negYRadius [, (float)posYRadius [, (float)negXHeight [, (float)posXHeight [, (float)negYHeight [, (float)posYHeight [, (Vector3)bottom [, (Vector3)top [, (float)bottomShape [, (float)topShape [, (int)slices [, (int)stacks]]]]]]]]]]]]]]) -> None :
    AsymmetricHull([negXRadius,posXRadius,negYRadius,posYRadius,negXHeight,posXHeight,negYHeight,posYHeight,bottom, top, bottomShape, topShape, slices, stacks])

    C++ signature :
        void __init__(struct _object * [,double [,double [,double [,double [,double [,double [,double [,double [,class TOOLS::Vector3 [,class TOOLS::Vector3 [,double [,double [,unsigned char [,unsigned char]]]]]]]]]]]]]])

Overrides: object.__init__

isBottomShapeToDefault(...)

 

isBottomShapeToDefault( (AsymmetricHull)arg1) -> bool :

    C++ signature :
        bool isBottomShapeToDefault(class PGL::AsymmetricHull {lvalue})

isBottomToDefault(...)

 

isBottomToDefault( (AsymmetricHull)arg1) -> bool :

    C++ signature :
        bool isBottomToDefault(class PGL::AsymmetricHull {lvalue})

isNegXHeightToDefault(...)

 

isNegXHeightToDefault( (AsymmetricHull)arg1) -> bool :

    C++ signature :
        bool isNegXHeightToDefault(class PGL::AsymmetricHull {lvalue})

isNegXRadiusToDefault(...)

 

isNegXRadiusToDefault( (AsymmetricHull)arg1) -> bool :

    C++ signature :
        bool isNegXRadiusToDefault(class PGL::AsymmetricHull {lvalue})

isNegYHeightToDefault(...)

 

isNegYHeightToDefault( (AsymmetricHull)arg1) -> bool :

    C++ signature :
        bool isNegYHeightToDefault(class PGL::AsymmetricHull {lvalue})

isNegYRadiusToDefault(...)

 

isNegYRadiusToDefault( (AsymmetricHull)arg1) -> bool :

    C++ signature :
        bool isNegYRadiusToDefault(class PGL::AsymmetricHull {lvalue})

isPosXHeightToDefault(...)

 

isPosXHeightToDefault( (AsymmetricHull)arg1) -> bool :

    C++ signature :
        bool isPosXHeightToDefault(class PGL::AsymmetricHull {lvalue})

isPosXRadiusToDefault(...)

 

isPosXRadiusToDefault( (AsymmetricHull)arg1) -> bool :

    C++ signature :
        bool isPosXRadiusToDefault(class PGL::AsymmetricHull {lvalue})

isPosYHeightToDefault(...)

 

isPosYHeightToDefault( (AsymmetricHull)arg1) -> bool :

    C++ signature :
        bool isPosYHeightToDefault(class PGL::AsymmetricHull {lvalue})

isPosYRadiusToDefault(...)

 

isPosYRadiusToDefault( (AsymmetricHull)arg1) -> bool :

    C++ signature :
        bool isPosYRadiusToDefault(class PGL::AsymmetricHull {lvalue})

isSlicesToDefault(...)

 

isSlicesToDefault( (AsymmetricHull)arg1) -> bool :

    C++ signature :
        bool isSlicesToDefault(class PGL::AsymmetricHull {lvalue})

isStacksToDefault(...)

 

isStacksToDefault( (AsymmetricHull)arg1) -> bool :

    C++ signature :
        bool isStacksToDefault(class PGL::AsymmetricHull {lvalue})

isTopShapeToDefault(...)

 

isTopShapeToDefault( (AsymmetricHull)arg1) -> bool :

    C++ signature :
        bool isTopShapeToDefault(class PGL::AsymmetricHull {lvalue})

isTopToDefault(...)

 

isTopToDefault( (AsymmetricHull)arg1) -> bool :

    C++ signature :
        bool isTopToDefault(class PGL::AsymmetricHull {lvalue})


Property Details

DEFAULT_BOTTOM

Get Method:
unreachable(...)

DEFAULT_BOTTOM_SHAPE

Get Method:
unreachable(...)

DEFAULT_NEG_X_HEIGHT

Get Method:
unreachable(...)

DEFAULT_NEG_X_RADIUS

Get Method:
unreachable(...)

DEFAULT_NEG_Y_HEIGHT

Get Method:
unreachable(...)

DEFAULT_NEG_Y_RADIUS

Get Method:
unreachable(...)

DEFAULT_POS_X_HEIGHT

Get Method:
unreachable(...)

DEFAULT_POS_X_RADIUS

Get Method:
unreachable(...)

DEFAULT_POS_Y_HEIGHT

Get Method:
unreachable(...)

DEFAULT_POS_Y_RADIUS

Get Method:
unreachable(...)

DEFAULT_SLICES

Get Method:
unreachable(...)

DEFAULT_STACKS

Get Method:
unreachable(...)

DEFAULT_TOP

Get Method:
unreachable(...)

DEFAULT_TOP_SHAPE

Get Method:
unreachable(...)

bottom

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

bottomShape

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

negXHeight

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

negXRadius

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

negYHeight

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

negYRadius

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

posXHeight

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

posXRadius

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

posYHeight

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

posYRadius

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

slices

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

stacks

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

top

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

topShape

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