Ejemplo n.º 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())
Ejemplo n.º 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())
Ejemplo n.º 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())
Ejemplo n.º 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())
Ejemplo n.º 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())
Ejemplo n.º 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())
Ejemplo n.º 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())
Ejemplo n.º 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())