BTK
0.3dev.0
Open-source library to visualize/process biomechanical data
|
Extracts a frame from a collection of btk::Measure objects. More...
#include <btkMeasureFrameExtractor.h>
Public Types | |
typedef Collection< T > ::ConstPointer | CollectionConstPointer |
typedef Collection< T >::Pointer | CollectionPointer |
typedef btkSharedPtr< const MeasureFrameExtractor > | ConstPointer |
typedef T::ConstPointer | ItemConstPointer |
typedef T::Pointer | ItemPointer |
typedef btkSharedPtr < MeasureFrameExtractor > | 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 | |
int | GetIndex () const |
CollectionPointer | GetInput () |
ItemPointer | GetOutput () |
void | SetIndex (int idx) |
void | SetInput (CollectionPointer input) |
virtual | ~MeasureFrameExtractor () |
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 | |
virtual void | GenerateData () |
CollectionPointer | GetInput (int idx) |
ItemPointer | GetOutput (int idx) |
virtual DataObject::Pointer | MakeOutput (int idx) |
MeasureFrameExtractor () | |
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 |
Extracts a frame from a collection of btk::Measure objects.
T | Must be a class inheriting of btk::Measure |
btk::MeasureFrameExtractor< T >::CollectionConstPointer |
Smart pointer associated with a const Collection<T> object.
btk::MeasureFrameExtractor< T >::CollectionPointer |
Smart pointer associated with a Collection<T> object.
btk::MeasureFrameExtractor< T >::ConstPointer |
Smart pointer associated with a const MeasureFrameExtractor object.
btk::MeasureFrameExtractor< T >::ItemConstPointer |
Smart const pointer associated with a T object.
btk::MeasureFrameExtractor< T >::ItemPointer |
Smart pointer associated with a T object.
btk::MeasureFrameExtractor< T >::Pointer |
Smart pointer associated with a MeasureFrameExtractor object.
|
inlinevirtual |
Empty destructor.
|
protected |
Constructor. Sets the number of inputs and outputs to 1.
|
protectedvirtual |
Generates the outputs' data.
Implements btk::ProcessObject.
|
inline |
Gets the index of the frame to extract.
|
inline |
Gets the input registered with this process.
|
inlineprotected |
Returns the input at the index idx.
|
inline |
Gets the output created with this process.
|
inlineprotected |
Returns the output at the index idx.
|
protectedvirtual |
Creates a T:Pointer object and return it as a DataObject::Pointer.
Implements btk::ProcessObject.
|
inlinestatic |
Creates a smart pointer associated with a MeasureFrameExtractor<T> object.
void btk::MeasureFrameExtractor< T >::SetIndex | ( | int | idx | ) |
Sets the index of the frame to extract.
|
inline |
Sets the input required with this process.