VTK  9.6.20260212
vtkCocoaHardwareView Class Reference

This class is a subclass of Cocoa's NSView; it uses Objective-C++. More...

#include <vtkCocoaHardwareView.h>

Inherits NSView, and <NSDraggingDestination>.

Instance Methods

(vtkCocoaHardwareWindowRef- getHardwareWindow
 
(void) - setHardwareWindow:
 
(vtkCocoaRenderWindowInteractorRef- getInteractor
 

Detailed Description

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: acceptsFirstResponder, keyDown:, keyUp:, and flagsChanged: To provide the usual VTK mouse user interface, it overrides the following methods: mouseMoved:, mouseEntered:, mouseExited: scrollWheel:, mouseDown:, rightMouseDown:, otherMouseDown:, mouseDragged:, rightMouseDragged:, otherMouseDragged:, and updateTrackingAreas. To provide file dropping support, it implements the following methods: draggingEntered: and performDragOperation:. To be able to render and draw onscreen, it overrides drawRect:.

See also
vtkCocoaHardwareWindow vtkCocoaRenderWindowInteractor

Definition at line 54 of file vtkCocoaHardwareView.h.

Method Documentation

◆ getHardwareWindow

- (vtkCocoaHardwareWindowRef) getHardwareWindow

◆ setHardwareWindow:

- (void) setHardwareWindow: (vtkCocoaHardwareWindowRef) theHardwareWindow

◆ getInteractor


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