48 "VideoMode", ImageDimension(320, 240),
"Image resolution")
49 .setCaseInsensitive(
true)
50 .map(
"320x240", ImageDimension(320, 240))
51 .map(
"640x480", ImageDimension(640, 480));
54 "ImageType", eColoredPointsScan,
"Image type: RGB, Points, Points with RGB")
55 .setCaseInsensitive(
true)
57 .map(
"ColoredPointsScan", eColoredPointsScan);
60 .setMatchRegex(
"\\d+(.\\d*)?")
67 .setCaseInsensitive(
true);
207 virtual bool capture(
void** ppImageBuffers);
222 return "OpenNIImageProvider";
286 bool StartDevice(
const char* pDeviceURI,
const int Width,
const int Height,
const int Fps);
Default component property definition container.
ComponentPropertyDefinitions(std::string prefix, bool hasObjectNameParameter=true)
std::string getConfigIdentifier()
Retrieve config identifier for this component as set in constructor.
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...
OpenNI image provider captures 3D-points and/or color(s) images from a single device and supports the...
openni::VideoFrameRef frameOpenNI
std::string uri
Camera URI.
virtual void onExitCapturingImageProvider()
bool InitializeNormalizedDepthCells()
float frameRate
Capturing frame rate.
virtual void onStopCapture()
openni::VideoStream depthStreamOpenNI
bool DestroyDataStructure()
openni::VideoStream colorStreamOpenNI
visionx::ImageDimension videoDimension
Video dimension data.
visionx::ImageType imageType
Capturing image type.
openni::Device deviceOpenNI
NormalizedDepthCell * normalizedDepthCells
bool CreateDataStructures()
static bool isBackEndInitialized
visionx::ColoredPoint3D * coloredPoint3DBuffer
Captured images.
bool DispatchColorFrame()
bool DispatchDepthFrame()
bool StartDevice(const char *pDeviceURI, const int Width, const int Height, const int Fps)
int EnsureFPS(const int FPS)
virtual void onStartCapture(float frameRate)
bool CaptureColoredPoint()
virtual void onInitCapturingImageProvider()
virtual armarx::PropertyDefinitionsPtr createPropertyDefinitions()
virtual std::string getDefaultName() const
OpenNIPropertyDefinitions(std::string prefix)
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.