Panda3D

Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | Protected Attributes | List of all members
DirectTimecodeReader Class Reference
Inheritance diagram for DirectTimecodeReader:

## Public Member Functions
| __init__ (self, vrpnClient, device)
| __repr__ (self)
| disable (self)
| enable (self)
| getName (self)
| getNodePath (self)
| getTime (self)
Public Member Functions inherited from DirectObject
| __init__ (self)
| accept (self, event, method, extraArgs=[])
| acceptOnce (self, event, method, extraArgs=[])
| addTask (self, *args, **kwargs)
| detectLeaks (self)
| doMethodLater (self, *args, **kwargs)
| getAllAccepting (self)
| ignore (self, event)
| ignoreAll (self)
| isAccepting (self, event)
| isIgnoring (self, event)
| removeAllTasks (self)
| removeTask (self, taskOrName)

## Public Attributes
int | frames = 0
int | hours = 0
int | minutes = 0
tuple | name
| nodePath = self._base.dataRoot.attachNewNode(self)
int | seconds = 0
tuple | totalSeconds

## Static Public Attributes
int | timecodeReaderCount = 0
Static Public Attributes inherited from DirectObject
| accept_once = acceptOnce
| add_task = addTask
| detect_leaks = detectLeaks
| do_method_later = doMethodLater
| get_all_accepting = getAllAccepting
| ignore_all = ignoreAll
| is_accepting = isAccepting
| is_ignoring = isIgnoring
| remove_all_tasks = removeAllTasks
| remove_task = removeTask

## Protected Attributes
| _base = base
Protected Attributes inherited from DirectObject
dict | _taskList = {}

## Additional Inherited Members
Protected Member Functions inherited from DirectObject
| _addTask (self, task)
| _clearTask (self, task)

## Constructor & Destructor Documentation

## ◆ __init__()

__init__ | ( |  | self,
|  |  | vrpnClient,
|  |  | device )

## Member Function Documentation

## ◆ __repr__()

__repr__ | ( |  | self | ) |

## ◆ disable()

disable | ( |  | self | ) |

## ◆ enable()

enable | ( |  | self | ) |

## ◆ getName()

getName | ( |  | self | ) |

## ◆ getNodePath()

getNodePath | ( |  | self | ) |

## ◆ getTime()

getTime | ( |  | self | ) |

## Member Data Documentation

## ◆ _base

_base = base
| protected

## ◆ frames

frames = 0

## ◆ hours

hours = 0

## ◆ minutes

minutes = 0

## ◆ name

tuple name

Initial value:
= ('DirectTimecodeReader-' +
repr(DirectTimecodeReader.timecodeReaderCount))

## ◆ nodePath

nodePath = self._base.dataRoot.attachNewNode(self)

## ◆ seconds

seconds = 0

## ◆ timecodeReaderCount

int timecodeReaderCount = 0
| static

## ◆ totalSeconds

totalSeconds

Initial value:
= ((self.hours * 3600) +
(self.minutes * 60) +
self.seconds +
(self.frames / 30.0))