#import <vtkCocoaGLView.h>
This class is a subclass of Cocoa's NSView; it uses Objective-C++. This class overrides several NSView methods. It overrides keyDown and keyUp to provide the usual VTK keyboard user interface. It overrides mouseMoved, scrollWheel, mouseDown, rightMouseDown, and otherMouseDown to provide the usual VTK mouse user interface. It overrides drawRect to render and draw onscreen. Note that this class was previously a subclass of NSOpenGLView, but starting with VTK 5.0 is now a subclass of NSView.
Definition at line 53 of file vtkCocoaGLView.h.
Public Member Functions | |
(vtkCocoaRenderWindowRef) | - getVTKRenderWindow |
(void) | - setVTKRenderWindow: |
(vtkCocoaRenderWindowInteractorRef) | - getInteractor |
- (vtkCocoaRenderWindowRef) getVTKRenderWindow |
- (void) setVTKRenderWindow: | (vtkCocoaRenderWindowRef) | theVTKRenderWindow |
- (vtkCocoaRenderWindowInteractorRef) getInteractor |