vtkCocoaWindow.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00037 #import <Cocoa/Cocoa.h>
00038
00039 @class vtkCocoaGLView;
00040
00041 @interface vtkCocoaWindow : NSWindow
00042 {
00043 @private
00044 IBOutlet vtkCocoaGLView *myvtkCocoaGLView;
00045 void *myVTKRenderWindow;
00046 void *myVTKRenderWindowInteractor;
00047 }
00048
00049
00050
00051 - (vtkCocoaGLView *)getvtkCocoaGLView;
00052 - (void)setvtkCocoaGLView:vtkCocoaGLView;
00053
00054 - (void *)getVTKRenderWindow;
00055 - (void)setVTKRenderWindow:(void *)theVTKRenderWindow;
00056
00057 - (void *)getVTKRenderWindowInteractor;
00058 - (void)setVTKRenderWindowInteractor:(void *)theVTKRenderWindowInteractor;
00059
00060 - (void)makeCurrentContext;
00061
00062 - (NSSize)windowWillResize:(NSWindow *)sender toSize:(NSSize)proposedFrameSize;
00063 - (BOOL)windowShouldZoom:(NSWindow *)sender toFrame:(NSRect)newFrame;
00064 - (void)close;
00065
00066 @end