VTK
Public Member Functions
vtkCocoaGLView Class Reference

Cocoa OpenGL rendering context. More...

#import <vtkCocoaGLView.h>

List of all members.

Public Member Functions

(vtkCocoaRenderWindowRef- getVTKRenderWindow
(void) - setVTKRenderWindow:
(vtkCocoaRenderWindowInteractorRef- getInteractor
(vtkCocoaRenderWindowRef- getVTKRenderWindow
(void) - setVTKRenderWindow:
(vtkCocoaRenderWindowInteractorRef- getInteractor

Detailed Description

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:, mouseDragged:, rightMouseDragged:, otherMouseDragged:, 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.

See also:
vtkCocoaRenderWindow vtkCocoaRenderWindowInteractor

Definition at line 60 of file vtkCocoaGLView.h.


Member Function Documentation

- (void) setVTKRenderWindow: (vtkCocoaRenderWindowRef theVTKRenderWindow
- (void) setVTKRenderWindow: (vtkCocoaRenderWindowRef theVTKRenderWindow

The documentation for this class was generated from the following files: