VTK
vtkIOSGLView.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkIOSGLView.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
35 #ifndef vtkIOSGLView_h
36 #define vtkIOSGLView_h
37 
38 #import <UIKit/UIKit.h>
39 
40 // Note: This file should be includable by both pure Objective-C and Objective-C++ source files.
41 // To achieve this, we use the neat technique below:
42 #ifdef __cplusplus
43  // Forward declarations
44  class vtkIOSRenderWindow;
46 
47  // Type declarations
50 #else
51  // Type declarations
52  typedef void *vtkIOSRenderWindowRef;
54 #endif
55 
56 @interface vtkIOSGLView : UIView
57 {
58  @private
59  vtkIOSRenderWindowRef _myVTKRenderWindow;
60 }
61 
63 - (void)setVTKRenderWindow:(vtkIOSRenderWindowRef)theVTKRenderWindow;
64 
66 
68 
69 @end
70 
71 #endif /* vtkIOSGLView_h */
72 // VTK-HeaderTest-Exclude: vtkIOSGLView.h
implements IOS specific functions required by vtkRenderWindowInteractor.
typedef void(APIENTRYP PFNGLBLENDCOLORPROC)(GLclampf red
vtkIOSRenderWindowRef getVTKRenderWindow()
vtkIOSRenderWindowInteractorRef getInteractor()
void * vtkIOSRenderWindowRef
Definition: vtkIOSGLView.h:52
void * vtkIOSRenderWindowInteractorRef
Definition: vtkIOSGLView.h:53
void setupPipeline()
IOS OpenGL rendering window.
IOS OpenGL rendering context.
Definition: vtkIOSGLView.h:56