IImportODM.hpp
1 #ifndef DM_IO_IMPORT_ODM_HPP_INCLUDED
2 #define DM_IO_IMPORT_ODM_HPP_INCLUDED
3 
4 #ifdef _MSC_VER
5  #pragma once
6 #endif
7 
8 //DM
9 #include "DM/config.hpp"
10 #include "DM/AutoLink.hpp" //enable autolink
11 
12 #include "DM/ColumnTypes.hpp"
13 #include "DM/IO/IImport.hpp"
14 #include "DM/IDatamanager.hpp"
15 
16 
17 DM_NAMESPACE_BEGIN
18 
19 class DM_API IImportODM : public virtual IImport
20 {
21 public:
22  static IImportODM* New( Handle< IDatamanager > manager, bool restoreOrder, FilterHandle filter = FilterHandle(), ControlObjectHandle control = ControlObjectHandle(),
23  bool collectHdrContents = false, unsigned maxBulkPoints = 1000 );
24 
25  static IImportODM* New( IDatamanager &manager, bool restoreOrder, FilterHandle filter = FilterHandle(), ControlObjectHandle control = ControlObjectHandle(),
26  bool collectHdrContents = false, unsigned maxBulkPoints = 1000 );
27 
28 
29 protected:
30  virtual ~IImportODM() {}
31 
32 public:
33 
34  /// \brief get access to the actual manager object
35  virtual IDatamanager& manager() const = 0;
36 };
37 
39 
40 
41 DM_NAMESPACE_END
42 
43 #endif //DM_IO_IMPORT_LAS_HPP_INCLUDED