Beispiel #1
0
    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())
Beispiel #2
0
    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())
Beispiel #3
0
    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())
Beispiel #4
0
    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())
Beispiel #5
0
    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())
Beispiel #6
0
    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())
Beispiel #7
0
 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())
Beispiel #8
0
 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())