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

Class ReadDockdata

source code

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


Package : Pmv
Module  : sdCommands
Class   : ReadDockdata
Command : readDockdata

Description:
The ReadDockdata class is a subclass of ReadMolIndexedPolygons for
reading dockdata files as used by surfdock. The propertyList and
trifile are predefined, so only the vertex file is needed.

Synopsis:
  None <- readDockdata(molname,vertfile,**kw)
  molName        : name of the molecule to which the polygon belongs
  vertfile       : name of the dockdatafile
  name           : name to assign to the geometry. Defaults to
  vertfile
  
Keywords: harmony,surfdock,geometry



Instance Methods [hide private]
  __call__(self, molName, vertfile, trifile, atom_file=None, propertyList=['Area','ShapeIndex','Curvedness','Hydro1','Hydro2','Electro','Bval'], 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, trifile, atom_file=None, propertyList=['Area','ShapeIndex','Curvedness','Hydro1','Hydro2','Electro','Bval'], 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__

guiCallback(self)

source code 
Overrides: ReadMolIndexedPolygons.guiCallback