Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
FilterBankEvent Class ReferenceThis event gives access to a set of image channels at different resolutions, see FilterBankGenerator. More...
Inheritance diagram for FilterBankEvent:
Detailed DescriptionThis event gives access to a set of image channels at different resolutions, see FilterBankGenerator. Definition at line 10 of file FilterBankEvent.h.
Constructor & Destructor Documentation
constructor Definition at line 13 of file FilterBankEvent.h.
copy constructor (shallow copy -- the generator shouldn't be going anywhere) Definition at line 18 of file FilterBankEvent.h.
default constructor, only intended to be called from the FamilyFactory, followed by a loadXML... Definition at line 73 of file FilterBankEvent.h. Referenced by clone(). Member Function Documentation
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 23 of file FilterBankEvent.h.
All subclasses should override this and return a unique ID for their class. All IDs corresponding to all-capital letters are reserved for future framework expansion. (Thus, user subclasses should contain at least one lower-case letter.) This code can be used when serializing to allow quick identification of the class type by the receiver. Reimplemented from EventBase. Reimplemented in SegmentedColorFilterBankEvent. Definition at line 61 of file FilterBankEvent.h.
returns the frame number, see FilterBankGenerator::frameNumber Definition at line 57 of file FilterBankEvent.h. Referenced by BallDetectionGenerator::doEvent(), and BallDetectionGenerator::testSendEvent().
returns the number of frames processed by the generator, see FilterBankGenerator::framesProcessed Definition at line 59 of file FilterBankEvent.h.
returns height of the image in a given layer Definition at line 47 of file FilterBankEvent.h. Referenced by BallDetectionGenerator::doEvent().
returns pointer to the beginning of the image data for the specified layer and channel this will cause the data to be calculated and cached if it's not already available Definition at line 39 of file FilterBankEvent.h. Referenced by BallDetectionGenerator::doEvent().
returns the number of bytes used for the data returned by getImage() - if the data varies in size (e.g. jpeg compression), will return 0 if the image hasn't been calculated yet (so call it after getImage()) Definition at line 42 of file FilterBankEvent.h.
returns the increment to use to go from one sample to the next Definition at line 54 of file FilterBankEvent.h.
returns the number of channels per image (e.g. Y, U, or V components) Definition at line 35 of file FilterBankEvent.h. Referenced by BallDetectionGenerator::doEvent().
returns the number of image layers (e.g. different resolutions available) Definition at line 32 of file FilterBankEvent.h. Referenced by BallDetectionGenerator::doEvent(), RawCam::drawShapesIntoBuffer(), and BallDetectionGenerator::testSendEvent().
returns the bytes to skip from the one-past-end of a row to get the beginning of the next Definition at line 49 of file FilterBankEvent.h.
Gives access to underlying generator. Definition at line 29 of file FilterBankEvent.h. Referenced by LogNode::doEvent(), FilterBankGenerator::doEvent(), RawCam::drawShapesIntoBuffer(), RawCam::writeColor(), DepthCam::writeDepth(), RegionCam::writeRegions(), SegCam::writeRLE(), SegCam::writeSeg(), and RawCam::writeSingleChannel().
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 52 of file FilterBankEvent.h.
returns width of the image in a given layer Definition at line 45 of file FilterBankEvent.h. Referenced by BallDetectionGenerator::doEvent(), and BallDetectionGenerator::testSendEvent().
assignment operator (shallow copy -- the generator shouldn't be going anywhere) Definition at line 21 of file FilterBankEvent.h. Friends And Related Function Documentation
Definition at line 74 of file FilterBankEvent.h. Member Data Documentation
causes class type id to automatically be regsitered with EventBase's FamilyFactory (getTypeRegistry()) This is instantiated in EventBase.cc to save on file bloat Definition at line 70 of file FilterBankEvent.h. Referenced by getClassTypeID().
pointer to generator which created this event the generator holds all the actual image data to be more memory efficient Definition at line 66 of file FilterBankEvent.h. Referenced by getFrameNumber(), getFramesProcessed(), getHeight(), getImage(), getImageSize(), getIncrement(), getNumChannels(), getNumLayers(), getSkip(), getSource(), getStride(), getWidth(), and operator=(). The documentation for this class was generated from the following files: |
Tekkotsu v5.1CVS |
Generated Mon May 9 04:59:08 2016 by Doxygen 1.6.3 |