ot::FilterNode Class Reference

#include <FilterNode.h>

Inheritance diagram for ot::FilterNode:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual int isEventGenerator ()
virtual void onEventGenerated (Event &event, Node &generator)

Protected Types

enum  Type { ALL = 0, POSITION, ORIENTATION }

Protected Member Functions

 FilterNode (const std::vector< float > &weights_, const Type &type_)

Protected Attributes

Event localEvent
 local event variable
std::vector< float > weights
 array of weights
enum ot::FilterNode::Type type
 the type of the node, equals the name of the configuration element

Friends

class CommonNodeFactory

Member Enumeration Documentation

enum ot::FilterNode::Type [protected]
 

Enumerator:
ALL 
POSITION 
ORIENTATION 


Constructor & Destructor Documentation

ot::FilterNode::FilterNode const std::vector< float > &  weights_,
const Type type_
[protected]
 

constructor method


Member Function Documentation

int ot::FilterNode::isEventGenerator  )  [virtual]
 

tests for EventGenerator interface being present. Returns the result of the childs implementation of this method.

Returns:
1 if child implements EventGenerator, 0 otherwise

Reimplemented from ot::Node.

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

this method is called by the EventGenerator to update it's observers. This class computes a transformed event, stores it in its local variable and notifies its observers in turn, propagating the change.

Reimplemented from ot::Node.


Friends And Related Function Documentation

friend class CommonNodeFactory [friend]
 


Member Data Documentation

Event ot::FilterNode::localEvent [protected]
 

local event variable

enum ot::FilterNode::Type ot::FilterNode::type [protected]
 

the type of the node, equals the name of the configuration element

Reimplemented from ot::Node.

std::vector<float> ot::FilterNode::weights [protected]
 

array of weights


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