BTK
0.3dev.0
Open-source library to visualize/process biomechanical data
|
Base class for all type of force platform. More...
#include <btkForcePlatform.h>
Public Types | |
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< ForcePlatform > | NullPointer |
typedef Eigen::Matrix< double, 3, 1 > | Origin |
typedef btkSharedPtr < ForcePlatform > | Pointer |
Public Types inherited from btk::DataObject | |
typedef btkSharedPtr< const DataObject > | ConstPointer |
typedef btkNullPtr< DataObject > | NullPointer |
typedef btkSharedPtr< DataObject > | Pointer |
Public Types inherited from btk::Object | |
typedef btkSharedPtr< const Object > | ConstPointer |
typedef btkSharedPtr< Object > | Pointer |
Public Member Functions | |
Iterator | Begin () |
ConstIterator | Begin () const |
Pointer | Clone () const |
Iterator | End () |
ConstIterator | End () const |
CalMatrix & | GetCalMatrix () |
const CalMatrix & | GetCalMatrix () const |
Analog::Pointer | GetChannel (int idx) const |
int | GetChannelNumber () const |
AnalogCollection::Pointer | GetChannels () const |
const Corner | GetCorner (int idx) const |
Corners & | GetCorners () |
const Corners & | GetCorners () const |
Origin & | GetOrigin () |
const Origin & | GetOrigin () 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 | |
DataObject * | GetParent () const |
bool | HasParent () const |
void | Modified () |
void | SetParent (DataObject *parent) |
void | Update () |
Public Member Functions inherited from btk::Object | |
unsigned long int | GetTimestamp () const |
Static Public Member Functions | |
static NullPointer | Null () |
Static Public Member Functions inherited from btk::DataObject | |
static NullPointer | Null () |
Public Attributes | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef Eigen::Matrix< double, 3, 4 > | Corners |
Protected Member Functions | |
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 () |
Protected Attributes | |
CalMatrix | m_CalMatrix |
AnalogCollection::Pointer | m_Channels |
int | m_Type |
Protected Attributes inherited from btk::Object | |
unsigned long int | m_Timestamp |
Base class for all type of force platform.
This class is generic and doesn't know its type, nor the number of analog channels used. To use predefined force platform as proposed in the documentation of the C3D file format, check the following classes:
Type which represents a possible calibration matrix used with the force platform.
Const iterator for channels contained in the force platform object.
Smart pointer associated with a const ForcePlatform object.
Type which represents the coordinates of one corner.
Iterator for channels contained in the force platform object.
Special null pointer associated with a ForcePlatform object. This type should be used only internally to test the nullity of a smart pointer. See the static method Null() instead.
Type which represents the origin of the force platform.
Smart pointer associated with a ForcePlatform object.
|
inlinevirtual |
Empty destructor.
|
protected |
Constructor.
|
inline |
Returns an iterator to the beginning of the list of items.
|
inline |
Returns a const iterator to the beginning of the list of items.
|
inline |
Clones the object and return it as new smart pointer.
|
inline |
Returns an iterator just past the last item.
|
inline |
Returns a const iterator just past the last item.
|
inline |
Returns calibration marix.
|
inline |
Returns the calibration matrix.
|
inline |
Returns the channel at the index idx.
|
inline |
Returns the number of channels.
|
inline |
Returns force platform's channels.
const ForcePlatform::Corner btk::ForcePlatform::GetCorner | ( | int | idx | ) | const |
Returns the corner at index idx.
|
inline |
Returns corners.
|
inline |
Returns corners.
|
inline |
Returns the origin of the force platform.
|
inline |
Returns the origin of the force platform.
|
inline |
Returns the type of the force platform.
|
inlinestatic |
Static function to return a null pointer.
void btk::ForcePlatform::SetCalMatrix | ( | const CalMatrix & | cal | ) |
Set the calibration matrix
void btk::ForcePlatform::SetChannel | ( | int | idx, |
Analog::Pointer | c | ||
) |
Sets the channel at the index idx by the object c.
void btk::ForcePlatform::SetCorner | ( | int | row, |
int | col, | ||
double | v | ||
) |
Sets the coordinate at position row and col with the value v.
void btk::ForcePlatform::SetCorner | ( | int | idx, |
double | x, | ||
double | y, | ||
double | z | ||
) |
Set the coordinates of the corner idx.
void btk::ForcePlatform::SetCorner | ( | int | idx, |
const Corner & | c | ||
) |
Set the corner idx by c.
void btk::ForcePlatform::SetCorners | ( | const Corners & | c | ) |
Set corners by c.
void btk::ForcePlatform::SetOrigin | ( | double | x, |
double | y, | ||
double | z | ||
) |
Sets the origin.
void btk::ForcePlatform::SetOrigin | ( | const Origin & | o | ) |
Sets the origin.
btk::ForcePlatform::Corners |
Type which represents the coordinates of the four corners of the force platform.
|
protected |
Calibrage matrix which could be used to correct cross talk between channels.
|
protected |
Channels of the force platform.
|
protected |
Type of the force platform. Used to determine necessary data for a particular force platform model.