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

Class MolIndexedPolygons

source code

DejaVu.Common2d3dObject.Common2d3dObject --+                
                                           |                
      DejaVu.Transformable.Transformable --+                
                                           |                
          DejaVu.Displayable.Displayable --+                
                                           |                
                            DejaVu.Geom.Geom --+            
                                               |            
                  DejaVu.IndexedGeom.IndexedGeom --+        
                                                   |        
            DejaVu.IndexedPolylines.IndexedPolylines --+    
                                                       |    
                  DejaVu.IndexedPolygons.IndexedPolygons --+
                                                           |
                                                          MolIndexedPolygons

Package : Pmv Module : sdCommands Class : MolIndexedPolygons Command : None

Description: The MolIndexedPolygons is a class derived from IndexedPolygons. It has an additional method, getTriangles, which is used to assign atoms to geometry vertices and vice versa when an externally generated geometry is assigned to a molecule. Assignment to a molecule occurs with the ReadMolIndexedPolygons command

Keywords: geometry, harmony, surfdock

Instance Methods [hide private]
  __init__(self, name=None, check=1, redo=1, **kw)
  getTriangles(self, atomindices)
This emulates the MSMS getTriangles method.

Inherited from DejaVu.IndexedPolygons.IndexedPolygons: RedoDisplayList, Set, asIndexedPolygons, delete, writeToFile

Inherited from DejaVu.IndexedPolylines.IndexedPolylines: Add

Inherited from DejaVu.IndexedGeom.IndexedGeom: ComputeFaceNormals, ComputeVertexNormals, DisplayFunction, Draw, FaceNormalFunction, VertexNormalFunction, getFNormals, getFaces, removeDuplicatedVertices, setTransparency, sortPoly

Inherited from DejaVu.IndexedGeom.IndexedGeom (private): _FixedLengthFaces, _PrimitiveType

Inherited from DejaVu.Geom.Geom: AddClipPlane, AddMaterial, ApplyParentsTransform, BoundingBox, ComputeBB, DrawBoundingBox, DrawTreeBoundingBox, GetFrontPolyMode, GetLighting, GetNormals, GetShading, MaterialBindingMode, ObjSubTreeBB, RemoveClipPlane, RenderMode, SetBackPolyMode, SetForChildren, SetFrontBackPolyMode, SetFrontPolyMode, SetMaterial, SetPolyMode, TransformedCoords, __repr__, addFaceNormalsGeom, addVertexNormalsGeom, deleteOpenglList, deleteOpenglTemplateList, faceCenterVector, getDepthMask, getDrawOutlineMode, getGeomClipPlanesCode, getGeomMaterialCode, getSharpColorBoundaries, getState, getVNormals, getVertices, removeFaceNormalsGeom, removeVertexNormalsGeom, setViewer, sortPoly_cb

Inherited from DejaVu.Geom.Geom (private): _DrawBox

Inherited from DejaVu.Common2d3dObject.Common2d3dObject: AllObjects, AllVisibleObjects, BuildFullName, LastParentBeforeRoot, getVisible, hideOwnGui, showOwnGui

Inherited from DejaVu.Common2d3dObject.Common2d3dObject (private): _Hide, _Remove

Inherited from DejaVu.Transformable.Transformable: BuildMat, ConcatRotation, ConcatRotationRelative, ConcatScale, ConcatTranslation, Decompose4x4, FrameTransform, GetMatrix, GetMatrixInverse, MakeMat, MoveWith, RedirectTransformTo, ResetTransformation, SetMatrix, SetPivot, SetRotation, SetScale, SetTransformation, SetTranslation, multMat4pt, setMatrixComponents, transformIsIdentity, transformationSourceCode

Inherited from DejaVu.Transformable.Transformable (private): _SetPivot

Inherited from DejaVu.Displayable.Displayable: InitColor, InitMaterial, SetupGL, getLineWidth, getPointWidth, getStippleLines, getStipplePolygons

Inherited from DejaVu.Displayable.Displayable (private): _WidthAndStipple


Class Variables [hide private]

Inherited from DejaVu.IndexedGeom.IndexedGeom: keywords

Inherited from DejaVu.Geom.Geom: destBlendFunctions, sourceBlendFunctions

Inherited from DejaVu.Geom.Geom (private): _numberOfDeletedGeoms


Method Details [hide private]

__init__(self, name=None, check=1, redo=1, **kw)
(Constructor)

source code 
None
Overrides: DejaVu.IndexedPolygons.IndexedPolygons.__init__

getTriangles(self, atomindices)

source code 
This emulates the MSMS getTriangles method. Needed for assigning vertices to atoms