-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGUIManager.h
More file actions
44 lines (36 loc) · 1 KB
/
GUIManager.h
File metadata and controls
44 lines (36 loc) · 1 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
// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
// SPDX-FileCopyrightText: Copyright 2009 Sandia Corporation
// SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
#ifndef GUIMANAGER_H
#define GUIMANAGER_H
#include "Renderer.h"
#include "vtkProperty.h"
#include <QMainWindow>
#include <vtkConeSource.h>
#include <vtkPolyDataMapper.h>
#include <vtkQtTableView.h>
#include <vtkSmartPointer.h>
#include <vtkVolume.h>
#include <qmainwindow.h>
class Ui_SimpleView;
class GUIManager : public QMainWindow
{
Q_OBJECT
public:
GUIManager();
~GUIManager() override;
public slots:
void slotOpenFile();
void slotExit();
void setRenderMode(Renderer::RenderMode mode);
void setDisplayMode(Renderer::DisplayMode displayMode);
private:
Ui_SimpleView* ui;
vtkSmartPointer<vtkQtTableView> TableView;
Renderer renderer;
vtkSmartPointer<vtkVolume> volume;
CaveLogger logger;
QAction* currentRenderModeAction = nullptr;
QMainWindow window;
};
#endif // GUIMANAGER_H