BTK
0.3dev.0
Open-source library to visualize/process biomechanical data
|
Remove a possible analog offset to the selected analog channels. More...
#include <btkAnalogOffsetRemover.h>
Public Types | |
typedef btkSharedPtr< const AnalogOffsetRemover > | ConstPointer |
typedef btkSharedPtr < AnalogOffsetRemover > | 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 | |
Acquisition::Pointer | GetOffsetInput () |
Acquisition::Pointer | GetOutput () |
Acquisition::Pointer | GetRawInput () |
void | SetOffsetInput (Acquisition::Pointer input) |
void | SetRawInput (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 | |
AnalogOffsetRemover () | |
virtual void | GenerateData () |
Acquisition::Pointer | GetInput (int idx) |
Acquisition::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 |
Remove a possible analog offset to the selected analog channels.
Based on the given offset input (see the method SetOffsetInput()), each analog signals are averaged and removed from the raw input (see the method SetRawInput()). The analog signals set in the raw input which are not given to the offset input are not processed but will be available in the output.
Smart pointer associated with a const AnalogOffsetRemover object.
Smart pointer associated with a AnalogOffsetRemover object.
|
protected |
Constructor. Sets the number of inputs to 2 (raw and offset acquisition) and outputs to 1.
|
protectedvirtual |
Generates the outputs' data.
Implements btk::ProcessObject.
|
inlineprotected |
Returns the input at the index idx.
|
inline |
Gets the input registered with this process which corresponds to the offsets to remove.
|
inline |
Gets the output created with this process.
|
inlineprotected |
Returns the output at the index idx.
|
inline |
Gets the input registered with this process which is used as the input to process.
|
protectedvirtual |
Creates an Acquisition:Pointer object and return it as a DataObject::Pointer.
Implements btk::ProcessObject.
|
inlinestatic |
Creates a smart pointer associated with a AnalogOffsetRemover object.
|
inline |
Sets the input required with this process which corresponds to the offsets to remove.
|
inline |
Sets the input required with this process which is used as the input to process.