Esempio n. 1
0
 def __init__(self, func=None):
     MVCommand.__init__(self, func)
     MVAtomICOM.__init__(self)
     self.atomList = []
     self.atomCenters = []
     self.labelStrs = []
     self.labelCenters = []
     self.lineVertices = []
     self.snakeLength = 4
     self.continuousUpdate = 0
    def __init__(self, func=None):
        #print "LabelByProperties.__init__"#, self
        MVCommand.__init__(self, func)
        MVAtomICOM.__init__(self)
        self.flag = self.flag | self.negateKw
        self.flag = self.flag | self.objArgOnly

        self.colorDict={'red':(1,0,0), 'green':(0,1,0), 'blue':(0,0,1),
                        'yellow':(1,1,0), 'cyan':(0,1,1),
                        'white':(1,1,1), 'fushia':(1.,0.,0.5),
                        'purple':(1.,0.,1.), 'orange':(1.,0.6,0.)}
        
        self.lastGeomOwnGuiShown = None
Esempio n. 3
0
    def __init__(self, func=None):
        #print "LabelByProperties.__init__"#, self
        MVCommand.__init__(self, func)
        MVAtomICOM.__init__(self)
        self.flag = self.flag | self.negateKw
        self.flag = self.flag | self.objArgOnly

        self.colorDict={'red':(1,0,0), 'green':(0,1,0), 'blue':(0,0,1),
                        'yellow':(1,1,0), 'cyan':(0,1,1),
                        'white':(1,1,1), 'fushia':(1.,0.,0.5),
                        'purple':(1.,0.,1.), 'orange':(1.,0.6,0.)}
        
        self.lastGeomOwnGuiShown = None
 def __init__(self, func=None):
     MVCommand.__init__(self, func)
     MVAtomICOM.__init__(self)
     self.refAtomList = []
     self.inAtomList = []
     #self.superImposedPairs = {}
     self.newPairs = {}
     self.pair = []
     self.mobMolName = None
     self.refMolName = None
     self.filters = {'CA Atoms':lambda x: x.name == 'CA',
                     'Backbone Atoms': lambda x: x.name in ['CA', 'C',
                                                            'N', 'O',
                                                            'CA@A','C@A',
                                                            'N@A','O@A'],
                     'Heavy Atoms': lambda x: not x.element == 'H',
                     'All Atoms': None}
     self.defaultFilter = 'Backbone Atoms'
Esempio n. 5
0
 def __init__(self, func=None):
     MVCommand.__init__(self, func)
     MVAtomICOM.__init__(self)
     self.refAtomList = []
     self.inAtomList = []
     #self.superImposedPairs = {}
     self.newPairs = {}
     self.pair = []
     self.mobMolName = None
     self.refMolName = None
     self.filters = {'CA Atoms':lambda x: x.name == 'CA',
                     'Backbone Atoms': lambda x: x.name in ['CA', 'C',
                                                            'N', 'O',
                                                            'CA@A','C@A',
                                                            'N@A','O@A'],
                     'Heavy Atoms': lambda x: not x.element == 'H',
                     'All Atoms': None}
     self.defaultFilter = 'Backbone Atoms'
 def __init__(self, func=None):
     MVCommand.__init__(self, func)
     MVAtomICOM.__init__(self)
     self.save = None
     self.showPlayer = False                    
     self.floodFile = None
 def __init__(self, func=None):
     MVCommand.__init__(self, func)
     MVAtomICOM.__init__(self)
     self.save = None
     self.showPlayer = False
     self.floodFile = None
Esempio n. 8
0
 def __init__(self, func=None):
     MVCommand.__init__(self, func)
     MVAtomICOM.__init__(self)
     self.flag = self.flag | self.objArgOnly
Esempio n. 9
0
 def __init__(self, func=None):
     MVCommand.__init__(self, func)
     MVAtomICOM.__init__(self)
     self.atomList = AtomSet([])
     self.undoAtList = AtomSet([])
     self.labelStrs = []
 def __init__(self, func = None):
     MVCommand.__init__(self, func)
     MVAtomICOM.__init__(self)
     self.flag = self.flag | self.objArgOnly
 def __init__(self, func=None):
     MVCommand.__init__(self, func)
     MVAtomICOM.__init__(self)
     self.atomList = AtomSet([])
     self.undoAtList = AtomSet([])
     self.labelStrs = []