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

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

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.1       takayama   29: -(void) addOglComm: (NSString *) comm by: (id) sender;
                     30: -(void) drawOglComm ;
                     31: -(void) addOglInitComm: (NSString *) comm by: (id) sender;
1.2     ! takayama   32:
        !            33: -(NSMutableArray *)getListOfOglComm;
        !            34: -(NSMutableArray *)getListOfOglInitComm;
        !            35: -(int) countOfOglComm ;
        !            36: -(int) countOfOglInitComm;
        !            37: -(int) removeLastOfOglComm;
        !            38: -(int) removeLastOfOglInitComm;
        !            39: -(int) removeAllOfOglComm;
        !            40: -(int) removeAllOfOglInitComm;
        !            41:
1.1       takayama   42: -(void) drawOglInitComm ;
                     43: -(void) execute: (MyOpenGLCommand *)gc;
                     44: -(void) initGL ;
                     45:
                     46: -(void) glib3_ray;
                     47:
                     48: @end
                     49:
                     50: // original glib functions
                     51: void glib_line(float x,float y, float x2,float y2, int color);
                     52: void glib_putpixel(float x,float y, int color);
                     53:

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