38 def->required(providerName,
"ImageProviderName");
125 if (
static_cast<unsigned int>(
SpamFilterDataPtr deactivateSpam(SpamFilterDataPtr const &spamFilter, float deactivationDurationSec, const std::string &identifier, bool deactivate)
Default component property definition container.
std::string getConfigIdentifier()
Retrieve config identifier for this component as set in constructor.
virtual void onConnectImageProcessor() override
Implement this method in the ImageProcessor in order execute parts when the component is fully initia...
virtual void onExitImageProcessor() override
Exit the ImapeProcessor component.
virtual armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
virtual void process() override
Process the vision component.
virtual void onInitImageProcessor() override
Setup the vision component.
virtual void onDisconnectImageProcessor() override
Implement this method in the ImageProcessor in order execute parts when the component looses network ...
std::string getName() const
Retrieve name of object.
std::atomic_long timestamp_of_update
std::mutex rgbImageBufferMutex
std::mutex openposeResultImageMutex
std::atomic_bool running2D
std::uint64_t sucessCounter2d
std::uint64_t readErrorCounter2d
CByteImage * rgbImageBuffer
CByteImage ** imageBuffer
std::atomic_bool result_image_ready
visionx::ImageFormatInfo rgbImageFormat
std::atomic_bool update_ready
CByteImage ** openposeResultImage
armarx::MetaInfoSizeBasePtr imageMetaInfo
std::uint64_t timeoutCounter2d
std::mutex imageBufferMutex
visionx::ImageProviderInfo imageProviderInfo
std::mutex depthImageBufferMutex
void preOnInitImageProcessor() override
void postCreatePropertyDefinitions(PropertyDefinitionsPtr &properties) override
CByteImage * depthImageBuffer
void postOnDisconnectImageProcessor() override
void preOnConnectImageProcessor() override
void postOnConnectImageProcessor() override
void preOnDisconnectImageProcessor() override
void enableResultImages(int numberImages, ImageDimension imageDimension, ImageType imageType, const std::string &name="")
Enables visualization.
void usingImageProvider(std::string name)
Registers a delayed topic subscription and a delayed provider proxy retrieval which all will be avail...
bool waitForImages(int milliseconds=1000)
Wait for new images.
ImageProviderInfo getImageProvider(std::string name, ImageType destinationImageType=eRgb, bool waitForProxy=false)
Select an ImageProvider.
int getImages(CByteImage **ppImages)
Poll images from provider.
void provideResultImages(CByteImage **images, armarx::MetaInfoSizeBasePtr info=nullptr)
sends result images for visualization
#define ARMARX_INFO
The normal logging level.
#define ARMARX_FATAL
The logging level for unexpected behaviour, that will lead to a seriously malfunctioning program and ...
#define ARMARX_DEBUG
The logging level for output that is only interesting while debugging.
#define ARMARX_WARNING
The logging level for unexpected behaviour, but not a serious problem.
This file offers overloads of toIce() and fromIce() functions for STL container types.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.