OpenTracker

An Open Architecture for Reconfigurable Tracking based on XML | Contact

ot::RangeFilterNode Class Reference

#include <RangeFilterNode.h>

Inheritance diagram for ot::RangeFilterNode:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Protected Member Functions

 RangeFilterNode (float min, float max)

Protected Attributes

float min
float max

Friends

class CommonNodeFactory

Detailed Description

Definition at line 81 of file RangeFilterNode.h.


Constructor & Destructor Documentation

ot::RangeFilterNode::RangeFilterNode ( float  min,
float  max 
) [protected]

constructor method

Definition at line 59 of file RangeFilterNode.cxx.


Member Function Documentation

int ot::RangeFilterNode::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.

Definition at line 64 of file RangeFilterNode.cxx.

void ot::RangeFilterNode::onEventGenerated ( Event event,
Node generator 
) [virtual]

this method is called by the EventGenerator to update it's observers.

Reimplemented from ot::Node.

Definition at line 71 of file RangeFilterNode.cxx.

References ot::Event::getPosition(), max, min, and ot::Node::updateObservers().


Friends And Related Function Documentation

friend class CommonNodeFactory [friend]

Definition at line 111 of file RangeFilterNode.h.


Member Data Documentation

float ot::RangeFilterNode::max [protected]

maximum length stored as the square of the length not the actual length !

Definition at line 90 of file RangeFilterNode.h.

Referenced by onEventGenerated().

float ot::RangeFilterNode::min [protected]

minimum length, stores as the square of the length not the actual length !

Definition at line 88 of file RangeFilterNode.h.

Referenced by onEventGenerated().


The documentation for this class was generated from the following files:

copyright (c) 2006 Graz University of Technology