BTK
0.3dev.0
Open-source library to visualize/process biomechanical data
|
Calcule the wrench of the center of the force platform data, expressed in the global frame (by default). More...
#include <btkForcePlatformWrenchFilter.h>
Public Types | |
typedef btkSharedPtr< const ForcePlatformWrenchFilter > | ConstPointer |
typedef btkSharedPtr < ForcePlatformWrenchFilter > | 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 | |
ForcePlatformCollection::Pointer | GetInput () |
WrenchCollection::Pointer | GetOutput () |
bool | GetTransformToGlobalFrame () const |
void | SetInput (ForcePlatform::Pointer input) |
void | SetInput (ForcePlatformCollection::Pointer input) |
void | SetTransformToGlobalFrame (bool activation=false) |
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 | |
ForcePlatformWrenchFilter () | |
virtual void | GenerateData () |
ForcePlatformCollection::Pointer | GetInput (int idx) |
WrenchCollection::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 |
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 SetTransformToGlobalFrame() to have the wrench expressed in the frame of the force platform.
Smart pointer associated with a const ForcePlatformWrenchFilter object.
Smart pointer associated with a ForcePlatformWrenchFilter 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 |
Returns the input at the index idx.
|
inline |
Gets the output created with this process.
|
inlineprotected |
Returns the output at the index idx.
|
inline |
Returns the activation flag for the transformation in the global frame.
|
protectedvirtual |
Creates a WrenchCollection:Pointer object and return it as a DataObject::Pointer.
Implements btk::ProcessObject.
|
inlinestatic |
Creates a smart pointer associated with a ForcePlatformWrenchFilter object.
|
inline |
Sets the input required with this process. This input is transformed in a collection force platforms with a single force platform.
|
inline |
Sets the input required with this process.
void btk::ForcePlatformWrenchFilter::SetTransformToGlobalFrame | ( | bool | activation = false | ) |
Sets the flag to activate the transformation to the global frame.