forked from kvtsang/Supera
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ImageMetaMakerBase.h
58 lines (43 loc) · 1.29 KB
/
ImageMetaMakerBase.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/**
* \file ImageMetaMakerBase.h
*
* \ingroup Package_Name
*
* \brief Class def header for a class ImageMetaMakerBase
*
* @author kazuhiro
*/
/** \addtogroup Package_Name
@{*/
#ifndef __IMAGEMETAMAKERBASE_H__
#define __IMAGEMETAMAKERBASE_H__
#include "larcv/core/Base/larcv_base.h"
#include "larcv/core/DataFormat/ImageMeta.h"
#include "larcv/core/DataFormat/Voxel3DMeta.h"
#include "FMWKInterface.h"
namespace supera {
/**
\class ImageMetaMakerBase
User defined class ImageMetaMakerBase ... these comments are used to generate
doxygen documentation!
*/
class ImageMetaMakerBase : public larcv::larcv_base {
public:
/// Default constructor
ImageMetaMakerBase(std::string name="NoName")
: larcv_base(name)
{}
/// Default destructor
virtual ~ImageMetaMakerBase(){}
virtual void configure(const supera::Config_t&);
virtual const std::vector<larcv::ImageMeta>& Meta() const = 0;
virtual const larcv::Voxel3DMeta& Meta3D() const = 0;
const std::vector<size_t>& RowCompressionFactor() const { return _comp_rows; }
const std::vector<size_t>& ColCompressionFactor() const { return _comp_cols; }
private:
std::vector<size_t> _comp_rows;
std::vector<size_t> _comp_cols;
};
}
#endif
/** @} */ // end of doxygen group