[BACK]Return to MyOpenGLView.h CVS log [TXT][DIR] Up to [local] / OpenXM / src / cfep

Annotation of OpenXM/src/cfep/MyOpenGLView.h, Revision 1.3

1.1       takayama    1: //
                      2: //  MyOpenGLView.h
                      3: //  cfep
                      4: //
                      5: //  Created by Nobuki Takayama on 06/02/18.
                      6: //  Copyright 2006 OpenXM.org. All rights reserved.
                      7: //
                      8:
                      9: #import <Cocoa/Cocoa.h>
                     10: #import "MyOpenGLCommand.h"
                     11:
                     12: @interface MyOpenGLView : NSOpenGLView {
                     13:   int initGl;
                     14:   double xeye,yeye,zeye;  // eye position
                     15:   NSMutableArray *oglComm;
                     16:   int oglCommSize;
                     17:   NSMutableArray *oglInitComm;
                     18:   int oglInitCommSize;
1.2       takayama   19:   int gid;
1.1       takayama   20: }
                     21: -(id) initWithFrame: (NSRect) frameRect;
                     22: -(void) drawRectSimple: (NSRect) rect withColor: (double)c;
                     23: -(void) drawRect: (NSRect) rect ;
1.2       takayama   24: -(void) showEyePos ;
1.1       takayama   25: -(IBAction) setXeye: (id) sender;
                     26: -(IBAction) setYeye: (id) sender;
                     27: -(IBAction) setZeye: (id) sender;
1.2       takayama   28: -(void) setGid: (int) gid;
1.3     ! takayama   29: -(void) setInitGL: (id) sender;
        !            30: -(int) getOglCommSize;
        !            31: -(int) getOglInitCommSize;
1.1       takayama   32: -(void) addOglComm: (NSString *) comm by: (id) sender;
                     33: -(void) drawOglComm ;
                     34: -(void) addOglInitComm: (NSString *) comm by: (id) sender;
1.2       takayama   35:
                     36: -(NSMutableArray *)getListOfOglComm;
                     37: -(NSMutableArray *)getListOfOglInitComm;
                     38: -(int) countOfOglComm ;
                     39: -(int) countOfOglInitComm;
                     40: -(int) removeLastOfOglComm;
                     41: -(int) removeLastOfOglInitComm;
                     42: -(int) removeAllOfOglComm;
                     43: -(int) removeAllOfOglInitComm;
                     44:
1.1       takayama   45: -(void) drawOglInitComm ;
                     46: -(void) execute: (MyOpenGLCommand *)gc;
                     47: -(void) initGL ;
                     48:
                     49: -(void) glib3_ray;
                     50:
                     51: @end
                     52:
                     53: // original glib functions
                     54: void glib_line(float x,float y, float x2,float y2, int color);
                     55: void glib_putpixel(float x,float y, int color);
                     56:

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>