예제 #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
파일: coDNAMgr.py 프로젝트: zyzwhdx/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
예제 #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
파일: coCaseMgr.py 프로젝트: zyzwhdx/covise
 def mergeDefaultParams(self):
     PartTransformParams.mergeDefaultParams(self) # call mergeDefaultParams of PartTransformParams since coCaseMgr does not inherit from PartTransform
예제 #11
0
파일: coCaseMgr.py 프로젝트: zyzwhdx/covise
 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