BTK Python wrapper
0.3dev.0
Python bindings for the Biomechanical ToolKit library (BTK)
|
Downsample a collection of wrenches. More...
Public Member Functions | |
def | GetInput |
def | GetInputNumber |
def | GetOutput |
def | GetOutputNumber |
def | GetTimestamp |
def | GetUpDownRatio |
def | GetValidInputNumber |
def | ResetState |
def | SetInput |
def | SetUpDownRatio |
def | Update |
Downsample a collection of wrenches.
Downsample data stored in a collection of wrenches. To downsample data, you need to set the up/down sample ratio using the method SetUpDownRatio(). The given value is an integer corresponding to the ratio used to extract only the value of interest. For example, if you have 200 frames and a ratio of 10, then 20 frames will be extracted (one frame each 10 frames).
def btk.btkWrenchCollectionDownsampleFilter.GetInput | ( | self | ) |
GetInput(self) -> btkWrenchCollection Gets the input registered with this process.
def btk.btkWrenchCollectionDownsampleFilter.GetInputNumber | ( | self | ) |
GetInputNumber(self) -> int Returns the number of inputs.
def btk.btkWrenchCollectionDownsampleFilter.GetOutput | ( | self | ) |
GetOutput(self) -> btkWrenchCollection Returns the output created with this process.
def btk.btkWrenchCollectionDownsampleFilter.GetOutputNumber | ( | self | ) |
GetOutputNumber(self) -> int Returns the number of outputs.
def btk.btkWrenchCollectionDownsampleFilter.GetTimestamp | ( | self | ) |
GetTimestamp(self) -> unsigned long Returns the timestamp of the object.
def btk.btkWrenchCollectionDownsampleFilter.GetUpDownRatio | ( | self | ) |
GetUpDownRatio(self) -> int Gets the ratio used to downsample the data.
def btk.btkWrenchCollectionDownsampleFilter.GetValidInputNumber | ( | self | ) |
GetValidInputNumber(self) -> int Returns the number of inputs which are valid (i.e. not null).
def btk.btkWrenchCollectionDownsampleFilter.ResetState | ( | self | ) |
ResetState(self) Reset the state of the process. Usefull when an exception was thrown during the generation of the data.
def btk.btkWrenchCollectionDownsampleFilter.SetInput | ( | self, | args | ) |
SetInput(self, btkWrenchCollection) Sets the input required with this process.
def btk.btkWrenchCollectionDownsampleFilter.SetUpDownRatio | ( | self, | args | ) |
SetUpDownRatio(self, int) Sets the ratio used to downsample the data.
def btk.btkWrenchCollectionDownsampleFilter.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.