26#include <opencv2/highgui/highgui.hpp>
29#include <VisionX/interface/components/Calibration.h>
42 "Number of the ID as it openCV expects (usually 0 if only one device exists).");
47 "Image resolution. If not set, maximum is used.")
48 .setCaseInsensitive(
true)
49 .map(
"320x240", ImageDimension(320, 240))
50 .map(
"640x480", ImageDimension(640, 480))
51 .map(
"800x600", ImageDimension(800, 600))
52 .map(
"768x576", ImageDimension(768, 576))
53 .map(
"1024x768", ImageDimension(1024, 768))
54 .map(
"1280x720", ImageDimension(1280, 960))
55 .map(
"1280x960", ImageDimension(1280, 960))
56 .map(
"1280x1024", ImageDimension(1280, 960))
57 .map(
"1600x1200", ImageDimension(1600, 1200))
58 .map(
"1920x1080", ImageDimension(1920, 1080))
59 .map(
"1920x1200", ImageDimension(1920, 1200))
60 .map(
"none", ImageDimension(0, 0));
81 bool capture(
void** ppImageBuffers)
override;
98 std::vector<imrec::ChannelPreferences>
Default component property definition container.
ComponentPropertyDefinitions(std::string prefix, bool hasObjectNameParameter=true)
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
PropertyDefinition< PropertyType > & defineOptionalProperty(const std::string &name, PropertyType defaultValue, const std::string &description="", PropertyDefinitionBase::PropertyConstness constness=PropertyDefinitionBase::eConstant)
The CapturingImageProvider provides a callback function to trigger the capturing of images with diffe...
WebCamImageProviderPropertyDefinitions(std::string prefix)
std::vector< ImageDimension > getSupportedResolutions(cv::VideoCapture &camera)
MonocularCalibration getCalibration(const Ice::Current &)
void onStartCapture(float framesPerSecond) override
This is called when the image provider capturing has been started.
MonocularCalibration calibration
cv::VideoCapture capturer
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
void onStopCapture() override
This is called when the image provider capturing has been stopped.
void onExitCapturingImageProvider() override
This is called when the Component::onExitComponent() setup is called.
std::vector< imrec::ChannelPreferences > getImageRecordingChannelPreferences(const Ice::Current &) override
void onInitCapturingImageProvider() override
This is called when the Component::onInitComponent() is called.
std::string getDefaultName() const override
Retrieve default name of component.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.