VTK
dox
opt
build
vtk6-6.3.0+dfsg2
Rendering
OpenGL2
vtkCocoaGLView.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkCocoaGLView.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
=========================================================================*/
41
#ifndef vtkCocoaGLView_h
42
#define vtkCocoaGLView_h
43
44
#import <Cocoa/Cocoa.h>
45
46
// Note: This file should be includable by both pure Objective-C and Objective-C++ source files.
47
// To achieve this, we use the neat technique below:
48
#ifdef __cplusplus
49
// Forward declarations
50
class
vtkCocoaRenderWindow
;
51
class
vtkCocoaRenderWindowInteractor
;
52
53
// Type declarations
54
typedef
vtkCocoaRenderWindow
*
vtkCocoaRenderWindowRef
;
55
typedef
vtkCocoaRenderWindowInteractor
*
vtkCocoaRenderWindowInteractorRef
;
56
#else
57
// Type declarations
58
typedef
void
*
vtkCocoaRenderWindowRef
;
59
typedef
void
*
vtkCocoaRenderWindowInteractorRef
;
60
#endif
61
62
@interface
vtkCocoaGLView
: NSView
63
{
64
@private
65
vtkCocoaRenderWindowRef
_myVTKRenderWindow;
66
NSTrackingArea* _rolloverTrackingArea;
67
}
68
69
- (
vtkCocoaRenderWindowRef
)getVTKRenderWindow;
70
- (
void
)setVTKRenderWindow:(
vtkCocoaRenderWindowRef
)theVTKRenderWindow;
71
72
- (
vtkCocoaRenderWindowInteractorRef
)getInteractor;
73
74
@end
75
76
#endif
/* vtkCocoaGLView_h */
77
// VTK-HeaderTest-Exclude: vtkCocoaGLView.h
vtkCocoaRenderWindowInteractor
implements Cocoa specific functions required by vtkRenderWindowInteractor.
Definition:
vtkCocoaRenderWindowInteractor.h:43
vtkCocoaGLView
Cocoa OpenGL rendering context.
Definition:
vtkCocoaGLView.h:63
vtkCocoaRenderWindowInteractorRef
void * vtkCocoaRenderWindowInteractorRef
Definition:
vtkCocoaGLView.h:59
vtkCocoaRenderWindowRef
void * vtkCocoaRenderWindowRef
Definition:
vtkCocoaGLView.h:58
vtkCocoaRenderWindow
Cocoa OpenGL rendering window.
Definition:
vtkCocoaRenderWindow.h:49
vtkgl::void
typedef void(APIENTRYP PFNGLBLENDCOLORPROC)(GLclampf red
Generated by
1.8.20