Public Member Functions | |
def | __init__ (self, filename) |
def | createTokens (self, s) |
def | floatToken (self) |
def | intToken (self) |
def | onFrame (self, values) |
def | onHierarchy (self, root) |
def | onMotion (self, frames, dt) |
def | read (self) |
def | readHierarchy (self) |
def | readLine (self) |
def | readMotion (self) |
def | readNode (self) |
def | token (self) |
Public Attributes | |
fhandle | |
filename | |
linenr | |
tokenlist | |
Private Attributes | |
_nodestack | |
_numchannels | |
_root | |
Definition at line 26 of file bvh_broadcaster.py.
def bvh_broadcaster.BVHReader.__init__ | ( | self, | |
filename | |||
) |
Definition at line 27 of file bvh_broadcaster.py.
def bvh_broadcaster.BVHReader.createTokens | ( | self, | |
s | |||
) |
Populate the token list from the content of s.
Definition at line 228 of file bvh_broadcaster.py.
def bvh_broadcaster.BVHReader.floatToken | ( | self | ) |
Return the next token which must be a float.
Definition at line 182 of file bvh_broadcaster.py.
def bvh_broadcaster.BVHReader.intToken | ( | self | ) |
Return the next token which must be an int.
Definition at line 171 of file bvh_broadcaster.py.
def bvh_broadcaster.BVHReader.onFrame | ( | self, | |
values | |||
) |
Definition at line 48 of file bvh_broadcaster.py.
def bvh_broadcaster.BVHReader.onHierarchy | ( | self, | |
root | |||
) |
Definition at line 42 of file bvh_broadcaster.py.
def bvh_broadcaster.BVHReader.onMotion | ( | self, | |
frames, | |||
dt | |||
) |
Definition at line 45 of file bvh_broadcaster.py.
def bvh_broadcaster.BVHReader.read | ( | self | ) |
Read the entire file.
Definition at line 52 of file bvh_broadcaster.py.
def bvh_broadcaster.BVHReader.readHierarchy | ( | self | ) |
Read the skeleton hierarchy.
Definition at line 104 of file bvh_broadcaster.py.
def bvh_broadcaster.BVHReader.readLine | ( | self | ) |
Return the next line. Empty lines are skipped. If the end of the file has been reached, a StopIteration exception is thrown. The return value is the next line containing data (this will never be an empty string).
Definition at line 208 of file bvh_broadcaster.py.
def bvh_broadcaster.BVHReader.readMotion | ( | self | ) |
Read the motion samples.
Definition at line 62 of file bvh_broadcaster.py.
def bvh_broadcaster.BVHReader.readNode | ( | self | ) |
Read the data for a node.
Definition at line 120 of file bvh_broadcaster.py.
def bvh_broadcaster.BVHReader.token | ( | self | ) |
Return the next token.
Definition at line 193 of file bvh_broadcaster.py.
|
private |
Definition at line 37 of file bvh_broadcaster.py.
|
private |
Definition at line 40 of file bvh_broadcaster.py.
|
private |
Definition at line 36 of file bvh_broadcaster.py.
bvh_broadcaster.BVHReader.fhandle |
Definition at line 55 of file bvh_broadcaster.py.
bvh_broadcaster.BVHReader.filename |
Definition at line 29 of file bvh_broadcaster.py.
bvh_broadcaster.BVHReader.linenr |
Definition at line 33 of file bvh_broadcaster.py.
bvh_broadcaster.BVHReader.tokenlist |
Definition at line 31 of file bvh_broadcaster.py.