BTK
0.3dev.0
Open-source library to visualize/process biomechanical data
|
Extracts only the points corresponding to the given type (without cloning the extracted points). More...
#include <btkSpecializedPointsExtractor.h>
Public Types | |
typedef btkSharedPtr< const SpecializedPointsExtractor > | ConstPointer |
typedef btkSharedPtr < SpecializedPointsExtractor > | Pointer |
![]() | |
typedef btkSharedPtr< const ProcessObject > | ConstPointer |
typedef btkSharedPtr < ProcessObject > | Pointer |
![]() | |
typedef btkSharedPtr< const Object > | ConstPointer |
typedef btkSharedPtr< Object > | Pointer |
Public Member Functions | |
Acquisition::Pointer | GetInput () |
PointCollection::Pointer | GetOutput () |
Point::Type | GetPointType () const |
void | SetInput (Acquisition::Pointer input) |
void | SetPointType (Point::Type t) |
![]() | |
int | GetInputNumber () const |
int | GetOutputNumber () const |
int | GetValidInputNumber () const |
void | ResetState () |
void | Update () |
![]() | |
unsigned long int | GetTimestamp () const |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
virtual void | GenerateData () |
Acquisition::Pointer | GetInput (int idx) |
PointCollection::Pointer | GetOutput (int idx) |
virtual DataObject::Pointer | MakeOutput (int idx) |
SpecializedPointsExtractor () | |
![]() | |
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 () |
![]() | |
Object () | |
Object (const Object &toCopy) | |
virtual | ~Object () |
Additional Inherited Members | |
![]() | |
unsigned long int | m_Timestamp |
Extracts only the points corresponding to the given type (without cloning the extracted points).
The type is set by the SetPointType() method. By default, if no type is set, this filter extract markers.
Smart pointer associated with a const SpecializedPointsExtractor object.
Smart pointer associated with a SpecializedPointsExtractor object.
|
protected |
Constructor. Sets the number of inputs and outputs to 1.
|
protectedvirtual |
Generates the outputs' data.
Implements btk::ProcessObject.
|
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.
|
inline |
Returns the type of points to extract.
|
protectedvirtual |
Creates a PointCollection:Pointer object and return it as a DataObject::Pointer.
Implements btk::ProcessObject.
|
inlinestatic |
Creates a smart pointer associated with a SpecializedPointsExtractor object.
|
inline |
Sets the input required with this process.
void btk::SpecializedPointsExtractor::SetPointType | ( | Point::Type | t | ) |
Sets the type of points to extract.