27 |
#include <AppKit/NSOpenGLView.h> |
#include <AppKit/NSOpenGLView.h> |
28 |
|
|
29 |
@class Camera; |
@class Camera; |
30 |
|
@class Frustum; |
31 |
@class MdlAnimatedModel; |
@class MdlAnimatedModel; |
32 |
@class MdlModel; |
@class MdlModel; |
33 |
|
@class ModelController; |
34 |
|
@class OpenFileControl; |
35 |
|
|
36 |
@interface ModelView : NSOpenGLView |
@interface ModelView : NSOpenGLView |
37 |
{ |
{ |
38 |
BOOL _init; |
BOOL _init; |
39 |
|
BOOL _initModel; |
40 |
|
NSMutableArray *_animeNames; |
41 |
|
|
42 |
Camera *_cam; |
Camera *_cam; |
43 |
|
Frustum *_frustum; |
44 |
MdlAnimatedModel *_model; |
MdlAnimatedModel *_model; |
45 |
MdlModel *_base; |
MdlModel *_base; |
46 |
|
ModelController *_control; |
47 |
|
OpenFileControl *_fileControl; |
48 |
|
BOOL _affiche; |
49 |
|
|
50 |
|
int _mode; |
51 |
} |
} |
52 |
|
|
53 |
|
- (void) rotateHeading2: (double)heading; |
54 |
|
- (void) rotatePitch2: (double)pitch; |
55 |
|
|
56 |
|
- (void) rotateAll: (double)heading |
57 |
|
withPitch: (double)pitch; |
58 |
|
|
59 |
|
- (void) afficheOff; |
60 |
|
- (void) afficheOn; |
61 |
|
|
62 |
|
- (NSMutableArray*) animeNames; |
63 |
|
- (void) changeAnime: (NSString *)name; |
64 |
|
|
65 |
|
- (void) changeMode: (int)mode; |
66 |
|
|
67 |
|
|
68 |
@end |
@end |
69 |
|
|
70 |
#endif /* MODEL_VIEW_H */ |
#endif /* MODEL_VIEW_H */ |