Package DejaVu :: Package VisionInterface :: Module GeometryNodes :: Class IndexedPolylinesNE
[hide private]
[frames] | no frames]

Class IndexedPolylinesNE

source code

                             object --+                    
                                      |                    
NetworkEditor.itemBase.NetworkItemsBase --+                
                                          |                
        NetworkEditor.itemBase.NetworkItems --+            
                                              |            
            NetworkEditor.items.NetworkNodeBase --+        
                                                  |        
                    NetworkEditor.items.NetworkNode --+    
                                                      |    
                                           GeometryNode --+
                                                          |
                                                         IndexedPolylinesNE

Build a geometry for drawing a set of lines sharing vertices.

The geometry nodes handle a list of geometries. When the name changes, 
a new geom is generated. If an empty name is provided, the current geometry 
is deleted.

The parent and children connections reflect the state of the geometry selected 
in the combo box. If the parent or children geoms are currently selected in 
their own node: the connections are present. If the parent or a child is not 
visible (for the selected geometry) the parent port or/and the output port 
contour lines are white (instead of black). Before parenting you can set the 
behaviour of the 'parent' inputport. Right clicking on the port allows you to 
extend the parenting to the sibling geometries present in the node or to all 
the geometries of the node. This behaviour set by right clicking will only 
affect the next parenting. In the same way, deleting the parent connection, 
reparent to 'root' the selected geometry or the sibling geometries or all the 
geometries in the child node (depending on the right click menu choice).

Input Ports:
    coords:  Nx3 floating points values (type coordinates3D)
    indices: nested lists of indices (1 tuple per line)
    colors:  list of RGB tuples (optional)
    name:    name of the geometry
    instanceMatrices: stream of 4x4 transformation matrices (default identity)
    parent:  a geometry to parent the selected geometry (default root)

Output Ports:
    indexedPolylines: IndexedPolylines geometry 
    allGeometries: list of all the geometries in the node



Instance Methods [hide private]
  __init__(self, name='indexedPolylines', **kw)
  appendGeometry(self, name)

Inherited from GeometryNode: addingEntries, afterAddingToNetwork, afterConnectParent, afterDisconnectChildren, afterDisconnectParent, beforeRemovingFromNetwork, doit, drawParentAndChildrenConnections, effectiveParenting, ensureNameOfNodeAndDescendants, geom, getIndexFromName, getViewerConnection, naming, nodeOnlyGeomRemoval, parenting, rearrangePorts, rebuildComboBoxList, removeAndCleanMultipleGeometryies, removeChildrenConnections, removeParentConnection, removeSingleGeom, removeSingleGeomAndReparentChildren, removeViewerConnection, removeViewerConnections, reparentGeomType, reparentGeoms, setChildrenConnections, setParentConnection, setPortsOfTheChildrenConnections, textureManagement

Inherited from NetworkEditor.items.NetworkNode: addInputPort, addOutputPort, addSpecialPorts, buildNodeIcon, buildSmallIcon, deletePort, deletePortByName, deleteSmallIcon, deselect, editorVisible, getColor, getFont, hideSpecialPorts, isExpanded, refreshInputPortData, resizeIcon, select, setColor, setFont, setModifiedTag, setProgressBar, showSpecialPorts, updatePosXPosY

Inherited from NetworkEditor.items.NetworkNodeBase: addSaveNodeMenuEntries, autoResize, autoResizeX, autoResizeY, buildIcons, checkIfNodeForSavingIsDefined, compareToOrigNodeDescr, computeFunction, configure, cut_cb, delete_cb, edit, editComputeFunction_cb, evalString, getAfterConnectionsSourceCode, getComputeFunctionSourceCode, getConnections, getDescr, getHeaderBlock, getInConnections, getInitBlock, getInputPortByName, getNodeDefinitionSourceCode, getNodeSourceCode, getNodeSourceCodeForDoit, getNodeSourceCodeForInstanciation, getNodeSourceCodeForModifications, getNodeSourceCodeForNode, getNodeSourceCodeForPorts, getNodeSourceCodeForWidgetValue, getNodeSourceCodeForWidgets, getOutConnections, getOutputPortByName, getOutputPortByType, getPortsCreationSourceCode, getSize, getSourceCode, getSpecialInputPortByName, getSpecialOutputPortByName, getStateDefinitionCode, getUniqueNodeName, getWidgetByName, getWidgetsCreationSourceCode, getWidgetsForMaster, getWidthForLabel, getWidthForNodeWidgets, getWidthForPorts, growDown, growRight, hideInNodeWidgets, isMacro, isModified, ischild, move, moveSelectedNodeEnd, outputData, rename, resetModifiedTag, resetTags, safeName, saveSource, saveSource_cb, schedule, scheduleChildren, schedule_cb, setFunction, showInNodeWidgets, startMoveOneNode, toggleNodeExpand_cb, toggleParamPanel_cb, updateCode

Inherited from NetworkEditor.itemBase.NetworkItems: __repr__, afterRemovingFromNetwork, beforeAddingToNetwork, deleteIcon, editNodeMenu, freeze, gettags, hideParamPanel, highlight, introspect, postItemMenu, run, toggleAutoRun_cb, toggleFrozen_cb, unfreeze, unhighlight

Inherited from NetworkEditor.itemBase.NetworkItems (private): _introspectCB

Inherited from NetworkEditor.itemBase.NetworkItemsBase: delEditor, getEditor, setEditor

Inherited from NetworkEditor.itemBase.NetworkItemsBase (private): _setModified, _setOriginal

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __str__


Properties [hide private]

Inherited from NetworkEditor.itemBase.NetworkItemsBase: editor

Inherited from object: __class__


Method Details [hide private]

__init__(self, name='indexedPolylines', **kw)
(Constructor)

source code 
None
Overrides: GeometryNode.__init__

appendGeometry(self, name)

source code 
None
Overrides: GeometryNode.appendGeometry