示例#1
0
 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
示例#2
0
 def __init__(self):
     VisItemParams.__init__(self)
     PartTransformParams.__init__(self)
     self.name = 'SceneGraphItem'
     self.isVisible = True
     coSceneGraphItemParams.mergeDefaultParams(
         self)  # explicitly call mergeDefaultParams of this class
示例#3
0
 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
示例#4
0
文件: coDNAMgr.py 项目: nixz/covise
 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
示例#5
0
 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
示例#6
0
 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)
示例#7
0
 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()
示例#8
0
 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)
示例#9
0
 def __init__(self):
     PartModuleVisParams.__init__(self)
     PartTransformParams.__init__(self)
     self.name = 'BoundingBox'
示例#10
0
 def mergeDefaultParams(self):
     PartTransformParams.mergeDefaultParams(self) # call mergeDefaultParams of PartTransformParams since coCaseMgr does not inherit from PartTransform
示例#11
0
 def __init__(self):
     PartTransformParams.__init__(self)
     self.name = 'testCase'
     self.filteredDsc = None
     self.origDsc = None
     coCaseMgrParams.mergeDefaultParams(self) # explicitly call mergeDefaultParams of this class
示例#12
0
 def __init__(self):
     VisItemParams.__init__(self)
     PartTransformParams.__init__(self)
     self.name   = 'SceneGraphItem'
     self.isVisible = True
     coSceneGraphItemParams.mergeDefaultParams(self) # explicitly call mergeDefaultParams of this class