vtkCocoaGLView Class Reference

#import <vtkCocoaGLView.h>

List of all members.


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.


Public Member Functions

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

Member Function Documentation

- (vtkCocoaRenderWindowRef) getVTKRenderWindow  

- (void) setVTKRenderWindow: (vtkCocoaRenderWindowRef theVTKRenderWindow  

- (vtkCocoaRenderWindowInteractorRef) getInteractor  


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

Generated on Wed Aug 24 11:31:18 2011 for VTK by  doxygen 1.5.6