Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages

# Rendering/vtkCocoaGLView.h

Go to the documentation of this file.

    00001 #import <Cocoa/Cocoa.h>
    00002 #import <OpenGL/gl.h>
    00003 #define id Id
    00004 #import "vtkCocoaRenderWindow.h"
    00005 #import "vtkCocoaRenderWindowInteractor.h"
    00006 #include "vtkInteractorStyle.h"
    00007 #undef id
    00008
    00009 @interface vtkCocoaGLView : NSOpenGLView
    00010 {
    00011     enum NSOpenGLPixelFormatAttribute bitsPerPixel, depthSize;
    00012
    00013     @private
    00014     vtkCocoaRenderWindow *myVTKRenderWindow;
    00015     vtkCocoaRenderWindowInteractor *myVTKRenderWindowInteractor;
    00016 }
    00017
    00018 // Overrides
    00019 - (void) drawRect:(NSRect)theRect;
    00020 - (id)initWithFrame:(NSRect)theFrame;
    00021
    00022 - (vtkCocoaRenderWindow *)getVTKRenderWindow;
    00023 - (void)setVTKRenderWindow:(vtkCocoaRenderWindow *)theVTKRenderWindow;
    00024
    00025 - (vtkCocoaRenderWindowInteractor *)getVTKRenderWindowInteractor;
    00026 - (void)setVTKRenderWindowInteractor:(vtkCocoaRenderWindowInteractor *)theVTKRenderWindowInteractor;
    00027
    00028 - (void*)getOpenGLContext;
    00029
    00030 @end