◆ __init__()
def ffeatools.modules.FFEA_trajectory.FFEA_traj_blob.__init__ |
( |
|
self, |
|
|
|
num_nodes = 0 |
|
) |
| |
◆ calc_centroid_trajectory()
def ffeatools.modules.FFEA_trajectory.FFEA_traj_blob.calc_centroid_trajectory |
( |
|
self, |
|
|
|
subblob_index = -1 |
|
) |
| |
Calculate the centroid (average position of all the nodes) of a
given blob. You can also specify the index of a sub-blob, and get
the centroid of that sub-blob.
In: self, subblob index
Out: a 2-d array, which is [x,y,z] wide and as tall as the number
of nodes in your blob\sub-blob.
◆ reset()
def ffeatools.modules.FFEA_trajectory.FFEA_traj_blob.reset |
( |
|
self | ) |
|
◆ set_frame()
def ffeatools.modules.FFEA_trajectory.FFEA_traj_blob.set_frame |
( |
|
self, |
|
|
|
frame |
|
) |
| |
◆ set_subblob()
def ffeatools.modules.FFEA_trajectory.FFEA_traj_blob.set_subblob |
( |
|
self, |
|
|
|
pin |
|
) |
| |
Create a subblob from a pin object.
In: self, the pin object
Out: the ID of the generated subblob.
◆ frame
ffeatools.modules.FFEA_trajectory.FFEA_traj_blob.frame |
◆ motion_state
ffeatools.modules.FFEA_trajectory.FFEA_traj_blob.motion_state |
◆ num_nodes
ffeatools.modules.FFEA_trajectory.FFEA_traj_blob.num_nodes |
◆ num_subblobs
ffeatools.modules.FFEA_trajectory.FFEA_traj_blob.num_subblobs |
◆ subblob
ffeatools.modules.FFEA_trajectory.FFEA_traj_blob.subblob |
The documentation for this class was generated from the following file: