All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
kanzi::EventFilter Class Reference

EventFilter class. More...

#include <kanzi/event_input/event_filter.hpp>

Public Member Functions

 EventFilter (const EventSourceProperties &properties)
 Constructor. More...
 
 ~EventFilter ()
 Destructor. More...
 
void process (struct KzsEventQueue &queue)
 Filters events. More...
 
void setTransformation (const Matrix3x3 &transformation)
 Sets the transformation property. More...
 

Protected Attributes

enum KzsInputTranslation m_eventTranslation
 Translation of input event coordinates. More...
 
enum KzsInputOrientation m_eventOrientation
 Orientation of input event coordinates. More...
 
unsigned int m_eventAreaWidth
 Input event area width. More...
 
unsigned int m_eventAreaHeight
 Input event area height. More...
 
Matrix3x3 m_eventTransformation
 Input event area height. More...
 
struct KzsEventQueue * m_eventQueueBuffer
 Buffer used during calculations. More...
 

Detailed Description

EventFilter class.

Translates, orients, transforms and coalesces events.

Constructor & Destructor Documentation

kanzi::EventFilter::EventFilter ( const EventSourceProperties properties)
explicit

Constructor.

kanzi::EventFilter::~EventFilter ( )

Destructor.

Member Function Documentation

void kanzi::EventFilter::process ( struct KzsEventQueue &  queue)

Filters events.

The events in the given event queue are filtered based on the settings of the filter.

Note
The length of the event queue may be different after filtering.
void kanzi::EventFilter::setTransformation ( const Matrix3x3 transformation)

Sets the transformation property.

Member Data Documentation

enum KzsInputTranslation kanzi::EventFilter::m_eventTranslation
protected

Translation of input event coordinates.

enum KzsInputOrientation kanzi::EventFilter::m_eventOrientation
protected

Orientation of input event coordinates.

unsigned int kanzi::EventFilter::m_eventAreaWidth
protected

Input event area width.

unsigned int kanzi::EventFilter::m_eventAreaHeight
protected

Input event area height.

Matrix3x3 kanzi::EventFilter::m_eventTransformation
protected

Input event area height.

struct KzsEventQueue* kanzi::EventFilter::m_eventQueueBuffer
protected

Buffer used during calculations.


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