direct.directdevices.DirectDeviceManager

from direct.directdevices.DirectDeviceManager import DirectAnalogs, DirectButtons, DirectDeviceManager, DirectDials, DirectTimecodeReader, DirectTracker

Class used to create and control VRPN devices.

Inheritance diagram

Inheritance diagram of direct.directdevices.DirectDeviceManager

class DirectAnalogs(vrpnClient, device)[source]

Bases: panda3d.core.AnalogNode, direct.showbase.DirectObject.DirectObject

__init__(self, vrpnClient, device)[source]
analogCount = 0
disable(self)[source]
enable(self)[source]
getName(self)[source]
getNodePath(self)[source]
normalize(self, rawValue, minVal=- 1, maxVal=1, sf=1.0)[source]
normalizeChannel(self, chan, minVal=- 1, maxVal=1, sf=1.0)[source]
normalizeWithoutCentering(self, val, minVal=- 1, maxVal=1)[source]
class DirectButtons(vrpnClient, device)[source]

Bases: panda3d.core.ButtonNode, direct.showbase.DirectObject.DirectObject

__init__(self, vrpnClient, device)[source]
buttonCount = 0
disable(self)[source]
enable(self)[source]
getName(self)[source]
getNodePath(self)[source]
class DirectDeviceManager(server=None)[source]

Bases: panda3d.vrpn.VrpnClient, direct.showbase.DirectObject.DirectObject

__init__(self, server=None)[source]
createAnalogs(self, device)[source]
createButtons(self, device)[source]
createDials(self, device)[source]
createTimecodeReader(self, device)[source]
createTracker(self, device)[source]
class DirectDials(vrpnClient, device)[source]

Bases: panda3d.core.DialNode, direct.showbase.DirectObject.DirectObject

__init__(self, vrpnClient, device)[source]
dialCount = 0
disable(self)[source]
enable(self)[source]
getName(self)[source]
getNodePath(self)[source]
class DirectTimecodeReader(vrpnClient, device)[source]

Bases: panda3d.core.AnalogNode, direct.showbase.DirectObject.DirectObject

__init__(self, vrpnClient, device)[source]
disable(self)[source]
enable(self)[source]
getName(self)[source]
getNodePath(self)[source]
getTime(self)[source]
timecodeReaderCount = 0
class DirectTracker(vrpnClient, device)[source]

Bases: panda3d.core.TrackerNode, direct.showbase.DirectObject.DirectObject

__init__(self, vrpnClient, device)[source]
disable(self)[source]
enable(self)[source]
getName(self)[source]
getNodePath(self)[source]
trackerCount = 0