-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathShape.h
More file actions
51 lines (44 loc) · 1.23 KB
/
Copy pathShape.h
File metadata and controls
51 lines (44 loc) · 1.23 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
45
46
47
48
49
50
51
//
// Slice.h
// RMi
//
// Created by Marcelo da Mata on 13/04/2013.
//
//
#import <Foundation/Foundation.h>
#import <GLKit/GLKit.h>
#import "MeshMaterial.h"
@interface Shape : MeshMaterial {
@private
int n;
@protected
float depth, width, height;
float orientation[6];
float thickness;
BOOL haveColors;
GLint direction;
}
@property (nonatomic, strong) UIImage *imageTexture;
@property (nonatomic, strong) NSMutableArray *pointsSlice;
@property (nonatomic, readwrite) GLKVector2 *pointsTexture;
@property (nonatomic, readwrite) GLuint pointsTextureLenght;
@property (nonatomic, readwrite) NSString *name;
@property (nonatomic, strong) NSMutableArray *faces;
-(id)init;
-(id)initWithImage: (UIImage *)image;
-(void)setOrientation: (float)x1 : (float)y1 : (float)z1 : (float)x2 : (float)y2 : (float)z2;
-(int)getOrientation;
-(void)setOrientation: (GLint) o;
-(void)setSizes: (float)widthNum : (float)heightNum : (float)depthNum;
-(void)setDepth: (float)d;
-(float)getWidth;
-(float)getHeight;
-(float)getDepth;
-(float)getThickness;
-(void)setThickness: (float)t;
-(void)generatePoints: (BOOL)points;
-(int) calculateOrientation;
-(NSMutableArray *)getPoints;
-(BOOL)haveColors;
- (void)addFace:(Face3 *)face;
@end