BTK  0.3dev.0
Open-source library to visualize/process biomechanical data
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
btk::ForcePlatformsExtractor Class Reference

Extracts force platform data from a btk::Acquisition object. More...

#include <btkForcePlatformsExtractor.h>

Inheritance diagram for btk::ForcePlatformsExtractor:
Inheritance graph
[legend]

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< ObjectPointer
 

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
 

Detailed Description

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:

Member Typedef Documentation

Smart pointer associated with a const ForcePlatformsExtractor object.

Smart pointer associated with a ForcePlatformsExtractor object.

Constructor & Destructor Documentation

btk::ForcePlatformsExtractor::ForcePlatformsExtractor ( )
protected

Constructor. Sets the number of inputs and outputs to 1.

Member Function Documentation

void btk::ForcePlatformsExtractor::GenerateData ( )
protectedvirtual

Generates the outputs' data.

Implements btk::ProcessObject.

Acquisition::Pointer btk::ForcePlatformsExtractor::GetInput ( )
inline

Gets the input registered with this process.

Acquisition::Pointer btk::ForcePlatformsExtractor::GetInput ( int  idx)
inlineprotected

Gets the input registered with this process at the index idx.

PointCollection::Pointer btk::ForcePlatformsExtractor::GetOutput ( )
inline

Gets the output created with this process.

PointCollection::Pointer btk::ForcePlatformsExtractor::GetOutput ( int  idx)
inlineprotected

Gets the output created with this process at the index idx.

DataObject::Pointer btk::ForcePlatformsExtractor::MakeOutput ( int  idx)
protectedvirtual

Creates a ForcePlatformCollection:Pointer object and return it as a DataObject::Pointer.

Implements btk::ProcessObject.

static Pointer btk::ForcePlatformsExtractor::New ( )
inlinestatic

Creates a smart pointer associated with a ForcePlatformsExtractor object.

void btk::ForcePlatformsExtractor::SetInput ( Acquisition::Pointer  input)
inline

Sets the input required with this process.