def run(self, runmode, negMsgHandler): if os.getenv('VR_PREPARE_DEBUG_RUN'): print("PartTracerVis.run") """ create a new visulisation + register for events from Covise if not done yet + runmode RUN_GEO and RUN_OCT are ignored + update module parameter + exec the tracer module """ assert negMsgHandler if runmode == RUN_ALL: _infoer.function = str(self.run) _infoer.write("go") if not hasattr(self, 'importModule'): return self.__update(negMsgHandler) PartColoredVis.run(self, runmode, negMsgHandler, self._module, self.fromRecreation) PartModuleVis.run(self, runmode, negMsgHandler) PartInteractorVis.run(self, runmode, negMsgHandler)
def run(self, runmode, negMsgHandler): """ create a new visulisation + register for events from Covise if not done yet + runmode RUN_GEO and RUN_OCT are ignored + update module parameter + exec the module """ assert negMsgHandler if runmode == RUN_ALL: _infoer.function = str(self.run) _infoer.write("go") if not hasattr(self, 'importModule'): return self.__update(negMsgHandler) PartColoredVis.run( self, runmode, negMsgHandler, self._module, self.fromRecreation) # self._module is not used! PartModuleVis.run(self, runmode, negMsgHandler) #self._sendMatrix() if self.params.coloringOption == RGB_COLOR: self.__sendColor()
def run(self, runmode, negMsgHandler=None): if os.getenv('VR_PREPARE_DEBUG_RUN'): print("coColorCreator.run") if runmode==RUN_ALL: _infoer.function = str(self.run) _infoer.write("go Part2DRawVis") self.__update(negMsgHandler) #if a variable is chosen, run PartColoredVis if self.params.variable!=None and self.params.variable!= 'Select a variable' and self.params.color == VARIABLE: # At the moment the collect might be executed twice. # The "pre-run"-disconnect of PartColoredVis does not work here, # because our collect is connected to a different port of the colors module (compared to all the other visualizers). colorExecuted = PartColoredVis.run(self, runmode, negMsgHandler, self._module) PartModuleVis.run(self, runmode, negMsgHandler) if self.params.color==MATERIAL: self.__sendMaterial() elif self.params.color==RGB_COLOR: self.__sendColor() self.__sendTransparency() if (self.params.shaderFilename != ""): self.__sendShader() self.__runChildren(runmode, negMsgHandler)
def run(self, runmode, negMsgHandler): """ create a new visulisation + register for events from Covise if not done yet + runmode RUN_GEO and RUN_OCT are ignored + update module parameter + exec the module """ assert negMsgHandler if runmode==RUN_ALL: _infoer.function = str(self.run) _infoer.write("go") if not hasattr(self, 'importModule'): return self.__update(negMsgHandler) PartModuleVis.run(self, runmode, negMsgHandler) PartColoredVis.run(self, runmode, negMsgHandler, self._module, self.fromRecreation ) # self._module is not used!
def run(self, runmode, negMsgHandler): """ create a new visulisation + register for events from Covise if not done yet + runmode RUN_GEO and RUN_OCT are ignored + update module parameter + exec the module """ assert negMsgHandler if runmode == RUN_ALL: _infoer.function = str(self.run) _infoer.write("go") if not hasattr(self, 'importModule'): return self.__update(negMsgHandler) if not self.params.variable == 'unset': PartColoredVis.run(self, runmode, negMsgHandler, self._module, self.fromRecreation) PartModuleVis.run(self, runmode, negMsgHandler)
def run(self, runmode, negMsgHandler): return # TODO: probe is not working at the moment: stuck in saveExecute (data or grid missing) """ create a new visulisation + register for events from Covise if not done yet + runmode RUN_GEO and RUN_OCT are ignored + update module parameter + exec the tracer module """ assert negMsgHandler if runmode==RUN_ALL: _infoer.function = str(self.run) _infoer.write("go") if not hasattr(self, 'importModule'): return self.__update(negMsgHandler) PartColoredVis.run(self, runmode, negMsgHandler, self._module, self.fromRecreation ) PartInteractorVis.run(self, runmode, negMsgHandler) PartModuleVis.run(self, runmode, negMsgHandler)
def run(self, runmode, negMsgHandler): if os.getenv('VR_PREPARE_DEBUG_RUN'): print("PartIsoSurfaceVis.run") """ create a new visulisation + register for events from Covise if not done yet + runmode RUN_GEO and RUN_OCT are ignored + update module parameter + exec the tracer module """ assert negMsgHandler if runmode==RUN_ALL: _infoer.function = str(self.run) _infoer.write("go") if not hasattr(self, 'importModule'): return self.__update(negMsgHandler) PartColoredVis.run(self, runmode, negMsgHandler, self._module, self.fromRecreation ) PartModuleVis.run(self, runmode, negMsgHandler)