roviz  0.7
Code Documentation of roviz
tig_item.h
1 #ifndef TIG_ITEM_H
2 #define TIG_ITEM_H
3 
4 #include "core/roviz_item.h"
5 #include "config/file_path.h"
6 #include "config/config.h"
7 #include "streams//image_m.h"
8 #include "opencv2/opencv.hpp"
9 #include "opencv2/imgproc.hpp"
10 #include <thread>
11 
12 class TIGItem : public RovizItem
13 {
14 #if ROVIZ_BACKEND == ROVIZ_BACKEND_Dev
15  Q_OBJECT
16 #endif
17 
18 public:
19  ROVIZ_INVOKABLE TIGItem();
20  ~TIGItem();
21 
22 protected:
23  void thread(void) override;
24 
25 private:
26  Output<Image> output;
27  Image img;
28  Config<bool> conf_load_grey;
29  Config<FilePath> conf_path;
30 };
31 
32 #endif // TIG_ITEM_H
void thread(void) override
Main thread of the item.
Definition: tig_item.cpp:24
Definition: tig_item.h:12
Base class for all items that use the roviz framework.
Definition: roviz_item.h:43
A portable image class with smart memory management.
Definition: image.h:35