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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
def recreate(self, negMsgHandler, parentKey, offset): """ recreate is called after all classes of the session have been unpickled """ self.__initBase() self.__correctParams() PartInteractorVis.setFormat(self, 0) PartModuleVis.recreate(self, negMsgHandler, parentKey, offset, TracerComp, ['meshIn'],['octtreesIn'],['SampleGeom'],['SampleData'],['dataIn'],['fieldIn'],['pointsIn'] ) PartColoredVis.recreate(self, negMsgHandler, parentKey, offset) PartColoredVis.setColorMap(self,True)
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)
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)
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)
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
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)
def recreate(self, negMsgHandler, parentKey, offset): """ recreate is called after all classes of the session have been unpickled """ self.__initBase() self.__correctParams() PartInteractorVis.setFormat(self, 0) PartModuleVis.recreate(self, negMsgHandler, parentKey, offset, TracerComp, ['meshIn'], ['octtreesIn'], ['SampleGeom'], ['SampleData'], ['dataIn'], ['fieldIn'], ['pointsIn']) PartColoredVis.recreate(self, negMsgHandler, parentKey, offset) PartColoredVis.setColorMap(self, True)
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)
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)
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)
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)