Segment.h
Go to the documentation of this file.
1
/*
2
* This file is part of ArmarX.
3
*
4
* ArmarX is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License version 2 as
6
* published by the Free Software Foundation.
7
*
8
* ArmarX is distributed in the hope that it will be useful, but
9
* WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
12
*
13
* You should have received a copy of the GNU General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15
*
16
* @package VisionX::ArmarXObjects::armem_images_server
17
* @author Rainer Kartmann ( rainer dot kartmann at kit dot edu )
18
* @date 2021
19
* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20
* GNU General Public License
21
*/
22
23
#pragma once
24
25
#include <string>
26
27
#include <
RobotAPI/libraries/armem/server/segment/SpecializedSegment.h
>
28
29
30
namespace
armarx::armem::server::human::facerecog
31
{
32
class
Segment
:
public
armem::server::segment::SpecializedCoreSegment
33
{
34
public
:
35
36
using
Base
=
armem::server::segment::SpecializedCoreSegment
;
37
static
const
std::string
CORE_SEGMENT_NAME
;
38
39
public
:
40
41
Segment
(
armem::server::MemoryToIceAdapter
&
iceMemory
);
42
43
void
defineProperties
(
armarx::PropertyDefinitionsPtr
defs,
const
std::string& prefix =
""
)
override
;
44
void
init
()
override
;
45
46
private
:
47
48
void
loadDummyEntries();
49
50
public
:
51
52
struct
Properties
53
{
54
bool
loadDummyEntries
=
false
;
55
};
56
Properties
properties
;
57
58
};
59
}
60
61
namespace
armarx::armem::server::human
62
{
63
using
FaceRecognitionSegment
=
facerecog::Segment
;
64
}
SpecializedSegment.h
armarx::armem::server::segment::SpecializedCoreSegment
A base class for core segments.
Definition:
SpecializedCoreSegment.h:20
armarx::armem::server::MemoryToIceAdapter
Helps connecting a Memory server to the Ice interface.
Definition:
MemoryToIceAdapter.h:19
armarx::armem::server::human::facerecog::Segment::CORE_SEGMENT_NAME
static const std::string CORE_SEGMENT_NAME
Definition:
Segment.h:37
armarx::armem::server::human::facerecog::Segment::init
void init() override
Definition:
Segment.cpp:59
armarx::armem::server::human::facerecog::Segment::Properties
Definition:
Segment.h:52
armarx::armem::server::human::facerecog
Definition:
Segment.cpp:32
armarx::armem::server::human::facerecog::Segment::Properties::loadDummyEntries
bool loadDummyEntries
Definition:
Segment.h:54
armarx::armem::server::segment::detail::SegmentBase< server::wm::CoreSegment >
armarx::armem::server::human::facerecog::Segment::properties
Properties properties
Definition:
Segment.h:56
armarx::armem::server::human::facerecog::Segment
Definition:
Segment.h:32
armarx::armem::server::human::facerecog::Segment::defineProperties
void defineProperties(armarx::PropertyDefinitionsPtr defs, const std::string &prefix="") override
Definition:
Segment.cpp:49
armarx::armem::server::segment::detail::SegmentBase< server::wm::CoreSegment >::iceMemory
MemoryToIceAdapter & iceMemory
Definition:
SpecializedSegment.h:60
armarx::armem::server::human
Definition:
aron_conversions.cpp:10
IceUtil::Handle< class PropertyDefinitionContainer >
armarx::armem::server::human::facerecog::Segment::Segment
Segment(armem::server::MemoryToIceAdapter &iceMemory)
Definition:
Segment.cpp:39
VisionX
libraries
armem_human
server
face_recognition
Segment.h
Generated on Tue Feb 13 2024 06:12:07 for armarx_documentation by
1.8.17