ot::DESPFilterNode Class Reference

#include <DESPFilterNode.h>

Inheritance diagram for ot::DESPFilterNode:

Inheritance graph
[legend]
Collaboration diagram for ot::DESPFilterNode:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DESPFilterNode (float filterPos_=0.0, float filterOri_=0.0)
virtual int isEventGenerator ()
virtual void onEventGenerated (Event &event, Node &generator)

Protected Attributes

bool init
float filterPos
 Position Filter.
float filterOri
 Orientation Filter.
Event currentEvent
 The event we're currently working with.
Event targetEvent
 The one we will be forwarding.
Event lastEvent
 The last one we worked with.
int frameCtr
 A counter for the last time we received a new frame.

Constructor & Destructor Documentation

ot::DESPFilterNode::DESPFilterNode float  filterPos_ = 0.0,
float  filterOri_ = 0.0
 

constructor method. It sets initial values for the treshhold and type


Member Function Documentation

virtual int ot::DESPFilterNode::isEventGenerator  )  [inline, virtual]
 

tests for EventGenerator interface being present and returns 1, if present.

Returns:
always 1

Reimplemented from ot::Node.

void ot::DESPFilterNode::onEventGenerated Event event,
Node generator
[virtual]
 

This method is called by any child node.

Parameters:
event the event value passed
generator the node generating the event

Reimplemented from ot::Node.


Member Data Documentation

Event ot::DESPFilterNode::currentEvent [protected]
 

The event we're currently working with.

float ot::DESPFilterNode::filterOri [protected]
 

Orientation Filter.

float ot::DESPFilterNode::filterPos [protected]
 

Position Filter.

int ot::DESPFilterNode::frameCtr [protected]
 

A counter for the last time we received a new frame.

bool ot::DESPFilterNode::init [protected]
 

Event ot::DESPFilterNode::lastEvent [protected]
 

The last one we worked with.

Event ot::DESPFilterNode::targetEvent [protected]
 

The one we will be forwarding.


The documentation for this class was generated from the following files:
Generated on Wed Feb 28 15:28:06 2007 for NaviTrack by  doxygen 1.4.6