RsbRstDepthImageExportPlugin.h
1 |
#pragma once
|
---|---|
2 |
|
3 |
#include "gui/Grender.h" |
4 |
#include "main/plugin_cxx.h" |
5 |
|
6 |
#include <rsb/Factory.h> |
7 |
#include <rsb/Informer.h> |
8 |
#include <rsb/Scope.h> |
9 |
|
10 |
namespace rsbrstdepthimageexport { |
11 |
|
12 |
/**
|
13 |
* A plugin which is able to convert depth images to rst and export rst::vision::SimpleXYZImages messages.
|
14 |
*
|
15 |
* @author nkroemke
|
16 |
*/
|
17 |
class RsbRstDepthImageExportPlugin: public ICEWING::Plugin { |
18 |
public:
|
19 |
|
20 |
RsbRstDepthImageExportPlugin(char *name);
|
21 |
~RsbRstDepthImageExportPlugin(); |
22 |
|
23 |
void Init(grabParameter *para, int argc, char **argv); |
24 |
int InitOptions();
|
25 |
bool Process(char *ident, plugData *data); |
26 |
|
27 |
private:
|
28 |
|
29 |
std::string imgIdent; |
30 |
std::string outIdent; |
31 |
void help();
|
32 |
iwImage *imgInput; |
33 |
iwImage *imgColor; |
34 |
rsb::Scope scope; |
35 |
rsb::Factory &factory; |
36 |
rsb::Informer<rsb::AnyType>::Ptr informer; |
37 |
|
38 |
}; |
39 |
|
40 |
} |