1 #ifndef OPALS_ISEGMENTATION_HPP_INCLUDED
2 #define OPALS_ISEGMENTATION_HPP_INCLUDED
4 #include <opals/IModuleBase.hpp>
5 #include <DM/IPointIndexLeaf.hpp>
7 #if !defined(OPALS_EXPORTS) && !defined(OPALS_MODULE_EXPORTS)
8 #if defined _DEBUG && !defined OPALS_NO_DEBUG
9 #pragma comment(lib, "opalsSegmentation_d.lib")
11 #pragma comment(lib, "opalsSegmentation.lib")
15 #include <opals/Path.hpp>
16 #include <opals/String.hpp>
17 #include <opals/Vector.hpp>
18 #include <opals/SearchMode.hpp>
19 #include <opals/SegmentationMethod.hpp>
20 #include <opals/SegmentSort.hpp>
21 #include <opals/SharedPtr.hpp>
22 #include <opals/ISegmentManager.hpp>
28 namespace Segmentation
31 typedef IGroup< Names::_,
false, Cons<
32 ILeaf< Names::inFile, false, opals::Path >, Cons<
33 ILeaf< Names::method, false, opals::SegmentationMethod::Type >, Cons<
34 ILeaf< Names::searchRadius, false, opals::Vector< float > >, Cons<
35 ILeaf< Names::searchMode, false, opals::SearchMode::Type >, Cons<
36 ILeaf< Names::minSegSize, false, unsigned >, Cons<
37 ILeaf< Names::filter, false, opals::Vector<opals::String> >, Cons<
38 IGroup< Names::condClustering,
false, Cons<
39 ILeaf< Names::criterion, false, opals::String >, Cons<
40 ILeaf< Names::alphaShapeRefPlane, false, opals::Vector<double> >
42 IGroup< Names::planeExtraction,
false, Cons<
43 ILeaf< Names::maxDist, false, double >, Cons<
44 ILeaf< Names::maxSigma, false, double >, Cons<
45 ILeaf< Names::seedCalculator, false, opals::String >
47 ILeaf< Names::alphaRadius, false, double >, Cons<
48 ILeaf< Names::sort, false, opals::SegmentSort::Type >, Cons<
49 ILeaf< Names::debugOutFile, false, opals::Path >, Cons<
50 ILeaf< Names::segments, true, opals::SharedPtr<opals::ISegmentManager> >
51 > > > > > > > > > > > > > Options;
75 virtual const Options& opts()
const = 0;