def __init__(self): PartModuleVisParams.__init__(self) PartColoredVisParams.__init__(self) PartTransformParams.__init__(self) self.isVisible = True self.name = 'VectorField' PartVectorFieldVisParams.mergeDefaultParams(self) # explicitly call mergeDefaultParams of this class
def __init__(self): VisItemParams.__init__(self) PartTransformParams.__init__(self) self.name = 'SceneGraphItem' self.isVisible = True coSceneGraphItemParams.mergeDefaultParams( self) # explicitly call mergeDefaultParams of this class
def __init__(self): PartModuleVisParams.__init__(self) PartColoredVisParams.__init__(self) PartTransformParams.__init__(self) self.isVisible = True self.name = 'VectorField' PartVectorFieldVisParams.mergeDefaultParams( self) # explicitly call mergeDefaultParams of this class
def __init__(self): VisItemParams.__init__(self) PartTransformParams.__init__(self) self.name = 'DNAItem' self.isVisible = True self.connectionPoints = {} self.connectionPointsDisable = {} self.connectedUnit = {} self.matrix = [1,0,0,0 ,0,1,0,0 ,0,0,1,0 ,0,0,0,1] coDNAItemParams.mergeDefaultParams(self) # explicitly call mergeDefaultParams of this class
def __init__(self): VisItemParams.__init__(self) PartTransformParams.__init__(self) self.name = 'DNAItem' self.isVisible = True self.connectionPoints = {} self.connectionPointsDisable = {} self.connectedUnit = {} self.matrix = [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1] coDNAItemParams.mergeDefaultParams( self) # explicitly call mergeDefaultParams of this class
def mergeDefaultParams(self): PartTransformParams.mergeDefaultParams(self) # call mergeDefaultParams of PartTransformParams since coSceneGraphItem does not inherit from PartTransform defaultParams = { 'isMoveable' : True, 'isMoveSelected' : False, 'transparency' : 1.0, 'transparencyOn' : True, 'color' : 0, 'r' : 200, 'g' : 200, 'b' : 200, 'ambient' : [180, 180, 180], 'specular' : [255, 255, 130], 'shininess' : 16.0, 'nodeClassName' : "", 'shaderFilename' : "" } mergeGivenParams(self, defaultParams)
def __init__(self): PartModuleVisParams.__init__(self) PartColoredVisParams.__init__(self) PartTransformParams.__init__(self) #coloring and shader self.name = 'Appearance' self.r=200 self.g=200 self.b=200 self.transparency=1.0 self.transparencyOn=True self.color = 0 self.ambient = 180, 180, 180 self.specular = 255, 255, 130 self.shininess = 16.0 #visualization self.variable = 'Select a variable' self.allVariables = [] self.mergeDefaultParams()
def mergeDefaultParams(self): PartTransformParams.mergeDefaultParams( self ) # call mergeDefaultParams of PartTransformParams since coSceneGraphItem does not inherit from PartTransform defaultParams = { 'isMoveable': True, 'isMoveSelected': False, 'transparency': 1.0, 'transparencyOn': True, 'color': 0, 'r': 200, 'g': 200, 'b': 200, 'ambient': [180, 180, 180], 'specular': [255, 255, 130], 'shininess': 16.0, 'nodeClassName': "", 'shaderFilename': "" } mergeGivenParams(self, defaultParams)
def __init__(self): PartModuleVisParams.__init__(self) PartTransformParams.__init__(self) self.name = 'BoundingBox'
def mergeDefaultParams(self): PartTransformParams.mergeDefaultParams(self) # call mergeDefaultParams of PartTransformParams since coCaseMgr does not inherit from PartTransform
def __init__(self): PartTransformParams.__init__(self) self.name = 'testCase' self.filteredDsc = None self.origDsc = None coCaseMgrParams.mergeDefaultParams(self) # explicitly call mergeDefaultParams of this class
def __init__(self): VisItemParams.__init__(self) PartTransformParams.__init__(self) self.name = 'SceneGraphItem' self.isVisible = True coSceneGraphItemParams.mergeDefaultParams(self) # explicitly call mergeDefaultParams of this class