Package Pmv :: Module sdCommands :: Class ReadHarmony
[hide private]
[frames] | no frames]

Class ReadHarmony

source code

ViewerFramework.VFCommand.Command --+        
                                    |        
                  mvCommand.MVCommand --+    
                                        |    
                   ReadMolIndexedPolygons --+
                                            |
                                           ReadHarmony


Package : Pmv
Module  : sdCommands
Class   : ReadHarmony
Command : readHarmony

Description:
The ReadHarmony class is a subclass of ReadMolIndexedPolygons for
reading files generated by the Harmony suite (usually having the
suffix 'field'. The propertyList and trifile are known in advance
for such files, so only the vertices are needed.

Synopsis:
  None <- readHarmony(molname,vertfile,name,**kw)
  molName        : name of the molecule to which the polygon belongs
  vertfile       : name of the harmony (.field) file
  name           : name to assign to the geometry. Defaults to vertfile

Keywords: harmony,surfdock,geometry



Instance Methods [hide private]
  __call__(self, molName, vertfile, atom_index=None, name=None, **kw)
None <- readMolIndexedPolygons(nodes, vertfile, trifile, atom_file, propertyList, name,**kw) nodes : TreeNodeSet holding a molecule vertfile: vertices and normals trifile : one-based triangulation file atom_file: (optional) output of cluster assigning atoms to vertices propertyList: list of names of surface properties in the vertfile
  guiCallback(self)

Inherited from ReadMolIndexedPolygons: __init__, atomPropToVertices, doit, onAddObjectToViewer, pickedVerticesToAtoms, pickedVerticesToBonds

Inherited from mvCommand.MVCommand: 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]

__call__(self, molName, vertfile, atom_index=None, name=None, **kw)
(Call operator)

source code 
None <- readMolIndexedPolygons(nodes, vertfile, trifile, atom_file, propertyList, name,**kw) nodes : TreeNodeSet holding a molecule vertfile: vertices and normals trifile : one-based triangulation file atom_file: (optional) output of cluster assigning atoms to vertices propertyList: list of names of surface properties in the vertfile
Overrides: ReadMolIndexedPolygons.__call__
(inherited documentation)

guiCallback(self)

source code 
Overrides: ReadMolIndexedPolygons.guiCallback