VTK
|
Cocoa OpenGL rendering context. More...
#import <vtkCocoaGLView.h>
Public Member Functions | |
(vtkCocoaRenderWindowRef) | - getVTKRenderWindow |
(void) | - setVTKRenderWindow: |
(vtkCocoaRenderWindowInteractorRef) | - getInteractor |
Cocoa OpenGL rendering context.
This class is a subclass of Cocoa's NSView; it uses Objective-C++. This class overrides several NSView methods. To provide the usual VTK keyboard user interface, it overrides the following methods from NSResponder: acceptsFirstResponder, keyDown:, keyUp:, and flagsChanged: To provide the usual VTK mouse user interface, it overrides the following methods from NSResponder: mouseMoved:, mouseEntered:, mouseExited: scrollWheel:, mouseDown:, rightMouseDown:, otherMouseDown:, and resetCursorRects. To be able to render and draw onscreen, it overrides drawRect: from NSView.
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 59 of file vtkCocoaGLView.h.
- (void) setVTKRenderWindow: | (vtkCocoaRenderWindowRef) | theVTKRenderWindow |