-
Notifications
You must be signed in to change notification settings - Fork 0
/
Layer.h
61 lines (46 loc) · 1.1 KB
/
Layer.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
//
//
// @ Project : DgcApp
// @ File Name : Layer.h
// @ Date : 15/03/2012
// @ Author : Leonardo Lanchas
//
//
#if !defined(_LAYER_H)
#define _LAYER_H
#include <QColor>
#include "Subject.h"
#include "iObj.h"
#include "Edge.h"
#include <vector>
using namespace std;
class Layer : public Subject
{
public:
Layer();
Layer( iObj * );
~Layer();
void SetObj( iObj * );
iObj * getObj( void );
vector < Edge * > * GetState();
void SetState( void );
void FacePoints( int, punto3d *, punto3d *, punto3d * );
int getObjNumFaces( void );
Face * getNFace( int );
void setColor( QColor );
QColor getColor( void );
void ToggleVisible( void );
void Escalation( double sx, double sy, double sz );
void Translation( double tx, double ty, double tz );
void RotationX( double ang );
void RotationY( double ang );
void RotationZ( double ang );
void selfRotation( double );
void ToggleVisible( bool );
bool isVisible( void );
private:
iObj * Obj;
bool visible;
QColor Color;
};
#endif //_LAYER_H