Object3D Package

Object3D Package

ClippingPlaneConfiguration Module

GLToolBar Module

GLWidgetCachePixmap Module

HorizontalSpacer Module

Object3DBase Module

Object3DColormap Module

Object3DConfig Module

Object3DCoordinates Module

class PyMca5.Object3D.Object3DCoordinates.Object3DCoordinates(parent, limits=None)[source]

Bases: object

convertToViewportLimits(limits)[source]
draw()[source]
drawXAxis(vlimits)[source]
drawYAxis(vlimits)[source]
drawZAxis(vlimits)[source]
setFlags(xflag, yflag, zflag)[source]
setLimits(limits)[source]

Object3DDirs Module

Object3DFileDialogs Module

Object3DIcons Module

PyMca5.Object3D.Object3DIcons.showIcons()[source]

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
childList()[source]

Compute the list of children.

childNumber()[source]

Compute the number of children.

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
erase()[source]

Full erase of the tree. Only the name stays.

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
getList()[source]

Compute a plane list of the elements. RETURNS :

this list of names.
html(fileName, openMode='w')[source]

Similar to str, but in a HTML file .

htmlTable(ffile)[source]

Create table here.

name()[source]

Return its name.

parent(childName)[source]

Return the parent of the child in the tree. PARAMETERS :

childName : the name of the child to find the parent
RETURNS :
the parent, or ‘None’ if not found
str2(indent)[source]

Return a printable string representing the tree. PARAMETERS :

indent : the number of space to indent the tree string

PrivateConfigTools Module

Scene Module

SceneControl Module

SceneCoordinates Module

SceneGLWidget Module

SceneGLWindow Module

SceneManager Module

SceneTree Module

SceneWidget Module

VerticalSpacer Module