Fawkes API
Fawkes Development Version
mini_image_producer.h
1
2
/***************************************************************************
3
* mini_image.h - mini image supplier
4
*
5
* Generated: Tue May 16 15:46:19 2006 (Automatica 2006)
6
* Copyright 2005-2006 Tim Niemueller [www.niemueller.de]
7
*
8
****************************************************************************/
9
10
/* This program is free software; you can redistribute it and/or modify
11
* it under the terms of the GNU General Public License as published by
12
* the Free Software Foundation; either version 2 of the License, or
13
* (at your option) any later version.
14
*
15
* This program is distributed in the hope that it will be useful,
16
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
* GNU Library General Public License for more details.
19
*
20
* Read the full text in the LICENSE.GPL file in the doc directory.
21
*/
22
23
#ifndef __FIREVISION_APPS_FOUNTAIN_MINI_IMAGE_H_
24
#define __FIREVISION_APPS_FOUNTAIN_MINI_IMAGE_H_
25
26
namespace
fawkes
{
27
class
Logger;
28
}
29
namespace
firevision
{
30
class
Scaler;
31
class
SharedMemoryImageBuffer;
32
}
33
34
class
MiniImageProducer
{
35
public
:
36
37
MiniImageProducer
(
const
char
*orig_id,
const
char
*mini_id,
38
firevision::Scaler
*scaler,
fawkes::Logger
*logger);
39
40
~
MiniImageProducer
();
41
42
bool
isValid();
43
void
produce();
44
45
private
:
46
fawkes::Logger
*logger;
47
firevision::Scaler
*scaler;
48
firevision::SharedMemoryImageBuffer
*orig_shmem;
49
firevision::SharedMemoryImageBuffer
*mini_shmem;
50
51
float
scale_factor;
52
53
};
54
55
56
#endif
fawkes
Fawkes library namespace.
firevision
Definition:
vision_master.h:32
MiniImageProducer
Mini image producer.
Definition:
mini_image_producer.h:34
firevision::SharedMemoryImageBuffer
Shared memory image buffer.
Definition:
shm_image.h:181
firevision::Scaler
Image scaler interface.
Definition:
scaler.h:32
fawkes::Logger
Interface for logging.
Definition:
logger.h:34
src
plugins
perception
fountain
mini_image_producer.h
Generated by
1.8.13