forked from dm08/projet_dev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathXOrthoLaserPile.h
57 lines (44 loc) · 1.73 KB
/
XOrthoLaserPile.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
#pragma once
#include "XOrthoLaserDalle.h"
#include <list>
class XError;
class XOrthoLaserPile
{
protected:
bool DoFusionHZ_Monochrome(std::string OutputFolder,std::ofstream* outMetadata,XError* error);
bool DoFusionHZ_Color(std::string OutputFolder,std::ofstream* outMetadata,XError* error);
bool DoFusionHZXYZ_Monochrome(std::string OutputFolder,std::ofstream* outMetadata,XError* error);
bool DoFusionHZXYZ_Color(std::string OutputFolder,std::ofstream* outMetadata,XError* error);
public:
XOrthoLaserChantier* parent;
std::vector<XOrthoLaserDalle*> vecDalle;
XOrthoLaserDalle* m_masterDalle;// a priori toujours vecDalle[0] -> a supprimer !!
public:
XOrthoLaserPile(XOrthoLaserChantier* pparent);
~XOrthoLaserPile(void);
uint32 NbDalles(){return vecDalle.size();}
XFrame Frame(){if(vecDalle.empty())return XFrame(); return vecDalle[0]->Frame();}
XError* Error();
bool InitMasterDalle();
uint32 NbMesures();
uint32 NbMesuresValides();
std::vector<XOrthoLaserDalle*> VecDalle(){return vecDalle;}
XOrthoLaserDalle* Dalle(uint32 i){if (i < vecDalle.size()) return vecDalle[i]; return NULL;}
XOrthoLaserDalle* MasterDalle(){return m_masterDalle;}
std::list<XOrthoLaserRxp*> listRxp();
// NO TRAJ std::list<ProjPostProcessSolution*> listTrajecto();
XPt2D Center();
XPt2D NW();
XPt2D SW();
XPt2D Coord(uint16 col, uint16 lig);
XPt3D OffsetUsefull();
std::string Id();
bool IsIn(XPt2D P);
//Traitements
bool ProcessFusion(std::string OutputFolder,bool monochrome,std::ofstream* outMetadata,XError* error);
bool ExportToPly(double coefZ);
bool ExportToPlyIndiv(double coefZ);
std::string PlyFile();
void InfosConsole();
bool ExportMesuresDalles(std::ostream* out);
};