-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
53 lines (51 loc) · 1.27 KB
/
Copy pathmain.cpp
File metadata and controls
53 lines (51 loc) · 1.27 KB
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
#include "osgqt.h"
#include "structures.h"
#include <QApplication>
#include <QTime>
#include <osgQt/GraphicsWindowQt>
#include <osgViewer/Viewer>
#include <osg/Node>
#include <osg/LightModel>
#include <osg/Group>
#include <osgDB/ReadFile>
#include <osgGA/TrackballManipulator>
#include <osg/Camera>
#include <iostream>
//#include <io.h>
#include <osg/Image>
#include <osgDB/WriteFile>
#include <osg/PositionAttitudeTransform>
#include <osg/MatrixTransform>
#include <osg/TextureCubeMap>
#include <osg/TexGen>
#include <osg/TexEnvCombine>
#include <osgFX/Scribe>
#include <osgUtil/HighlightMapGenerator>
#include <iostream>
#include <fstream>
#include <vector>
#include <osgViewer/ViewerEventHandlers>
#include <QSplitter>
#include <QGridLayout>
#include <QPushButton>
#include <qtextcodec.h>
using namespace std;
int main(int argc, char *argv[])
{
Q_INIT_RESOURCE(image);
QApplication a(argc, argv);
osgqt w;
w.setWindowFlags(w.windowFlags());//&Qt::WindowMaximizeButtonHint添加最大化按钮
w.showMaximized();
w.setWindowTitle(QObject::tr("Shape2PCL Tool"));
w.show();
/*showpcl w;
w.show();*/
return a.exec();
}
//void main(int argc, char* argv[])
//{
// QString rootpath = "D:/my/sunxun/test8";
// createPCL pcl1;
// pcl1.createSinglePCL(rootpath);
//}