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

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

1.1       takayama    1: //
                      2: //  MyOpenGLController.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: #import "MyOpenGLView.h"
                     12: @class MyDocument;
                     13: #define GID_MAX 1024
                     14:
                     15: @interface MyOpenGLController : NSWindowController {
                     16:   IBOutlet NSWindow *window;
                     17:   IBOutlet MyOpenGLView *myogl;
                     18:   IBOutlet NSTextField *mymessage;
                     19: // MyOpenGL window id (gid) is an indeger.
                     20:   int gid;
                     21: }
                     22:
                     23: +(MyOpenGLController *)getOglWindow: (int) tid ;
                     24: +(MyDocument *)getOglParent: (int) tid;
                     25: +(void)initMyOpenGLController ;
                     26: +(int) myOpenGLControllerOwnedBy: (MyDocument *) owner with: (int) tid;
                     27: +(int) myOpenGLControllerOwnedBy: (MyDocument *) owner;
                     28: +(void) removeMyOpenGLControllerOwnedBy: (MyDocument *) owner;
                     29: +(MyOpenGLController *) removeMyOpenGLControllerWithGid: (int) gid;
                     30: +(void) addOglComm:     (NSString *)comm to: (int) tid from: (MyDocument *) owner;
                     31: +(void) addOglInitComm: (NSString *)comm to: (int) tid from: (MyDocument *) owner;
                     32: -(id) init ;
                     33: -(void) setGid: (int) mygid;
                     34: -(int) getGid ;
                     35: -(void) windowDidLoad ;
                     36: -(void) dealloc ;
                     37: -(void) closeMyOpenGL: (MyDocument *) md ;
                     38: -(BOOL) windowShouldClose: (NSWindow *)sender ;
                     39: -(void) addOglComm: (NSString *)comm ;   // Adding a OpenGL command.
                     40: -(void) addOglInitComm: (NSString *)comm ;   // Adding a OpenGL initialization command.
1.2     ! takayama   41: -(int) countOfOglComm ;
        !            42: -(int) countOfOglInitComm;
        !            43: -(int) removeLastOfOglComm;
        !            44: -(int) removeLastOfOglInitComm;
        !            45: -(int) removeAllOfOglComm;
        !            46: -(int) removeAllOfOglInitComm;
        !            47: -(NSMutableArray *) getListOfOglComm;
        !            48: -(NSMutableArray *) getListOfOglInitComm;
        !            49: -(void) showCount;
        !            50: -(void) showEyeX: (float) x Y: (float) y Z: (float) z ;
        !            51: -(void) clearOutput;
1.1       takayama   52: -(void) output: (NSString *)msg;
                     53: @end

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