当前位置: 首页>>代码示例>>Python>>正文


Python PartColoredVis.recreate方法代码示例

本文整理汇总了Python中PartColoredVis.PartColoredVis.recreate方法的典型用法代码示例。如果您正苦于以下问题:Python PartColoredVis.recreate方法的具体用法?Python PartColoredVis.recreate怎么用?Python PartColoredVis.recreate使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在PartColoredVis.PartColoredVis的用法示例。


在下文中一共展示了PartColoredVis.recreate方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: recreate

# 需要导入模块: from PartColoredVis import PartColoredVis [as 别名]
# 或者: from PartColoredVis.PartColoredVis import recreate [as 别名]
 def recreate(self, negMsgHandler, parentKey, offset):
     """ overload recreate() since Sampling inputs arent used """
     self.PartTracerVisinitBase()    # call __initBase from PartTracerVis
     PartModuleVis.recreate(self, negMsgHandler, parentKey, offset, TracerComp,
                           ['meshIn'],['octtreesIn'],[],[],['dataIn'],['fieldIn'],['pointsIn'] )
     PartColoredVis.recreate(self, negMsgHandler, parentKey, offset)
     PartColoredVis.setColorMap(self,True)
开发者ID:nixz,项目名称:covise,代码行数:9,代码来源:PartTracerVis.py

示例2: recreate

# 需要导入模块: from PartColoredVis import PartColoredVis [as 别名]
# 或者: from PartColoredVis.PartColoredVis import recreate [as 别名]
 def recreate(self, negMsgHandler, parentKey, offset):
     """ recreate is called after all classes of the session have been unpickled """
     PartMagmaTraceVisParams.mergeDefaultParams(self.params) # explicitly call mergeDefaultParams of this class
     self.__initBase()
     PartModuleVis.recreate(self, negMsgHandler, parentKey, offset, MagmaTrace, ['geo_in'],[],[],[],['data_in'] )
     PartColoredVis.recreate(self, negMsgHandler, parentKey, offset)
     PartColoredVis.setColorMap(self,True)
开发者ID:nixz,项目名称:covise,代码行数:9,代码来源:PartMagmaTraceVis.py

示例3: recreate

# 需要导入模块: from PartColoredVis import PartColoredVis [as 别名]
# 或者: from PartColoredVis.PartColoredVis import recreate [as 别名]
 def recreate(self, negMsgHandler, parentKey, offset):
     """ recreate is called after all classes of the session have been unpickled """
     PartClipIntervalVisParams.mergeDefaultParams(self.params) # explicitly call mergeDefaultParams of this class
     self.__initBase()
     PartModuleVis.recreate(self, negMsgHandler, parentKey, offset, ClipInterval, ['GridIn0'],[],[],[],['DataIn0'] )
     PartColoredVis.recreate(self, negMsgHandler, parentKey, offset)
     PartColoredVis.setColorMap(self,True)
开发者ID:nixz,项目名称:covise,代码行数:9,代码来源:PartClipIntervalVis.py

示例4: recreate

# 需要导入模块: from PartColoredVis import PartColoredVis [as 别名]
# 或者: from PartColoredVis.PartColoredVis import recreate [as 别名]
 def recreate(self, negMsgHandler, parentKey, offset):
     """ recreate is called after all classes of the session have been unpickled """
     PartIsoCutterVisParams.mergeDefaultParams(self.params) # explicitly call mergeDefaultParams of this class
     self.__initBase()
     PartModuleVis.recreate(self, negMsgHandler, parentKey,offset,IsoCutter, ['inPolygons'],[],[],[],['inData'] )
     PartColoredVis.recreate(self, negMsgHandler, parentKey, offset)
     PartColoredVis.setColorMap(self,True)
开发者ID:nixz,项目名称:covise,代码行数:9,代码来源:PartIsoCutterVis.py

示例5: recreate

# 需要导入模块: from PartColoredVis import PartColoredVis [as 别名]
# 或者: from PartColoredVis.PartColoredVis import recreate [as 别名]
 def recreate(self, negMsgHandler, parentKey, offset):
     """ recreate is called after all classes of the session have been unpickled """
     Part__TEMPLATE__VisParams.mergeDefaultParams(self.params) # explicitly call mergeDefaultParams of this class
     self.__initBase()
     PartModuleVis.recreate(self, negMsgHandler, parentKey, offset, __TEMPLATE__, ['Geometry_in'],[],[],[],['Scalar_in'] )
     PartColoredVis.recreate(self, negMsgHandler, parentKey, offset)
     PartColoredVis.setColorMap(self,True)
开发者ID:nixz,项目名称:covise,代码行数:9,代码来源:Part__TEMPLATE__Vis.py

示例6: recreate

# 需要导入模块: from PartColoredVis import PartColoredVis [as 别名]
# 或者: from PartColoredVis.PartColoredVis import recreate [as 别名]
    def recreate(self, negMsgHandler, parentKey, offset):

        return # TODO: probe is not working at the moment: stuck in saveExecute (data or grid missing)

        """ recreate is called after all classes of the session have been unpickled """
        self.__initBase()
        PartModuleVis.recreate(self, negMsgHandler, parentKey, offset, Probe3D, ['meshIn'],['gOcttreesIn'],[],[],['gdataIn'],['gdataIn'])
        PartColoredVis.recreate(self, negMsgHandler, parentKey, offset)
