Panda3D
Public Member Functions | Public Attributes | Static Public Attributes

DirectAnalogs Class Reference

Inherits direct::showbase::DirectObject::DirectObject.

List of all members.

Public Member Functions

def __init__
def __getitem__
def __len__
def __repr__
def disable
def enable
def getName
def getNodePath
def normalize
def normalizeChannel
def normalizeWithoutCentering

Public Attributes

 analogCenter
 analogDeadband
 analogMax
 analogMin
 analogRange
 name
 nodePath

Static Public Attributes

int analogCount = 0

Constructor & Destructor Documentation

def __init__ (   self,
  vrpnClient,
  device 
)

Member Function Documentation

def __getitem__ (   self,
  index 
)
def __len__ (   self)
def __repr__ (   self)
def disable (   self)
def enable (   self)
def getName (   self)
def getNodePath (   self)
def normalize (   self,
  rawValue,
  minVal = -1,
  maxVal = 1,
  sf = 1.0 
)
def normalizeChannel (   self,
  chan,
  minVal = -1,
  maxVal = 1,
  sf = 1.0 
)
def normalizeWithoutCentering (   self,
  val,
  minVal = -1,
  maxVal = 1 
)

Member Data Documentation

int analogCount = 0 [static]
 All Classes Namespaces Functions Variables Properties