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

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:, 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 59 of file vtkCocoaGLView.h.


Member Function Documentation

- (void) setVTKRenderWindow: (vtkCocoaRenderWindowRef theVTKRenderWindow

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