!B (Sandbox) (CE-21795) Importing models with multisubmaterials via fbx switches...
[CRYENGINE.git] / Code / Sandbox / Plugins / LodGeneratorPlugin / UIs / ui_cabfpannelnew.h
blob890ea2f71d96f4bfad52e7b6a91779b55cbe5f46
1 /********************************************************************************
2 ** Form generated from reading UI file 'cabfpannel.ui'
3 **
4 ** Created by: Qt User Interface Compiler version 5.4.2
5 **
6 ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 ********************************************************************************/
9 #pragma once
11 #include <QtCore/QVariant>
12 #include <QtWidgets/QAction>
13 #include <QtWidgets/QApplication>
14 #include <QtWidgets/QButtonGroup>
15 #include <QtWidgets/QHBoxLayout>
16 #include <QtWidgets/QHeaderView>
17 #include <QtWidgets/QPushButton>
18 #include <QtWidgets/QVBoxLayout>
19 #include <QtWidgets/QWidget>
21 #include "QViewport.h"
22 #include "QViewportEvents.h"
23 #include "QViewportSettings.h"
24 #include "DisplayViewportAdapter.h"
26 QT_BEGIN_NAMESPACE
28 class Ui_cABFPannelNew
30 public:
31 QVBoxLayout *verticalLayout;
32 QPushButton *TestDecimator;
33 QPushButton *TestABFButton;
34 QHBoxLayout *horizontalLayout_2;
35 QViewport *UVViwer;
36 QVBoxLayout *verticalLayout_2;
37 QViewport *MeshViwer;
38 QVBoxLayout *verticalLayout_3;
40 void setupUi(QWidget *cABFPannel)
42 if (cABFPannel->objectName().isEmpty())
43 cABFPannel->setObjectName(QStringLiteral("cABFPannel"));
44 cABFPannel->resize(668, 514);
45 verticalLayout = new QVBoxLayout(cABFPannel);
46 verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
47 TestDecimator = new QPushButton(cABFPannel);
48 TestDecimator->setObjectName(QStringLiteral("TestDecimator"));
50 verticalLayout->addWidget(TestDecimator);
52 TestABFButton = new QPushButton(cABFPannel);
53 TestABFButton->setObjectName(QStringLiteral("TestABFButton"));
55 verticalLayout->addWidget(TestABFButton);
57 horizontalLayout_2 = new QHBoxLayout();
58 horizontalLayout_2->setObjectName(QStringLiteral("horizontalLayout_2"));
59 UVViwer = new QViewport(gEnv,cABFPannel);
60 UVViwer->setObjectName(QStringLiteral("UVViwer"));
61 verticalLayout_2 = new QVBoxLayout(UVViwer);
62 verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
64 horizontalLayout_2->addWidget(UVViwer);
66 MeshViwer = new QViewport(gEnv,cABFPannel);
67 MeshViwer->setObjectName(QStringLiteral("MeshViwer"));
68 verticalLayout_3 = new QVBoxLayout(MeshViwer);
69 verticalLayout_3->setObjectName(QStringLiteral("verticalLayout_3"));
71 horizontalLayout_2->addWidget(MeshViwer);
73 //-----------------------------------------------------------------------------------------
75 SViewportState viewState = UVViwer->GetState();
76 viewState.cameraTarget.SetFromVectors(Vec3(1,0,0), Vec3(0,0,-1), Vec3(0,1,0), Vec3(0.5f,0.5f,75.0f));
77 UVViwer->SetState(viewState);
79 SViewportSettings viewportSettings = UVViwer->GetSettings();
80 viewportSettings.rendering.fps = false;
81 viewportSettings.grid.showGrid = true;
82 viewportSettings.grid.spacing = 0.5f;
83 viewportSettings.camera.moveSpeed = 0.002f;
84 viewportSettings.camera.zoomSpeed = 1.5f;
85 viewportSettings.camera.showViewportOrientation = false;
86 viewportSettings.camera.transformRestraint = eCameraTransformRestraint_Rotation;
87 viewportSettings.camera.fov = 1;
88 UVViwer->SetSettings(viewportSettings);
89 UVViwer->SetSceneDimensions(Vec3(100.0f, 100.0f, 100.0f));
91 // SViewportState viewState2 = MeshViwer->GetState();
92 // viewState2.cameraTarget.SetFromVectors(Vec3(1,0,0), Vec3(0,0,-1), Vec3(0,1,0), Vec3(0.5f,0.5f,175.0f));
93 // UVViwer->SetState(viewState2);
94 //
95 // SViewportSettings viewportSettings2 = MeshViwer->GetSettings();
96 // viewportSettings2.rendering.fps = false;
97 // viewportSettings2.grid.showGrid = false;
98 // viewportSettings2.grid.spacing = 0.5f;
99 // viewportSettings2.camera.moveSpeed = 0.012f;
100 // viewportSettings2.camera.zoomSpeed = 12.5f;
101 // viewportSettings2.camera.showViewportOrientation = false;
102 // viewportSettings2.camera.transformRestraint = eCameraTransformRestraint_Rotation;
103 // viewportSettings2.camera.fov = 1;
104 // MeshViwer->SetSettings(viewportSettings2);
105 // MeshViwer->SetSceneDimensions(Vec3(500.0f, 500.0f, 500.0f));
107 //-----------------------------------------------------------------------------------------
110 verticalLayout->addLayout(horizontalLayout_2);
111 retranslateUi(cABFPannel);
113 QMetaObject::connectSlotsByName(cABFPannel);
114 } // setupUi
116 void retranslateUi(QWidget *cABFPannel)
118 cABFPannel->setWindowTitle(QApplication::translate("cABFPannel", "Form", 0));
119 TestDecimator->setText(QApplication::translate("cABFPannel", "TestDecimator", 0));
120 TestABFButton->setText(QApplication::translate("cABFPannel", "TestABF", 0));
121 } // retranslateUi
125 namespace Ui {
126 class cABFPannelNew: public Ui_cABFPannelNew {};
127 } // namespace Ui
129 QT_END_NAMESPACE