ImagesProperties.h
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4#include <vector>
5
7
9
11{
12
14 {
15 public:
17 void read(armarx::PropertyUser& properties, const std::string& defaultProviderSegmentName);
18
19
21 const std::string& propertyName,
22 const std::string& defaultProviderSegmentName);
23 static std::vector<size_t> getIndices(armarx::PropertyUser& properties,
24 const std::string& propertyName);
25
26
27 public:
28 armarx::armem::MemoryID rgbEntityID{"Vision/ImageRGB//images"};
29 armarx::armem::MemoryID depthEntityID{"Vision/ImageDepth//images"};
30
31 std::vector<size_t> rgbIndices{0};
32 std::vector<size_t> depthIndices{1};
33 };
34
35
36} // namespace visionx::armem_images
Abstract PropertyUser class.
static armarx::armem::MemoryID getEntityID(armarx::PropertyUser &properties, const std::string &propertyName, const std::string &defaultProviderSegmentName)
static std::vector< size_t > getIndices(armarx::PropertyUser &properties, const std::string &propertyName)
void define(armarx::PropertyDefinitionContainer &defs)
void read(armarx::PropertyUser &properties, const std::string &defaultProviderSegmentName)