Panda3D
Public Member Functions | Public Attributes | List of all members
DisplayConnection Class Reference

Public Member Functions

def __init__ (self, qcm, serverName, port, msgHandler)
 
def getSwapReady (self)
 
def poll (self)
 
def sendCamFrustum (self, focalLength, filmSize, filmOffset)
 
def sendCamOffset (self, xyz, hpr)
 
def sendCommandString (self, commandString)
 
def sendExit (self)
 
def sendMoveCam (self, xyz, hpr)
 
def sendMoveNamedObject (self, xyz, hpr, scale, color, hidden, name)
 
def sendMoveSelected (self, xyz, hpr, scale)
 
def sendNamedMovementDone (self)
 
def sendSwapNow (self)
 
def sendTimeData (self, frameCount, frameTime, dt)
 

Public Attributes

 cw
 
 msgHandler
 
 qcr
 
 tcpConn
 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  qcm,
  serverName,
  port,
  msgHandler 
)

Member Function Documentation

◆ getSwapReady()

def getSwapReady (   self)

◆ poll()

def poll (   self)
Non blocking task to read all available datagrams 

◆ sendCamFrustum()

def sendCamFrustum (   self,
  focalLength,
  filmSize,
  filmOffset 
)

◆ sendCamOffset()

def sendCamOffset (   self,
  xyz,
  hpr 
)

◆ sendCommandString()

def sendCommandString (   self,
  commandString 
)

◆ sendExit()

def sendExit (   self)

◆ sendMoveCam()

def sendMoveCam (   self,
  xyz,
  hpr 
)

◆ sendMoveNamedObject()

def sendMoveNamedObject (   self,
  xyz,
  hpr,
  scale,
  color,
  hidden,
  name 
)

◆ sendMoveSelected()

def sendMoveSelected (   self,
  xyz,
  hpr,
  scale 
)

◆ sendNamedMovementDone()

def sendNamedMovementDone (   self)

◆ sendSwapNow()

def sendSwapNow (   self)

◆ sendTimeData()

def sendTimeData (   self,
  frameCount,
  frameTime,
  dt 
)

Member Data Documentation

◆ cw

cw

◆ msgHandler

msgHandler

◆ qcr

qcr

◆ tcpConn

tcpConn