本文整理汇总了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)
示例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)
示例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)
示例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)
示例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)
示例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)
示例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)
示例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)
示例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
示例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)
示例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)