BTK
0.3dev.0
Open-source library to visualize/process biomechanical data
|
Interface to read Kistler DAT files. More...
#include <btkKistlerDATFileIO.h>
Public Types | |
typedef btkSharedPtr< const KistlerDATFileIO > | ConstPointer |
typedef btkSharedPtr < KistlerDATFileIO > | Pointer |
![]() | |
enum | ByteOrder { OrderNotApplicable = 0, IEEE_LittleEndian, VAX_LittleEndian, IEEE_BigEndian } |
typedef btkSharedPtr< const AcquisitionFileIO > | ConstPointer |
enum | FileType { TypeNotApplicable, ASCII, Binary } |
enum | InternalsUpdateOption { UpdateNotApplicable = 0, NoUpdate = UpdateNotApplicable, DataBasedUpdate = 1, MetaDataBasedUpdate = 2, FileFormatOption = 512 } |
typedef btkSharedPtr < AcquisitionFileIO > | Pointer |
enum | StorageFormat { StorageNotApplicable = 0, Float = -1, Integer = 1 } |
Public Member Functions | |
virtual bool | CanReadFile (const std::string &filename) |
virtual void | Read (const std::string &filename, Acquisition::Pointer output) |
![]() | |
virtual bool | CanWriteFile (const std::string &filename)=0 |
ByteOrder | GetByteOrder () const |
std::string | GetByteOrderAsString () const |
FileType | GetFileType () const |
int | GetInternalsUpdateOptions () const |
StorageFormat | GetStorageFormat () const |
std::string | GetStorageFormatAsString () const |
virtual const Extensions & | GetSupportedExtensions () const =0 |
bool | HasInternalsUpdateOption (int option) const |
void | SetByteOrder (ByteOrder b) |
void | SetInternalsUpdateOptions (int options) |
void | SetStorageFormat (StorageFormat s) |
virtual void | Write (const std::string &filename, Acquisition::Pointer input)=0 |
Static Public Member Functions | |
static Pointer | New () |
![]() | |
static bool | HasReadOperation () |
static bool | HasWriteOperation () |
Protected Member Functions | |
KistlerDATFileIO () | |
![]() | |
AcquisitionFileIO (FileType f=TypeNotApplicable, ByteOrder b=OrderNotApplicable, StorageFormat s=StorageNotApplicable, int internalsUpdate=UpdateNotApplicable) | |
void | SetFileType (FileType f) |
virtual | ~AcquisitionFileIO () |
Additional Inherited Members | |
![]() | |
ByteOrder | m_ByteOrder |
FileType | m_FileType |
int | m_InternalsUpdate |
StorageFormat | m_StorageFormat |
Interface to read Kistler DAT files.
The DAT file format is used in Kistler systems and saved by the software BioWare.
WARNING: This file IO is totally experimental and based only on DAT files saved by BioWare 3. More data are needed to check with the new version of the software BioWare.
Smart pointer associated with a const KistlerDATFileIO object.
Smart pointer associated with a KistlerDATFileIO object.
|
protected |
Constructor.
|
virtual |
Check if the beginning of the file start by 0x 20 00 00 00. NOTE: Need to double check if this is a valid header key for the Kistler data. This check result from only a couple of files from the same source.
Implements btk::AcquisitionFileIO.
|
inlinestatic |
Create a KistlerDATFileIO object an return it as a smart pointer.
|
virtual |
Read the file designated by filename and fill output.
Implements btk::AcquisitionFileIO.