Go to the documentation of this file.
32 #include <VisionX/interface/components/RGBDImageProvider.h>
35 #include <Image/ImageProcessor.h>
36 #include <Calibration/Undistortion.h>
38 #include <rc_genicam_api/device.h>
39 #include <rc_genicam_api/stream.h>
40 #include <rc_genicam_api/imagelist.h>
47 using DevicePtr = std::shared_ptr<rcg::Device>;
48 using StreamPtr = std::shared_ptr<rcg::Stream> ;
78 virtual public RGBDPointCloudProviderInterface,
92 return "RCPointCloudProvider";
129 return getProperty<std::string>(
"ReferenceFrameName").getValue();
147 void updateFinalCloudTransform(
148 float sx,
float sy,
float sz,
149 float rx,
float ry,
float rz,
150 float tx,
float ty,
float tz);
155 double scan3dCoordinateScale = 1.0;
157 rcg::ImageList intensityBuffer;
158 rcg::ImageList disparityBuffer;
std::shared_ptr< rcg::Stream > StreamPtr
bool doCapture() override
Main capturing function.
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.
MatrixXX< 4, 4, float > Matrix4f
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.