BTK Python wrapper
0.3dev.0
Python bindings for the Biomechanical ToolKit library (BTK)
|
Calcule the wrench of the center of the force platform data, expressed in the global frame (by default). More...
Public Member Functions | |
def | GetInput |
def | GetInputNumber |
def | GetOutput |
def | GetOutputNumber |
def | GetTimestamp |
def | GetTransformToGlobalFrame |
def | GetValidInputNumber |
def | ResetState |
def | SetInput |
def | SetTransformToGlobalFrame |
def | Update |
Calcule the wrench of the center of the force platform data, expressed in the global frame (by default).
Based on the given collection of forceplate set in input, this filter transform the associated analog channels in forces and moments. This transformation take into account the type of each force platform. You can use the method btkForcePlatformWrenchFilter::SetTransformToGlobalFrame() to have the wrench expressed in the frame of the force platform.
def btk.btkForcePlatformWrenchFilter.GetInput | ( | self | ) |
GetInput(self) -> btkForcePlatformCollection Gets the input registered with this process.
def btk.btkForcePlatformWrenchFilter.GetInputNumber | ( | self | ) |
GetInputNumber(self) -> int Returns the number of inputs.
def btk.btkForcePlatformWrenchFilter.GetOutput | ( | self | ) |
GetOutput(self) -> btkWrenchCollection Returns the output created with this process.
def btk.btkForcePlatformWrenchFilter.GetOutputNumber | ( | self | ) |
GetOutputNumber(self) -> int Returns the number of outputs.
def btk.btkForcePlatformWrenchFilter.GetTimestamp | ( | self | ) |
GetTimestamp(self) -> unsigned long Returns the timestamp of the object.
def btk.btkForcePlatformWrenchFilter.GetTransformToGlobalFrame | ( | self | ) |
GetTransformToGlobalFrame(self) -> bool Returns the state of the activation for the computation of the wrenches in the global frame.
def btk.btkForcePlatformWrenchFilter.GetValidInputNumber | ( | self | ) |
GetValidInputNumber(self) -> int Returns the number of inputs which are valid (i.e. not null).
def btk.btkForcePlatformWrenchFilter.ResetState | ( | self | ) |
ResetState(self) Reset the state of the process. Usefull when an exception was thrown during the generation of the data.
def btk.btkForcePlatformWrenchFilter.SetInput | ( | self, | args | ) |
SetInput(self, btkForcePlatform) SetInput(self, btkForcePlatformCollection) Sets the input required with this process.
def btk.btkForcePlatformWrenchFilter.SetTransformToGlobalFrame | ( | self, | |
activation = False |
|||
) |
SetTransformToGlobalFrame(self, activation=False) SetTransformToGlobalFrame(self) Activate or deactivate the computation of the wrenches in the global frame.
def btk.btkForcePlatformWrenchFilter.Update | ( | self | ) |
Update(self) Update the pipeline and then all the data inside. Recursive method which 1) determines the processes to update 2) generate the data by using the GenerateData() method.