00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkCocoaGLView.h,v $ 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00032 #import <Cocoa/Cocoa.h> 00033 00034 // Forward declarations 00035 class vtkCocoaRenderWindow; 00036 class vtkCocoaRenderWindowInteractor; 00037 00038 @interface vtkCocoaGLView : NSView 00039 { 00040 @private 00041 vtkCocoaRenderWindow *myVTKRenderWindow; 00042 } 00043 00044 - (vtkCocoaRenderWindow *)getVTKRenderWindow; 00045 - (void)setVTKRenderWindow:(vtkCocoaRenderWindow *)theVTKRenderWindow; 00046 00047 - (vtkCocoaRenderWindowInteractor *)getInteractor; 00048 00049 @end