BTK
0.3dev.0
Open-source library to visualize/process biomechanical data
|
Extracts force platform data from a btk::Acquisition object. More...
#include <btkForcePlatformsExtractor.h>
Public Types | |
typedef btkSharedPtr< const ForcePlatformsExtractor > | ConstPointer |
typedef btkSharedPtr < ForcePlatformsExtractor > | Pointer |
Public Types inherited from btk::ProcessObject | |
typedef btkSharedPtr< const ProcessObject > | ConstPointer |
typedef btkSharedPtr < ProcessObject > | Pointer |
Public Types inherited from btk::Object | |
typedef btkSharedPtr< const Object > | ConstPointer |
typedef btkSharedPtr< Object > | Pointer |
Public Member Functions | |
Acquisition::Pointer | GetInput () |
ForcePlatformCollection::Pointer | GetOutput () |
void | SetInput (Acquisition::Pointer input) |
Public Member Functions inherited from btk::ProcessObject | |
int | GetInputNumber () const |
int | GetOutputNumber () const |
int | GetValidInputNumber () const |
void | ResetState () |
void | Update () |
Public Member Functions inherited from btk::Object | |
unsigned long int | GetTimestamp () const |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
ForcePlatformsExtractor () | |
virtual void | GenerateData () |
Acquisition::Pointer | GetInput (int idx) |
ForcePlatformCollection::Pointer | GetOutput (int idx) |
virtual DataObject::Pointer | MakeOutput (int idx) |
Protected Member Functions inherited from btk::ProcessObject | |
int | GetInputIndex (DataObject::Pointer input) |
DataObject::Pointer | GetNthInput (int idx) |
DataObject::ConstPointer | GetNthInput (int idx) const |
DataObject::Pointer | GetNthOutput (int idx) |
DataObject::ConstPointer | GetNthOutput (int idx) const |
int | GetOutputIndex (DataObject::Pointer output) |
bool | IsModified () const |
void | Modified () |
ProcessObject () | |
void | SetInputNumber (int num) |
virtual void | SetNthInput (int idx, DataObject::Pointer input) |
virtual void | SetNthOutput (int idx, DataObject::Pointer output) |
void | SetOutputNumber (int num) |
virtual | ~ProcessObject () |
Protected Member Functions inherited from btk::Object | |
Object () | |
Object (const Object &toCopy) | |
virtual | ~Object () |
Additional Inherited Members | |
Protected Attributes inherited from btk::Object | |
unsigned long int | m_Timestamp |
Extracts force platform data from a btk::Acquisition object.
Based on the content of the metadata FORCE_PLATFORM and the analog channels stored in the given acquisition, this filter creates a collection of btk::ForcePlatform returned in the output.
Depending of the type of the force platform, the analog channels' data are transformed to take into account a calibration matrix.
The metadata FORCE_PLATFORM must be structured as the following:
This filter is able to manage the following force platform's type:
However, some other types are not yet supported due to the lack of information and data on them:
Smart pointer associated with a const ForcePlatformsExtractor object.
Smart pointer associated with a ForcePlatformsExtractor object.
|
protected |
Constructor. Sets the number of inputs and outputs to 1.
|
protectedvirtual |
Generates the outputs' data.
Implements btk::ProcessObject.
|
inline |
Gets the input registered with this process.
|
inlineprotected |
Gets the input registered with this process at the index idx.
|
inline |
Gets the output created with this process.
|
inlineprotected |
Gets the output created with this process at the index idx.
|
protectedvirtual |
Creates a ForcePlatformCollection:Pointer object and return it as a DataObject::Pointer.
Implements btk::ProcessObject.
|
inlinestatic |
Creates a smart pointer associated with a ForcePlatformsExtractor object.
|
inline |
Sets the input required with this process.