ImagesProperties.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <string>
4
#include <vector>
5
6
#include <
ArmarXCore/core/application/properties/forward_declarations.h
>
7
8
#include <
RobotAPI/libraries/armem/core/MemoryID.h
>
9
10
11
namespace
visionx::armem_images
12
{
13
14
struct
ImagesProperties
15
{
16
public
:
17
18
void
define
(
armarx::PropertyDefinitionContainer
& defs);
19
void
read
(
armarx::PropertyUser
& properties,
const
std::string& defaultProviderSegmentName);
20
21
22
static
armarx::armem::MemoryID
23
getEntityID
(
armarx::PropertyUser
& properties,
const
std::string& propertyName,
const
std::string& defaultProviderSegmentName);
24
static
std::vector<size_t>
25
getIndices
(
armarx::PropertyUser
& properties,
const
std::string& propertyName);
26
27
28
public
:
29
30
armarx::armem::MemoryID
rgbEntityID
{
"Vision/ImageRGB//images"
};
31
armarx::armem::MemoryID
depthEntityID
{
"Vision/ImageDepth//images"
};
32
33
std::vector<size_t>
rgbIndices
{ 0 };
34
std::vector<size_t>
depthIndices
{ 1 };
35
36
};
37
38
39
}
visionx::armem_images::ImagesProperties::rgbIndices
std::vector< size_t > rgbIndices
Definition:
ImagesProperties.h:33
visionx::armem_images::ImagesProperties::depthIndices
std::vector< size_t > depthIndices
Definition:
ImagesProperties.h:34
MemoryID.h
visionx::armem_images::ImagesProperties::getIndices
static std::vector< size_t > getIndices(armarx::PropertyUser &properties, const std::string &propertyName)
Definition:
ImagesProperties.cpp:49
visionx::armem_images
Definition:
ImageReader.cpp:29
armarx::armem::MemoryID
A memory ID.
Definition:
MemoryID.h:47
visionx::armem_images::ImagesProperties::define
void define(armarx::PropertyDefinitionContainer &defs)
Definition:
ImagesProperties.cpp:12
armarx::PropertyDefinitionContainer
PropertyDefinitionContainer.
Definition:
PropertyDefinitionContainer.h:53
visionx::armem_images::ImagesProperties::read
void read(armarx::PropertyUser &properties, const std::string &defaultProviderSegmentName)
Definition:
ImagesProperties.cpp:26
forward_declarations.h
visionx::armem_images::ImagesProperties
Definition:
ImagesProperties.h:14
visionx::armem_images::ImagesProperties::rgbEntityID
armarx::armem::MemoryID rgbEntityID
Definition:
ImagesProperties.h:30
visionx::armem_images::ImagesProperties::getEntityID
static armarx::armem::MemoryID getEntityID(armarx::PropertyUser &properties, const std::string &propertyName, const std::string &defaultProviderSegmentName)
Definition:
ImagesProperties.cpp:38
armarx::PropertyUser
Abstract PropertyUser class.
Definition:
PropertyUser.h:62
visionx::armem_images::ImagesProperties::depthEntityID
armarx::armem::MemoryID depthEntityID
Definition:
ImagesProperties.h:31
VisionX
libraries
armem
vision
images
core
ImagesProperties.h
Generated on Sat Oct 12 2024 09:14:18 for armarx_documentation by
1.8.17