BTK  0.3dev.0
Open-source library to visualize/process biomechanical data
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
btk::SpecializedPointsExtractor Class Reference

Extracts only the points corresponding to the given type (without cloning the extracted points). More...

#include <btkSpecializedPointsExtractor.h>

Inheritance diagram for btk::SpecializedPointsExtractor:
Inheritance graph
[legend]

Public Types

typedef btkSharedPtr< const
SpecializedPointsExtractor
ConstPointer
 
typedef btkSharedPtr
< SpecializedPointsExtractor
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< ObjectPointer
 

Public Member Functions

Acquisition::Pointer GetInput ()
 
PointCollection::Pointer GetOutput ()
 
Point::Type GetPointType () const
 
void SetInput (Acquisition::Pointer input)
 
void SetPointType (Point::Type t)
 
- 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 ()
 
Acquisition::Pointer GetInput (int idx)
 
PointCollection::Pointer GetOutput (int idx)
 
virtual DataObject::Pointer MakeOutput (int idx)
 
 SpecializedPointsExtractor ()
 
- 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
 

Detailed Description

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.

Member Typedef Documentation

Smart pointer associated with a const SpecializedPointsExtractor object.

Smart pointer associated with a SpecializedPointsExtractor object.

Constructor & Destructor Documentation

btk::SpecializedPointsExtractor::SpecializedPointsExtractor ( )
protected

Constructor. Sets the number of inputs and outputs to 1.

Member Function Documentation

void btk::SpecializedPointsExtractor::GenerateData ( )
protectedvirtual

Generates the outputs' data.

Implements btk::ProcessObject.

Acquisition::Pointer btk::SpecializedPointsExtractor::GetInput ( )
inline

Gets the input registered with this process.

Acquisition::Pointer btk::SpecializedPointsExtractor::GetInput ( int  idx)
inlineprotected

Returns the input at the index idx.

PointCollection::Pointer btk::SpecializedPointsExtractor::GetOutput ( )
inline

Gets the output created with this process.

PointCollection::Pointer btk::SpecializedPointsExtractor::GetOutput ( int  idx)
inlineprotected

Returns the output at the index idx.

Point::Type btk::SpecializedPointsExtractor::GetPointType ( ) const
inline

Returns the type of points to extract.

DataObject::Pointer btk::SpecializedPointsExtractor::MakeOutput ( int  idx)
protectedvirtual

Creates a PointCollection:Pointer object and return it as a DataObject::Pointer.

Implements btk::ProcessObject.

static Pointer btk::SpecializedPointsExtractor::New ( )
inlinestatic

Creates a smart pointer associated with a SpecializedPointsExtractor object.

void btk::SpecializedPointsExtractor::SetInput ( Acquisition::Pointer  input)
inline

Sets the input required with this process.

void btk::SpecializedPointsExtractor::SetPointType ( Point::Type  t)

Sets the type of points to extract.