Go to the documentation of this file.
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
131 return getProperty<std::string>(
"ReferenceFrameName").getValue();
149 void updateFinalCloudTransform(
float sx,
162 double scan3dCoordinateScale = 1.0;
164 rcg::ImageList intensityBuffer;
165 rcg::ImageList disparityBuffer;
std::shared_ptr< rcg::Stream > StreamPtr
bool doCapture() override
Main capturing function.
MatrixXX< 4, 4, float > Matrix4f
This class contains common implementation for RCImageProvider and RCPointCloudProvider.
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
void onExitCapturingPointCloudProvider() override
This is called when the Component::onExitComponent() setup is called.
Brief description of class RCPointCloudProvider.
void onStartCapture(float frameRate) override
This is called when the point cloud provider capturing has been started.
void onExitImageProvider() override
This is called when the Component::onExitComponent() setup is called.
void onInitComponent() override
Pure virtual hook for the subclass.
float frameRate
Required frame rate.
bool getImagesAreUndistorted(const Ice::Current &c=Ice::emptyCurrent) override
void startCaptureForNumFrames(Ice::Int, const Ice::Current &) override
void onExitComponent() override
Hook for subclass.
void onInitImageProvider() override
This is called when the Component::onInitComponent() is called.
visionx::StereoCalibration stereoCalibration
std::shared_ptr< rcg::Device > DevicePtr
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
bool hasSharedMemorySupport(const Ice::Current &c=Ice::emptyCurrent) override
std::string getReferenceFrame(const Ice::Current &c=Ice::emptyCurrent) override
void onConnectComponent() override
Pure virtual hook for the subclass.
The CapturingPointCloudProvider provides a callback function to trigger the capturing of point clouds...
ImageProvider abstract class defines a component which provide images via ice or shared memory.
Default component property definition container.
void onDisconnectComponent() override
Hook for subclass.
visionx::StereoCalibration getStereoCalibration(const Ice::Current &c=Ice::emptyCurrent) override
Same as the TripleBuffer, but partial writes of the data structure are ok. The write operation may be...
std::string getDefaultName() const override
void onStopCapture() override
This is called when the point cloud provider capturing has been stopped.
RCPointCloudProviderPropertyDefinitions(std::string prefix)
void onInitCapturingPointCloudProvider() override
This is called when the Component::onInitComponent() is called.