HappyDoc Generated Documentation .\chimera\selection

. / chimera / selection 

The selection module provides tools for managing selection set and maintains the current selection.

The module constants are:

REPLACE
replace selection with new selection EXTEND -- extend selection with new selection REMOVE -- remove new selection from selection INTERSECT -- intersect new selection with selection
Functions   
  invertCurrent 
invertCurrent ( allModels=True )
  addCurrent 
addCurrent ( items )

add given item or items to current selection

  copyCurrent 
copyCurrent ()

Return a copy of the current selection

  mergeCurrent 
mergeCurrent ( method,  selection )

Merge given selection into the current selection

mergeCurrent(method, selection) => None

method is one of module constants REPLACE, EXTEND, REMOVE, or INTERSECT. selection is a instance of a subclass of Selection.

  currentVertices 
currentVertices ( **kw )

Return vertices in current selection.

Takes the same arguments and returns the same values as ItemizedSelection.vertices()

  currentResidues 
currentResidues ( **kw )

Return residues in current selection.

Takes the same arguments and returns the same values as ItemizedSelection.residues()

  currentGraphs 
currentGraphs ( **kw )

Return graphs in current selection.

Takes the same arguments and returns the same values as ItemizedSelection.graphs()

  setCurrent 
setCurrent ( selection )

Set current selection to the given selection.

setCurrent(what) => None

selection is a instance of a subclass of Selection, or a list of objects, or a single object (object's must have an oslLevel function).

  currentBonds 
currentBonds ( **kw )

Return bonds in current selection.

Takes the same arguments and returns the same values as ItemizedSelection.bonds()

  mergeUsingCurrent 
mergeUsingCurrent ( method,  selection )

Merge the current selection into the given selection

mergeWithCurrent(method, selection) => None

method is one of module constants REPLACE, EXTEND, REMOVE, or INTERSECT. selection is a instance of a subclass of Selection.

  addImpliedCurrent 
addImpliedCurrent ( vertices=True,  edges=True )

add implied vertices and/or edges to current selection

An edge is implied if both endpoints are in the selection. A vertex is implied if any of its edges are in the selection.

The method is "one pass", so edges between implied vertices won't be added if not already present.

  currentSubgraphs 
currentSubgraphs ( **kw )

Return subgraphs in current selection.

Takes the same arguments and returns the same values as ItemizedSelection.subgraphs()

  clearCurrent 
clearCurrent ()

empty the selection

  toggleInCurrent 
toggleInCurrent ( objs )
  currentEdges 
currentEdges ( **kw )

Return edges in current selection.

Takes the same arguments and returns the same values as ItemizedSelection.edges()

  currentContents 
currentContents ( **kw )

Return contents of current selection.

Takes the same arguments and returns the same values as ItemizedSelection.contents()

  applyCurrent 
applyCurrent ( vFunc=None,  eFunc=None )

Apply functions to current selection at corresponding graph level

functions are for vertices and edges, respectively, and receive a single vertex or edge argument

  containedInCurrent 
containedInCurrent ( obj )
  currentEmpty 
currentEmpty ()
  removeCurrent 
removeCurrent ( items )

remove given item or items from current selection

  currentMolecules 
currentMolecules ( **kw )

Return molecules in current selection.

Takes the same arguments and returns the same values as ItemizedSelection.molecules()

  currentAtoms 
currentAtoms ( **kw )

Return atoms in current selection.

Takes the same arguments and returns the same values as ItemizedSelection.atoms()

  currentChains 
currentChains ( **kw )

Return chains in current selection (Sequence objects).

Takes the same arguments and returns the same values as ItemizedSelection.chains()

Classes   

OSLSelection

Object Selection Language selection

CodeSelection

CodeSelection class

Selection

Base class for selections.

ItemizedSelection

Itemized Selection class

Python files   

chain.py

chainID.py

drawmode.py

element.py

gui.py

manager.py

residues.py

seq.py

ss.py

upDown.py


This document was automatically generated Thu Feb 02 15:18:23 2006 by HappyDoc version 3.0.a1