VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
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
=========================================================================*/
38
#ifndef __vtkCocoaGLView_h
39
#define __vtkCocoaGLView_h
40
41
#import <Cocoa/Cocoa.h>
42
43
// Note: This file should be includable by both pure Objective-C and Objective-C++ source files.
44
// To achieve this, we use the neat technique below:
45
#ifdef __cplusplus
46
// Forward declarations
47
class
vtkCocoaRenderWindow
;
48
class
vtkCocoaRenderWindowInteractor
;
49
50
// Type declarations
51
typedef
vtkCocoaRenderWindow
*
vtkCocoaRenderWindowRef
;
52
typedef
vtkCocoaRenderWindowInteractor
*
vtkCocoaRenderWindowInteractorRef
;
53
#else
54
// Type declarations
55
typedef
void
*
vtkCocoaRenderWindowRef
;
56
typedef
void
*
vtkCocoaRenderWindowInteractorRef
;
57
#endif
58
59
@interface
vtkCocoaGLView
: NSView
60
{
61
@private
62
vtkCocoaRenderWindowRef
myVTKRenderWindow;
63
NSTrackingRectTag rolloverTrackingRectTag;
64
BOOL rolloverTrackingRectSet;
65
}
66
67
- (
vtkCocoaRenderWindowRef
)getVTKRenderWindow;
68
- (void)setVTKRenderWindow:(
vtkCocoaRenderWindowRef
)theVTKRenderWindow;
69
70
- (
vtkCocoaRenderWindowInteractorRef
)getInteractor;
71
72
@end
73
74
#endif
/* __vtkCocoaGLView_h */
Generated on Fri Aug 2 2013 12:20:01 for VTK by
1.8.4