def sendSmokeStatus(self): """ send status of smoke to cover """ _infoer.function = str(self.sendSmokeStatus) _infoer.write("") if self.keyRegistered(): _infoer.function = str(self.sendSmokeStatus) _infoer.write("send") msg = coGRObjVisMsg( coGRMsg.SMOKE_VISIBLE, self.covise_key, self.params.showSmoke ) covise.sendRendMsg(msg.c_str())
def sendInteractorPosibility(self): """ send usability of interactor msg to cover """ _infoer.function = str(self.sendInteractorPosibility) _infoer.write("") if self.keyRegistered(): _infoer.function = str(self.sendInteractorPosibility) _infoer.write("send") msg = coGRObjVisMsg( coGRMsg.INTERACTOR_USED, self.covise_key, self.params.use2DPartKey==None ) covise.sendRendMsg(msg.c_str())
def sendInteractorStatus(self): """ send visibility of interactor msg to cover """ _infoer.function = str(self.sendInteractorStatus) _infoer.write("") if self.keyRegistered(): _infoer.function = str(self.sendInteractorStatus) _infoer.write("send") msg = coGRObjVisMsg( coGRMsg.INTERACTOR_VISIBLE, self.covise_key, self.params.showInteractor ) covise.sendRendMsg(msg.c_str())
def sendSmokeStatus(self): """ send status of smoke to cover """ _infoer.function = str(self.sendSmokeStatus) _infoer.write("") if self.keyRegistered(): _infoer.function = str(self.sendSmokeStatus) _infoer.write("send") msg = coGRObjVisMsg(coGRMsg.SMOKE_VISIBLE, self.covise_key, self.params.showSmoke) covise.sendRendMsg(msg.c_str())
def sendInteractorPosibility(self): """ send usability of interactor msg to cover """ _infoer.function = str(self.sendInteractorPosibility) _infoer.write("") if self.keyRegistered(): _infoer.function = str(self.sendInteractorPosibility) _infoer.write("send") msg = coGRObjVisMsg(coGRMsg.INTERACTOR_USED, self.covise_key, self.params.use2DPartKey == None) covise.sendRendMsg(msg.c_str())
def sendInteractorStatus(self): """ send visibility of interactor msg to cover """ _infoer.function = str(self.sendInteractorStatus) _infoer.write("") if self.keyRegistered(): _infoer.function = str(self.sendInteractorStatus) _infoer.write("send") msg = coGRObjVisMsg(coGRMsg.INTERACTOR_VISIBLE, self.covise_key, self.params.showInteractor) covise.sendRendMsg(msg.c_str())
def sendVisibility(self): """ send visibility msg to cover """ if not self.covise_key=='No key': msg = coGRObjVisMsg( coGRMsg.GEO_VISIBLE, self.covise_key, self.params.isVisible ) covise.sendRendMsg(msg.c_str())
def sendVisibility(self): """ send visibility msg to cover """ if not self.covise_key == 'No key': msg = coGRObjVisMsg(coGRMsg.GEO_VISIBLE, self.covise_key, self.params.isVisible) covise.sendRendMsg(msg.c_str())