32#include <VirtualRobot/Robot.h>
38#include <VisionX/interface/components/RGBDImageProvider.h>
42#include <Inventor/SoOffscreenRenderer.h>
44class SoOffscreenRenderer;
58 virtual public visionx::RGBDPointCloudProviderInterface
68 visionx::StereoCalibration
DepthImageProviderDynamicSimulationPropertyDefinitions(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
Pure virtual hook for the subclass.
std::vector< Eigen::Vector3f > pointCloudBuffer
~DepthImageProviderDynamicSimulation() override
std::vector< unsigned char > rgbBuffer
std::normal_distribution< double > distribution
bool doCapture() override
Main capturing function.
std::default_random_engine generator
void onExitCapturingPointCloudProvider() override
This is called when the Component::onExitComponent() setup is called.
std::shared_ptr< SoOffscreenRenderer > offscreenRenderer
std::vector< float > randValues
void onDisconnectComponent() override
Hook for subclass.
std::int32_t renderTimesCount
std::size_t pointCloudPointSize
visionx::StereoCalibration getStereoCalibration(const Ice::Current &c=Ice::emptyCurrent) override
std::chrono::high_resolution_clock::time_point lastUpdate
CFloatImage * imgPtrFlt[1]
void onStartCapture(float frameRate) override
This is called when the point cloud provider capturing has been started.
std::unique_ptr< CFloatImage > dFloatImage
std::vector< float > depthBuffer
DepthImageProviderDynamicSimulation()=default
std::unique_ptr< CByteImage > rgbImage
unsigned int pointCloudDrawDelay
void onInitCapturingPointCloudProvider() override
This is called when the Component::onInitComponent() is called.
std::int64_t sumRenderTimes
bool getImagesAreUndistorted(const Ice::Current &c=Ice::emptyCurrent) override
std::unique_ptr< CByteImage > dImage
void onConnectComponent() override
Pure virtual hook for the subclass.
void onStopCapture() override
This is called when the point cloud provider capturing has been stopped.
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
VirtualRobot::RobotNodePtr cameraNode
void onInitImageProvider() override
This is called when the Component::onInitComponent() is called.
pcl::PointCloud< PointT >::Ptr pointcloud
SoSeparator * visualization
ArmarXPhysicsWorldVisualizationPtr simVisu
void onExitComponent() override
Hook for subclass.
void onExitImageProvider() override
This is called when the Component::onExitComponent() setup is called.
std::string debugDrawerTopicName
std::int64_t sumRenderTimesSquared
std::string getDefaultName() const override
Retrieve default name of component.
DebugDrawerInterfacePrx debugDrawer
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
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.
This file offers overloads of toIce() and fromIce() functions for STL container types.
IceInternal::Handle< ArmarXPhysicsWorldVisualization > ArmarXPhysicsWorldVisualizationPtr
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.
::IceInternal::ProxyHandle<::IceProxy::armarx::DebugDrawerInterface > DebugDrawerInterfacePrx