Coupure prévue mardi 3 Août au matin pour maintenance du serveur. Nous faisons au mieux pour que celle-ci soit la plus brève possible.

cameraViewDialog.h 698 Bytes
Newer Older
Pierre Kraemer's avatar
Pierre Kraemer committed
1
2
3
4
5
#ifndef _CAMERAVIEWDIALOG_H_
#define _CAMERAVIEWDIALOG_H_

#include "ui_cameraViewDialog.h"

Pierre Kraemer's avatar
Pierre Kraemer committed
6
7
8
9
10
11
namespace CGoGN
{

namespace SCHNApps
{

Pierre Kraemer's avatar
Pierre Kraemer committed
12
class Window;
13
class Camera;
Pierre Kraemer's avatar
Pierre Kraemer committed
14
15
16
17
18
19
20
21
22
23
24
25
26
class View;

class CameraViewDialog : public QDialog, Ui::CameraViewDialog
{
	Q_OBJECT

public:
	CameraViewDialog(Window* window, View* view);
	~CameraViewDialog();

private:
	Window* m_window;
	View* m_view;
27
	bool b_refreshingUI;
Pierre Kraemer's avatar
Pierre Kraemer committed
28

29
30
	void selectCurrentCamera();

Pierre Kraemer's avatar
Pierre Kraemer committed
31
public slots:
32
	void selectedCameraChanged();
33
34
	void selectCamera(View* view, Camera* camera);
	void deselectCamera(View* view, Camera* camera);
35
36
	void addCameraToList(Camera* c);
	void removeCameraFromList(Camera* c);
Pierre Kraemer's avatar
Pierre Kraemer committed
37
38
};

Pierre Kraemer's avatar
Pierre Kraemer committed
39
40
41
42
} // namespace SCHNApps

} // namespace CGoGN

Pierre Kraemer's avatar
Pierre Kraemer committed
43
#endif