VTK
/Users/kitware/Dashboards/MyTests/VTK_BLD_Release_docs/Utilities/Doxygen/dox/Rendering/OpenGL2/vtkIOSGLView.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkIOSGLView.h
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 =========================================================================*/
00035 #ifndef vtkIOSGLView_h
00036 #define vtkIOSGLView_h
00037 
00038 #import <UIKit/UIKit.h>
00039 
00040 // Note: This file should be includable by both pure Objective-C and Objective-C++ source files.
00041 // To achieve this, we use the neat technique below:
00042 #ifdef __cplusplus
00043   // Forward declarations
00044   class vtkIOSRenderWindow;
00045   class vtkIOSRenderWindowInteractor;
00046 
00047   // Type declarations
00048   typedef vtkIOSRenderWindow *vtkIOSRenderWindowRef;
00049   typedef vtkIOSRenderWindowInteractor *vtkIOSRenderWindowInteractorRef;
00050 #else
00051   // Type declarations
00052   typedef void *vtkIOSRenderWindowRef;
00053   typedef void *vtkIOSRenderWindowInteractorRef;
00054 #endif
00055 
00056 @interface vtkIOSGLView : UIView
00057 {
00058   @private
00059   vtkIOSRenderWindowRef _myVTKRenderWindow;
00060 }
00061 
00062 - (vtkIOSRenderWindowRef)getVTKRenderWindow;
00063 - (void)setVTKRenderWindow:(vtkIOSRenderWindowRef)theVTKRenderWindow;
00064 
00065 - (vtkIOSRenderWindowInteractorRef)getInteractor;
00066 
00067 - (void)setupPipeline;
00068 
00069 @end
00070 
00071 #endif /* vtkIOSGLView_h */
00072 // VTK-HeaderTest-Exclude: vtkIOSGLView.h