Package rdkit :: Package Chem :: Module DSViewer :: Class MolViewer
[hide private]
[frames] | no frames]

Class MolViewer

source code

object --+
         |
        MolViewer

Instance Methods [hide private]
 
__init__(self, force=0, title='Untitled', **kwargs)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
DeleteAll(self) source code
 
DeleteAllExcept(self, excludes) source code
 
ShowMol(self, mol, name='molecule', showOnly=True, highlightFeatures=[], molB="", confId=-1, zoom=True) source code
 
LoadFile(self, filename, name, showOnly=False) source code
 
GetSelectedAtoms(self, whichSelection='') source code
 
HighlightAtoms(self, indices, where, extraHighlight=False) source code
 
SelectAtoms(self, itemId, atomIndices, selName='selection') source code
 
SetDisplayUpdate(self, val) source code
 
GetAtomCoords(self, sels) source code
 
AddPharmacophore(self, locs, colors, label, sphereRad=0.5) source code
 
SetDisplayStyle(self, obj, style='') source code
 
HideAll(self) source code
 
HideObject(self, objName) source code
 
DisplayObject(self, objName) source code
 
Zoom(self, objName) source code
 
SelectProteinNeighborhood(self, aroundObj, inObj, distance=5.0, name='neighborhood', showSurface=False)
FIX: the surface display stuff here is all screwed up due to differences between the way PyMol and DSViewer handle surfaces.
source code
 
Redraw(self) source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, force=0, title='Untitled', **kwargs)
(Constructor)

source code 
x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

SelectProteinNeighborhood(self, aroundObj, inObj, distance=5.0, name='neighborhood', showSurface=False)

source code 
FIX: the surface display stuff here is all screwed up due to
differences between the way PyMol and DSViewer handle surfaces.
In PyMol they are essentially a display mode for the protein, so
they don't need to be managed separately.
In DSViewer, on the other hand, the surface is attached to the
protein, but it needs to be hidden or shown on its own.  I haven't
figured out how to do that yet.