Package pyxsd :: Package transforms :: Module cellSizer :: Class CellSizer
[hide private]
[frames] | no frames]

Class CellSizer

source code

         object --+    
                  |    
transform.Transform --+
                      |
                     CellSizer
Known Subclasses:
sphereCutter.SphereCutter, expandCell.ExpandCell

Instance Methods [hide private]
  cellSizerInit(self)
  getBravaisVectors(self)
  getVectorList(self)
  getAtoms(self)
  makeNewXml(self, bravaisLattice)
  makeNewXmlAtomElements(self, atom)
  makeAtom(self, position, atomType)
  makeBravaisLattice(self, newVectors, newAtoms)
  getCartesianCoords(self, vectors, position)
  findCenter(self, vectors)

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

    Inherited from transform.Transform
  __init__(self)
Cannot Initialize a true abstact class!
  classCollector(self, instance, attrNames, elemNames, collectorDict)
Visitor function to make a dictionary that associates a class with its instances.
  find(self, tagName, baseElem)
  findAll(self, tagName, baseElem)
  getAllSubElements(self, root)
Function to use the walk function with the tagCollector visitor function to make a dictionary that associates all elements with their sub-Elements.
  getElementsByName(self, root, name)
Function to use the walk function with the tagFinder visitor function to make a list containing all elements with a particular name.
  getInstancesByClassName(self, root)
Function to use the walk function with the classCollector visitor function.
  makeCommentElem(self, comment)
  makeElemObj(self, name)
Creates a new element that contains the proper tree stucture
  tagCollector(self, instance, attrNames, elemNames, collectorDict)
A visitor function that is used to make a dictionary that associates a tag name with its children.
  tagFinder(self, instance, attrNames, elemNames, collection, name)
A visitor function to collect all tags with a particular name, and put them into a list.
  walk(self, instance, visitor, *args, **kwargs)

Properties [hide private]

Inherited from object: __class__


Method Details [hide private]

cellSizerInit(self)

source code 
None

getBravaisVectors(self)

source code 
None

getVectorList(self)

source code 
None

getAtoms(self)

source code 
None

makeNewXml(self, bravaisLattice)

source code 
None

makeNewXmlAtomElements(self, atom)

source code 
None

makeAtom(self, position, atomType)

source code 
None

makeBravaisLattice(self, newVectors, newAtoms)

source code 
None

getCartesianCoords(self, vectors, position)

source code 
None

findCenter(self, vectors)

source code 
None