Package Pmv :: Module superimposeCommandsNew :: Class TransformAtomsCommand
[hide private]
[frames] | no frames]

Class TransformAtomsCommand

source code

ViewerFramework.VFCommand.Command --+    
                                    |    
                  mvCommand.MVCommand --+
                                        |
                                       TransformAtomsCommand

This command transforms an AtomSet object by a given matrix, without changing the coords

Instance Methods [hide private]
  doit(self, mat, mobAtoms)
mat: tranformation matrix, in (4,4) Numeric array mobAtoms: AtomSet where the matrix is applied to
  __call__(self, mat, nodes, **kw)
None <- transformAtoms(mat, nodes, **kw)

Inherited from mvCommand.MVCommand: __init__, guiCallback, strArg

Inherited from mvCommand.MVCommand (private): _strArg

Inherited from ViewerFramework.VFCommand.Command: __repr__, addCallbackAfter, addCallbackBefore, addUndoCall, afterDoit, beforeDoit, buildFormDescr, buildLogArgList, checkDependencies, cleanup, customizeGUI, doitWrapper, getArguments, getHelp, getLastUsedValues, getLogArgs, getValNamedArgs, log, logString, onAddCmdToViewer, onAddNewCmd, onCmdRun, setLastUsedValues, setupUndoAfter, setupUndoBefore, showForm, tkCb, updateGeom, warningMsg


Class Variables [hide private]

Inherited from ViewerFramework.VFCommand.Command: negateKw, objArgOnly


Method Details [hide private]

doit(self, mat, mobAtoms)

source code 
mat: tranformation matrix, in (4,4) Numeric array mobAtoms: AtomSet where the matrix is applied to
Overrides: ViewerFramework.VFCommand.Command.doit

__call__(self, mat, nodes, **kw)
(Call operator)

source code 
None <- transformAtoms(mat, nodes, **kw)
Overrides: ViewerFramework.VFCommand.Command.__call__