|
libalvision
1.12
|
Public Member Functions | |
| ALVisionExtractor (boost::shared_ptr< ALBroker > pBroker, const std::string &pName) | |
| virtual | ~ALVisionExtractor () |
| void | init (void) |
| void | run () |
| virtual void | initVision () |
| virtual void | process (IplImage *)=0 |
| virtual std::vector< std::string > | getOutputNames () |
| void | setParam (const std::string ¶mName, const ALValue ¶mValue) |
| Allows setting BallDetection parameters. | |
| void | xInitGenericStuff () |
| Initialisation of several non-generic things. | |
| void | xReleaseGenericStuff () |
| Release of several non-generic things. | |
| void | xInitSpecificStuff () |
| Initialisation of several non-generic things. | |
| void | xReleaseSpecificStuff () |
| Release of several non-generic things. | |
Protected Member Functions | |
| virtual void | xStartDetection (const int pPeriod, const float pPrecision) |
| virtual void | xUpdateParameters (const int pPeriod, const float pPrecision) |
| void | xStopDetection () |
Protected Attributes | |
|
boost::shared_ptr < AL::ALVideoDeviceProxy > | xCamProxy |
| boost::shared_ptr< AL::ALProxy > | xCamGenericProxy |
| std::string | xGvmName |
| int | xMode |
| int | xResolution |
| int | xColorSpace |
| int | xImageWidth |
| int | xImageHeight |
| int | xImageNLayers |
| int | xCurrentPeriod |
| int | xPause |
| bool | xRunOrder |
| bool | xIsRunning |
| ALImage * | xptr_ALImageRaw |
| IplImage * | xptr_IplImageRaw |
| std::string | xIplImageRawName |
Definition at line 40 of file alvisionextractor.h.
| AL::ALVisionExtractor::ALVisionExtractor | ( | boost::shared_ptr< ALBroker > | pBroker, |
| const std::string & | pName | ||
| ) |
Constructor
| pBroker | Module broker pointer |
| pName | Module name |
| virtual AL::ALVisionExtractor::~ALVisionExtractor | ( | ) | [virtual] |
Destructor.
| virtual std::vector<std::string> AL::ALVisionExtractor::getOutputNames | ( | ) | [virtual] |
getOutputNames get extractor raised event name list
Reimplemented from AL::ALExtractor.
| void AL::ALVisionExtractor::init | ( | void | ) |
init Module initialization method
| virtual void AL::ALVisionExtractor::initVision | ( | ) | [inline, virtual] |
initVision Vision specific initialization
Definition at line 71 of file alvisionextractor.h.
| virtual void AL::ALVisionExtractor::process | ( | IplImage * | ) | [pure virtual] |
process user process method called from main loop acquisition
| void AL::ALVisionExtractor::run | ( | ) |
run Main loop
| void AL::ALVisionExtractor::setParam | ( | const std::string & | paramName, |
| const ALValue & | paramValue | ||
| ) |
Allows setting BallDetection parameters.
| paramName,String | name of the parameter to be set |
| paramValue,ALValue | containing the parameter value |
| virtual void AL::ALVisionExtractor::xStartDetection | ( | const int | pPeriod, |
| const float | pPrecision | ||
| ) | [protected, virtual] |
xStartDetection. What the extractor shall do to start detection this method is called only once : when the first module subscribes.
Implements AL::ALExtractor.
| void AL::ALVisionExtractor::xStopDetection | ( | ) | [protected, virtual] |
xStopDetection. Stop detection
Implements AL::ALExtractor.
| virtual void AL::ALVisionExtractor::xUpdateParameters | ( | const int | pPeriod, |
| const float | pPrecision | ||
| ) | [protected, virtual] |
xUpdateParam. updates fCurrentParameters from fSubscribedList. this method is called each time the parameters has changed because of a new subscribtion or unsubscribtion or when a module calls updatePeriod or updatePrecision.
Reimplemented from AL::ALExtractor.