34#include <VisionX/interface/components/RGBDImageProvider.h>
37#include <Calibration/Undistortion.h>
38#include <Image/ImageProcessor.h>
39#include <rc_genicam_api/device.h>
40#include <rc_genicam_api/imagelist.h>
41#include <rc_genicam_api/stream.h>
46 using DevicePtr = std::shared_ptr<rcg::Device>;
47 using StreamPtr = std::shared_ptr<rcg::Stream>;
76 virtual public RGBDPointCloudProviderInterface,
91 return "RCPointCloudProvider";
116 visionx::StereoCalibration
146 armarx::RemoteGui::WidgetPtr buildGui();
149 void updateFinalCloudTransform(
float sx,
159 Eigen::Matrix4f getFinalCloudTransform();
162 double scan3dCoordinateScale = 1.0;
164 rcg::ImageList intensityBuffer;
165 rcg::ImageList disparityBuffer;
Default component property definition container.
Property< PropertyType > getProperty(const std::string &name)
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
Same as the TripleBuffer, but partial writes of the data structure are ok. The write operation may be...
The CapturingPointCloudProvider provides a callback function to trigger the capturing of point clouds...
float frameRate
Required frame rate.
ImageProvider abstract class defines a component which provide images via ice or shared memory.
RCPointCloudProviderPropertyDefinitions(std::string prefix)
std::string getReferenceFrame(const Ice::Current &c=Ice::emptyCurrent) override
bool hasSharedMemorySupport(const Ice::Current &c=Ice::emptyCurrent) override
void onInitComponent() override
bool doCapture() override
Main capturing function.
void onExitCapturingPointCloudProvider() override
This is called when the Component::onExitComponent() setup is called.
void onDisconnectComponent() override
Hook for subclass.
visionx::StereoCalibration getStereoCalibration(const Ice::Current &c=Ice::emptyCurrent) override
void onStartCapture(float frameRate) override
This is called when the point cloud provider capturing has been started.
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
void onInitCapturingPointCloudProvider() override
This is called when the Component::onInitComponent() is called.
bool getImagesAreUndistorted(const Ice::Current &c=Ice::emptyCurrent) override
void onConnectComponent() override
void onStopCapture() override
This is called when the point cloud provider capturing has been stopped.
void onInitImageProvider() override
This is called when the Component::onInitComponent() is called.
void onExitComponent() override
void onExitImageProvider() override
This is called when the Component::onExitComponent() setup is called.
std::string getDefaultName() const override
void startCaptureForNumFrames(Ice::Int, const Ice::Current &) override
This class contains common implementation for RCImageProvider and RCPointCloudProvider.
visionx::StereoCalibration stereoCalibration
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.
std::shared_ptr< rcg::Stream > StreamPtr
std::shared_ptr< rcg::Device > DevicePtr