00001 #import <Cocoa/Cocoa.h>
00002 #import <OpenGL/glu.h>
00003 #import "TFController.h"
00004 #import "Matrix4x4.h"
00005 #import "MyDocument.h"
00006 #import "MultipleLayerModel.h"
00007 #import "FlowData.h"
00008 #import "FlowGeometry.h"
00009
00015 @interface OpenGLFrame : NSOpenGLView {
00016
00017 GLuint shaderProgram;
00019 Matrix4x4 * camera;
00021 BOOL _paused;
00023 IBOutlet TFController * _tfController;
00024
00025 IBOutlet MyDocument * _document;
00026
00027 NSArray * channels;
00029 FlowData * data;
00031 }
00032
00033 @property (retain) NSArray * channels;
00034 @property (retain) FlowData * data;
00035
00036
00043 - (void) updateTransferfunction:(NSNotification*)notification;
00044
00050 - (void) initiateRedraw:(NSNotification *)notification;
00051
00055 - (void) toggleRender;
00056
00057 @end