BTK  0.3dev.0
Open-source library to visualize/process biomechanical data
List of all members | Static Public Member Functions | Protected Member Functions
btk::ForcePlatformType< t, r, c > Class Template Reference

Convenient class to represent a concrete force platform. More...

#include <btkForcePlatformTypes.h>

Inheritance diagram for btk::ForcePlatformType< t, r, c >:
Inheritance graph
[legend]

Static Public Member Functions

static ForcePlatform::Pointer New ()
 
- Static Public Member Functions inherited from btk::ForcePlatform
static NullPointer Null ()
 
- Static Public Member Functions inherited from btk::DataObject
static NullPointer Null ()
 

Protected Member Functions

 ForcePlatformType ()
 
- Protected Member Functions inherited from btk::ForcePlatform
 ForcePlatform ()
 
- Protected Member Functions inherited from btk::DataObject
 DataObject ()
 
 DataObject (const DataObject &toCopy)
 
virtual ~DataObject ()
 
- Protected Member Functions inherited from btk::Object
 Object ()
 
 Object (const Object &toCopy)
 
virtual ~Object ()
 

Additional Inherited Members

- Public Types inherited from btk::ForcePlatform
typedef Eigen::Matrix< double,
Eigen::Dynamic, Eigen::Dynamic > 
CalMatrix
 
typedef
AnalogCollection::ConstIterator 
ConstIterator
 
typedef btkSharedPtr< const
ForcePlatform
ConstPointer
 
typedef Eigen::Matrix< double, 3, 1 > Corner
 
typedef AnalogCollection::Iterator Iterator
 
typedef btkNullPtr< ForcePlatformNullPointer
 
typedef Eigen::Matrix< double, 3, 1 > Origin
 
typedef btkSharedPtr
< ForcePlatform
Pointer
 
- Public Types inherited from btk::DataObject
typedef btkSharedPtr< const
DataObject
ConstPointer
 
typedef btkNullPtr< DataObjectNullPointer
 
typedef btkSharedPtr< DataObjectPointer
 
- Public Types inherited from btk::Object
typedef btkSharedPtr< const
Object
ConstPointer
 
typedef btkSharedPtr< ObjectPointer
 
- Public Member Functions inherited from btk::ForcePlatform
Iterator Begin ()
 
ConstIterator Begin () const
 
Pointer Clone () const
 
Iterator End ()
 
ConstIterator End () const
 
CalMatrixGetCalMatrix ()
 
const CalMatrixGetCalMatrix () const
 
Analog::Pointer GetChannel (int idx) const
 
int GetChannelNumber () const
 
AnalogCollection::Pointer GetChannels () const
 
const Corner GetCorner (int idx) const
 
CornersGetCorners ()
 
const CornersGetCorners () const
 
OriginGetOrigin ()
 
const OriginGetOrigin () const
 
int GetType () const
 
void SetCalMatrix (const CalMatrix &cal)
 
void SetChannel (int idx, Analog::Pointer c)
 
void SetCorner (int row, int col, double v)
 
void SetCorner (int idx, double x, double y, double z)
 
void SetCorner (int idx, const Corner &c)
 
void SetCorners (const Corners &c)
 
void SetOrigin (double x, double y, double z)
 
void SetOrigin (const Origin &o)
 
virtual ~ForcePlatform ()
 
- Public Member Functions inherited from btk::DataObject
DataObjectGetParent () const
 
bool HasParent () const
 
void Modified ()
 
void SetParent (DataObject *parent)
 
void Update ()
 
- Public Member Functions inherited from btk::Object
unsigned long int GetTimestamp () const
 
- Public Attributes inherited from btk::ForcePlatform
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
typedef Eigen::Matrix< double, 3, 4 > 
Corners
 
- Protected Attributes inherited from btk::ForcePlatform
CalMatrix m_CalMatrix
 
AnalogCollection::Pointer m_Channels
 
int m_Type
 
- Protected Attributes inherited from btk::Object
unsigned long int m_Timestamp
 

Detailed Description

template<int t, int r, int c>
class btk::ForcePlatformType< t, r, c >

Convenient class to represent a concrete force platform.

Template Parameters
tForce platform type
rNumber of rows in the calibration matrix
cNumber of columns in the calibration matrix. Set also the number of channels.

This class helps to create a configured force platform (ForcePlatform::Pointer object) with required number of channels, calibration matrix, etc. The list of supported force platforms is presented below.

Several force platform types are already provided:

Warning
The use of the New() static method will return a ForcePlatofrm::Pointer object.

Constructor & Destructor Documentation

template<int t, int r, int c>
btk::ForcePlatformType< t, r, c >::ForcePlatformType ( )
protected

Constructor.

Member Function Documentation

template<int t, int r, int c>
Pointer btk::ForcePlatformType< t, r, c >::New ( )
inlinestatic

Creates a smart pointer associated with a ForcePlatformType object.