Object3D Package¶
Object3D
Package¶
ClippingPlaneConfiguration
Module¶
GLToolBar
Module¶
GLWidgetCachePixmap
Module¶
HorizontalSpacer
Module¶
Object3DBase
Module¶
Object3DColormap
Module¶
Object3DConfig
Module¶
Object3DCoordinates
Module¶
Object3DDirs
Module¶
Object3DFileDialogs
Module¶
Object3DMovement
Module¶
Object3DPrintPreview
Module¶
Object3DPrivateConfig
Module¶
Object3DProperties
Module¶
Object3DQt
Module¶
Object3DRedBookFont
Module¶
Object3DScene
Module¶
Object3DSlider
Module¶
ObjectTree
Module¶
-
class
PyMca5.Object3D.ObjectTree.
ObjectTree
(item, name=None)[source]¶ Bases:
object
Implements a simple tree of objects with a _name attribute. Number of children is illimited. Recursive structure
-
addChild
(item, name=None)[source]¶ Add a child to the current tree or sub-tree. PARAMETERS :
item : the item of the child tree- RETURNS :
- the child
-
addChildTree
(childTree)[source]¶ Add a child tree to the tree. PARAMETERS :
childTree : the child tree to add
-
delChild
(name)[source]¶ Remove a child in the tree. PARAMETERS :
name : the name of the child to remove- RETURNS :
- 1 if deleted, else 0
-
delDirectChild
(name)[source]¶ Remove a direct child. PARAMETERS :
name : the name of the child to remove- RETURNS :
- 1 if deleted, else 0
-
find
(childName)[source]¶ Find a child - or sub-child, given its name. PARAMETERS :
childName : the name of the child to find- RETURNS :
- the child, or ‘None’ if not found
-
getLine
(childName)[source]¶ Extract the line of parents from root to child. PARAMETERS :
childName : the name of the child to extract the line- RETURNS :
- a list of name, from root to child, or [] if not found
-