Exemplo n.º 1
0
 def __init__(self):
     PartModuleVisParams.__init__(self)
     PartColoredVisParams.__init__(self)
     self.isVisible = True
     self.name = '__TEMPLATE__'
     Part__TEMPLATE__VisParams.mergeDefaultParams(
         self)  # explicitly call mergeDefaultParams of this class
Exemplo n.º 2
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
Exemplo n.º 3
0
 def __init__(self):
     PartModuleVisParams.__init__(self)
     PartColoredVisParams.__init__(self)
     self.isVisible = True
     self.name = 'DomainSurface'
     PartDomainSurfaceVisParams.mergeDefaultParams(
         self)  # explicitly call mergeDefaultParams of this class
Exemplo n.º 4
0
 def __init__(self):
     PartModuleVisParams.__init__(self)
     PartColoredVisParams.__init__(self)
     self.isVisible = True
     self.name = 'Iso Cropped Surface'
     PartIsoCutterVisParams.mergeDefaultParams(
         self)  # explicitly call mergeDefaultParams of this class
Exemplo n.º 5
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
Exemplo n.º 6
0
 def __init__(self):
     PartModuleVisParams.__init__(self)
     PartColoredVisParams.__init__(self)
     PartInteractorVisParams.__init__(self)
     self.isVisible = True
     self.option = 1
     self.vector = 1
     self.name = 'PartCuttingSurfaceVisParams'
     self.setMoreParams()
Exemplo n.º 7
0
 def __init__(self):
     PartModuleVisParams.__init__(self)
     PartColoredVisParams.__init__(self)
     PartInteractorVisParams.__init__(self)
     self.isVisible = True
     self.Interactor = 2
     self.name = 'ProbingPoint'
     self.startpoint = 0, 0, 0 
     self.type = 1
Exemplo n.º 8
0
 def __init__(self):
     PartModuleVisParams.__init__(self)
     PartColoredVisParams.__init__(self)
     PartInteractorVisParams.__init__(self)
     self.isVisible = True
     self.option = 1
     self.vector = 1
     self.name = 'PartCuttingSurfaceVisParams'
     self.setMoreParams()
Exemplo n.º 9
0
 def __init__(self):
     PartModuleVisParams.__init__(self)
     PartColoredVisParams.__init__(self)
     self.isVisible = True
     self.Interactor = 2
     self.vector = 2
     self.name = 'IsoSurface'
     self.len = 1.
     self.isovalue = 0.5
     self.isomin = 0.0
     self.isomax = 1.0
Exemplo n.º 10
0
 def __init__(self):
     PartModuleVisParams.__init__(self)
     PartColoredVisParams.__init__(self)
     self.isVisible = True
     self.Interactor = 2
     self.vector = 2
     self.name = 'IsoSurface'
     self.len = 1.
     self.isovalue = 0.5
     self.isomin = 0.0
     self.isomax = 1.0
Exemplo n.º 11
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()
Exemplo n.º 12
0
    def __init__(self):
        PartModuleVisParams.__init__(self)
        PartColoredVisParams.__init__(self)
        PartInteractorVisParams.__init__(self)
        self.isVisible = True
        self.taskType = 1
        self.name = 'PartTracerVisParams'

        #start points from other 2D Part
        self.use2DPartKey = None
        self.len = 1.
        self.no_startp = 50
        self.direction = 1
        self.eps = 0.0000001
        self.grid_tol = 0.0001
        self.maxOutOfDomain = 0.25
        self.abs = 0.0001
        self.min_vel = 0.001
        self.start_style = 2
        self.freeStartPoints = '[0.01, 0.01, 0.01]'
Exemplo n.º 13
0
    def __init__(self):
        PartModuleVisParams.__init__(self)
        PartColoredVisParams.__init__(self)
        PartInteractorVisParams.__init__(self)
        self.isVisible = True
        self.taskType = 1
        self.name = 'PartTracerVisParams'

        #start points from other 2D Part
        self.use2DPartKey = None
        self.len = 1.
        self.no_startp = 50
        self.direction = 1
        self.eps = 0.0000001
        self.grid_tol = 0.0001
        self.maxOutOfDomain = 0.25
        self.abs = 0.0001
        self.min_vel = 0.001
        self.start_style = 2
        self.freeStartPoints = '[0.01, 0.01, 0.01]'
Exemplo n.º 14
0
 def __init__(self):
     PartModuleVisParams.__init__(self)
     PartColoredVisParams.__init__(self)
     self.isVisible = True
     self.name = '__TEMPLATE__'
     Part__TEMPLATE__VisParams.mergeDefaultParams(self) # explicitly call mergeDefaultParams of this class
Exemplo n.º 15
0
 def __init__(self):
     PartModuleVisParams.__init__(self)
     PartColoredVisParams.__init__(self)
     self.isVisible = True
     self.name = 'MagmaTrace'
     PartMagmaTraceVisParams.mergeDefaultParams(self) # explicitly call mergeDefaultParams of this class
Exemplo n.º 16
0
 def __init__(self):
     PartModuleVisParams.__init__(self)
     PartColoredVisParams.__init__(self)
     self.isVisible = True
     self.name = 'Iso Cropped Surface'
     PartIsoCutterVisParams.mergeDefaultParams(self) # explicitly call mergeDefaultParams of this class
Exemplo n.º 17
0
 def __init__(self):
     PartModuleVisParams.__init__(self)
     PartColoredVisParams.__init__(self)
     self.isVisible = True
     self.name = 'Iso Interval Surface'
     PartClipIntervalVisParams.mergeDefaultParams(self) # explicitly call mergeDefaultParams of this class