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

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

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;
                     19: }
                     20: -(id) initWithFrame: (NSRect) frameRect;
                     21: -(void) drawRectSimple: (NSRect) rect withColor: (double)c;
                     22: -(void) drawRect: (NSRect) rect ;
                     23: -(IBAction) setXeye: (id) sender;
                     24: -(IBAction) setYeye: (id) sender;
                     25: -(IBAction) setZeye: (id) sender;
                     26: -(void) addOglComm: (NSString *) comm by: (id) sender;
                     27: -(void) drawOglComm ;
                     28: -(void) addOglInitComm: (NSString *) comm by: (id) sender;
                     29: -(void) drawOglInitComm ;
                     30: -(void) execute: (MyOpenGLCommand *)gc;
                     31: -(void) initGL ;
                     32:
                     33: -(void) glib3_ray;
                     34:
                     35: @end
                     36:
                     37: // original glib functions
                     38: void glib_line(float x,float y, float x2,float y2, int color);
                     39: void glib_putpixel(float x,float y, int color);
                     40:

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