FilterBankEvent Class Reference#include <FilterBankEvent.h>
Inheritance diagram for FilterBankEvent:
[legend]List of all members.
Detailed Description
This event gives access to a set of image channels at different resolutions, see FilterBankGenerator.
Definition at line 9 of file FilterBankEvent.h.
Constructor & Destructor Documentation
|
copy constructor (shallow copy -- the generator shouldn't be going anywhere)
Definition at line 17 of file FilterBankEvent.h. |
Member Function Documentation
virtual EventBase* FilterBankEvent::clone |
( |
|
) |
const [inline, virtual] |
|
|
allows a copy to be made of an event, supporting polymorphism
Must be overridden by all subclasses to allow this to happen
I would like to switch this over to the cloneable interface once the compiler gets updated out of the 3.3 branch... see Cloneable::clone() for a discussion of the issue and implementation notes.
Reimplemented from EventBase.
Reimplemented in SegmentedColorFilterBankEvent.
Definition at line 22 of file FilterBankEvent.h. |
unsigned int FilterBankEvent::getFrameNumber |
( |
|
) |
const [inline] |
|
unsigned int FilterBankEvent::getFramesProcessed |
( |
|
) |
const [inline] |
|
unsigned int FilterBankEvent::getHeight |
( |
unsigned int |
layer |
) |
const [inline] |
|
unsigned char* FilterBankEvent::getImage |
( |
unsigned int |
layer, |
|
|
unsigned int |
channel |
|
) |
const [inline] |
|
unsigned int FilterBankEvent::getIncrement |
( |
unsigned int |
layer |
) |
const [inline] |
|
unsigned int FilterBankEvent::getNumChannels |
( |
|
) |
const [inline] |
|
unsigned int FilterBankEvent::getNumLayers |
( |
|
) |
const [inline] |
|
unsigned int FilterBankEvent::getSkip |
( |
unsigned int |
layer |
) |
const [inline] |
|
|
returns the bytes to skip from the one-past-end of a row to get the beginning of the next
Definition at line 45 of file FilterBankEvent.h. |
unsigned int FilterBankEvent::getStride |
( |
unsigned int |
layer |
) |
const [inline] |
|
|
returns the bytes to skip from the beginning of one row to get the beginning of the next
This is just for convenience; the stride is just the skip plus the width, but it's precomputed for you for speed and clarity
Definition at line 48 of file FilterBankEvent.h.
Referenced by ASCIIVisionBehavior::processEvent(). |
unsigned int FilterBankEvent::getWidth |
( |
unsigned int |
layer |
) |
const [inline] |
|
|
assignment operator (shallow copy -- the generator shouldn't be going anywhere)
Definition at line 20 of file FilterBankEvent.h. |
Member Data Documentation
|
pointer to generator which created this event
the generator holds all the actual image data to be more memory efficient
Definition at line 60 of file FilterBankEvent.h.
Referenced by getFrameNumber(), getFramesProcessed(), getHeight(), getImage(), getIncrement(), getNumChannels(), getNumLayers(), getSkip(), getSource(), getStride(), getWidth(), and operator=(). |
The documentation for this class was generated from the following file:
|