Panda3D
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
DirectFastrak Class Reference
Inheritance diagram for DirectFastrak:
DirectObject

Public Member Functions

def __init__ (self, device='Tracker0', nodePath=base.direct.camera)
 
def destroy (self)
 
def disable (self)
 
def enable (self)
 
def fastrakUpdate (self)
 
def updateTask (self, state)
 
- Public Member Functions inherited from DirectObject
def __init__ (self)
 
def accept (self, event, method, extraArgs=[])
 
def acceptOnce (self, event, method, extraArgs=[])
 
def addTask (self, *args, **kwargs)
 
def detectLeaks (self)
 
def doMethodLater (self, *args, **kwargs)
 
def getAllAccepting (self)
 
def ignore (self, event)
 
def ignoreAll (self)
 
def isAccepting (self, event)
 
def isIgnoring (self, event)
 
def removeAllTasks (self)
 
def removeTask (self, taskOrName)
 

Public Attributes

 device
 
 deviceNo
 
 name
 
 tracker
 
 trackerPos
 
 updateFunc
 

Static Public Attributes

int fastrakCount = 0
 
 notify = DirectNotifyGlobal.directNotify.newCategory('DirectFastrak')
 
- Static Public Attributes inherited from DirectObject
def accept_once = acceptOnce
 
def add_task = addTask
 
def detect_leaks = detectLeaks
 
def do_method_later = doMethodLater
 
def get_all_accepting = getAllAccepting
 
def ignore_all = ignoreAll
 
def is_accepting = isAccepting
 
def is_ignoring = isIgnoring
 
def remove_all_tasks = removeAllTasks
 
def remove_task = removeTask
 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  device = 'Tracker0',
  nodePath = base.direct.camera 
)

Member Function Documentation

◆ destroy()

def destroy (   self)

◆ disable()

def disable (   self)

◆ enable()

def enable (   self)

◆ fastrakUpdate()

def fastrakUpdate (   self)

◆ updateTask()

def updateTask (   self,
  state 
)

Member Data Documentation

◆ device

device

◆ deviceNo

deviceNo

◆ fastrakCount

int fastrakCount = 0
static

◆ name

name

◆ notify

notify = DirectNotifyGlobal.directNotify.newCategory('DirectFastrak')
static

◆ tracker

tracker

◆ trackerPos

trackerPos

◆ updateFunc

updateFunc