|
Panda3D
|
Public Member Functions | |
| __init__ (self, vrpnClient, device) | |
| __getitem__ (self, index) | |
| __len__ (self) | |
| __repr__ (self) | |
| disable (self) | |
| enable (self) | |
| getName (self) | |
| getNodePath (self) | |
| normalize (self, rawValue, minVal=-1, maxVal=1, sf=1.0) | |
| normalizeChannel (self, chan, minVal=-1, maxVal=1, sf=1.0) | |
| normalizeWithoutCentering (self, val, minVal=-1, maxVal=1) | |
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 | |
| analogCenter = self._analogCenter.getValue() | |
| analogDeadband = self._analogDeadband.getValue() | |
| analogMax = self._analogMax.getValue() | |
| analogMin = self._analogMin.getValue() | |
| analogRange = self.analogMax - self.analogMin | |
| str | name = 'DirectAnalogs-' + repr(DirectAnalogs.analogCount) |
| nodePath = self._base.dataRoot.attachNewNode(self) | |
Static Public Attributes | |
| int | analogCount = 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 = {} |
Static Protected Attributes | |
| _analogCenter = ConfigVariableDouble('vrpn-analog-center', ANALOG_CENTER) | |
| _analogDeadband = ConfigVariableDouble('vrpn-analog-deadband', ANALOG_DEADBAND) | |
| _analogMax = ConfigVariableDouble('vrpn-analog-max', ANALOG_MAX) | |
| _analogMin = ConfigVariableDouble('vrpn-analog-min', ANALOG_MIN) | |
Additional Inherited Members | |
Protected Member Functions inherited from DirectObject | |
| _addTask (self, task) | |
| _clearTask (self, task) | |
| __init__ | ( | self, | |
| vrpnClient, | |||
| device ) |
| __getitem__ | ( | self, | |
| index ) |
| __len__ | ( | self | ) |
| __repr__ | ( | self | ) |
| disable | ( | self | ) |
| enable | ( | self | ) |
| getName | ( | self | ) |
| getNodePath | ( | self | ) |
| normalize | ( | self, | |
| rawValue, | |||
| minVal = -1, | |||
| maxVal = 1, | |||
| sf = 1.0 ) |
| normalizeChannel | ( | self, | |
| chan, | |||
| minVal = -1, | |||
| maxVal = 1, | |||
| sf = 1.0 ) |
| normalizeWithoutCentering | ( | self, | |
| val, | |||
| minVal = -1, | |||
| maxVal = 1 ) |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |
| analogCenter = self._analogCenter.getValue() |
|
static |
| analogDeadband = self._analogDeadband.getValue() |
| analogMax = self._analogMax.getValue() |
| analogMin = self._analogMin.getValue() |
| analogRange = self.analogMax - self.analogMin |
| str name = 'DirectAnalogs-' + repr(DirectAnalogs.analogCount) |
| nodePath = self._base.dataRoot.attachNewNode(self) |