-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuDisplay.~h
34 lines (24 loc) · 1.27 KB
/
uDisplay.~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
//---------------------------------------------------------------------------
#ifndef uDisplayH
#define uDisplayH
#include <vector>
#include "uPoligono.h"
#include <SysUtils.hpp>
#include "uJanela.h"
#include <StdCtrls.hpp>
using namespace std;
//---------------------------------------------------------------------------
class Display{
public:
vector<Poligono> poligonos;
void mostra(TListBox *retorno);
void desenha(TCanvas *canvas, Janela mundo, Janela vp, int tipoReta);
void desenhaEixo(TCanvas *canvas, Janela mundo, Janela vp);
void escalonaDisplay(Janela mundo, Janela vp,double auxX,double auxY,int indice,boolean homogenea);
void rotacionaDisplay(Janela mundo, Janela vp,double teta,int indice,boolean homogenea);
void translocaDisplay(Janela mundo, Janela vp,double auxX,double auxY,int indice,boolean homogenea);
void rotaciona3DDisplay(Janela mundo, Janela vp,double teta, int indice,boolean homogenea,int eixo);
void escalona3DDisplay(Janela mundo, Janela vp,double auxX,double auxY,double auxZ, int indice,boolean homogenea);
void transloca3DDisplay(Janela mundo, Janela vp,double auxX,double auxY,double auxZ, int indice,boolean homogenea);
};
#endif