开发者ID:nixz,项目名称:covise,代码行数:10,代码来源:PartPointProbingVis.py

示例7: recreate

# 需要导入模块: from PartColoredVis import PartColoredVis [as 别名]
# 或者: from PartColoredVis.PartColoredVis import recreate [as 别名]
 def recreate(self, negMsgHandler, parentKey, geoInput=[], geoSampleInput=[], dataSampleInput=[], dataInInput=[], sampleType=MAX_FLT, offset=0):
     """ recreate is called after all classes of the session have been unpickled """
     self.__initBase()
     self.params.setMoreParams()
     PartInteractorVis.setFormat(self, 1)
     PartModuleVis.recreate(self, negMsgHandler, parentKey, offset, CuttingSurfaceComp, geoInput, [], geoSampleInput, dataSampleInput, dataInInput, [], [], sampleType)
     PartColoredVis.recreate(self,negMsgHandler, parentKey, offset )
     PartColoredVis.setColorMap(self,True)
开发者ID:nixz,项目名称:covise,代码行数:10,代码来源:PartCuttingSurfaceVis.py

示例8: recreate

# 需要导入模块: from PartColoredVis import PartColoredVis [as 别名]
# 或者: from PartColoredVis.PartColoredVis import recreate [as 别名]
 def recreate(self, negMsgHandler, parentKey, offset):
     """ recreate is called after all classes of the session have been unpickled """
     PartVectorFieldVisParams.mergeDefaultParams(self.params) # explicitly call mergeDefaultParams of this class
     self.__initBase()
     PartModuleVis.recreate(self, negMsgHandler, parentKey, offset, VectorField, ['meshIn'],[],[],[],['vdataIn'] )
     PartColoredVis.recreate(self, negMsgHandler, parentKey, offset)
     PartColoredVis.setColorMap(self,True)
     PartTransform.recreate(self, negMsgHandler, parentKey, offset)  
开发者ID:nixz,项目名称:covise,代码行数:10,代码来源:PartVectorFieldVis.py

示例9: recreate

# 需要导入模块: from PartColoredVis import PartColoredVis [as 别名]
# 或者: from PartColoredVis.PartColoredVis import recreate [as 别名]
 def recreate(self, negMsgHandler, parentKey, offset):
     self.__initBase()
     self.params.mergeDefaultParams()
     PartColoredVis.recreate(self, negMsgHandler, parentKey, offset)
     PartColoredVis.setColorMap(self,False)
     PartTransform.recreate(self, negMsgHandler, parentKey, offset)
     PartModuleVis.recreate(self, negMsgHandler, parentKey, offset, Collect, ['GridIn0'],[],[],[],[],[],[],1,False, False )
     if (self.params.name == "Part2DRawVisParams") or (self.params.name == "Appearance"):
         # The name of Part2DRawVis was never changed in previous versions. Copy it from parent if it's the default name.
         self.params.name = globalKeyHandler().getObject(parentKey).params.name
开发者ID:nixz,项目名称:covise,代码行数:12,代码来源:Part2DRawVis.py

示例10: recreate

# 需要导入模块: from PartColoredVis import PartColoredVis [as 别名]
# 或者: from PartColoredVis.PartColoredVis import recreate [as 别名]
 def recreate(self, negMsgHandler, parentKey, offset):
     """ recreate is called after all classes of the session have been unpickled """
     PartDomainSurfaceVisParams.mergeDefaultParams(self.params) # explicitly call mergeDefaultParams of this class
     self.__initBase()
     
     if self.params.variable == None or self.params.variable == 'unset': 
         PartModuleVis.recreate(self, negMsgHandler, parentKey, offset, DomainSurface, ['GridIn0'],[],[],[],[], [], [], 1, False, False)        
     else: 
         PartModuleVis.recreate(self, negMsgHandler, parentKey, offset, DomainSurface, ['GridIn0'],[],[],[],['DataIn0'], [], [], 1, False, False)
         
     PartColoredVis.recreate(self, negMsgHandler, parentKey, offset)
     PartColoredVis.setColorMap(self,True)
开发者ID:nixz,项目名称:covise,代码行数:14,代码来源:PartDomainSurfaceVis.py

示例11: recreate

# 需要导入模块: from PartColoredVis import PartColoredVis [as 别名]
# 或者: from PartColoredVis.PartColoredVis import recreate [as 别名]
 def recreate(self, negMsgHandler, parentKey, offset):
     """ recreate is called after all classes of the session have been unpickled """
     self.__initBase()
     PartModuleVis.recreate(self, negMsgHandler, parentKey, offset, IsoSurfaceComp, ['GridIn0'],[],[],[],['DataIn0'],['DataIn1'] )
     PartColoredVis.recreate(self, negMsgHandler, parentKey, offset)
     PartColoredVis.setColorMap(self,True)        
开发者ID:nixz,项目名称:covise,代码行数:8,代码来源:PartIsoSurfaceVis.py


注:本文中的PartColoredVis.PartColoredVis.recreate方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。