Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOTOpenGLView Class Reference

Definition at line 23 of file ROOTOpenGLView.h.

Instance Methods

(BOOL) - acceptsCrossingEvents:
 
(void) - activateGrab:ownerEvents:
 
(void) - activateImplicitGrab
 
(void) - activatePassiveGrab
 
(void) - addChild:
 
(void) - addPassiveKeyGrab:modifiers:
 
(void) - cancelGrab
 
(void) - configureNotifyTree
 
(void) - copy:area:withMask:clipOrigin:toPoint:
 
(void) - dealloc
 
(NSDragOperation) - draggingEntered:
 
(unsigned) - fHeight
 
(PassiveKeyGrab *) - findPassiveKeyGrab:
 
(PassiveKeyGrab *) - findPassiveKeyGrab:modifiers:
 
(BOOL) - fIsOpenGLWidget
 
(BOOL) - fIsOverlapped
 
(BOOL) - fIsPixmap
 
(CGFloat) - fScaleFactor
 
(unsigned) - fWidth
 
(int- fX
 
(int- fY
 
(void) - getAttributes:
 
(TVirtualX::EDrawMode- getDrawMode
 
(unsigned char *) - getProperty:returnType:returnFormat:nElements:
 
(BOOL) - hasProperty:
 
(id- initWithFrame:pixelFormat:
 
(id- initWithFrame:windowAttributes:
 
(BOOL) - isDirectDraw
 
(BOOL) - isFlipped
 
(void) - lowerWindow
 
(void) - mapRaised
 
(void) - mapSubwindows
 
(void) - mapWindow
 
(BOOL) - performDragOperation:
 
(NSOpenGLPixelFormat *) - pixelFormat
 
(void) - raiseWindow
 
(unsigned char *) - readColorBits:
 
(void) - removePassiveKeyGrab:modifiers:
 
(void) - removeProperty:
 
(void) - setAttributes:
 
(void) - setDirectDraw:
 
(void) - setDrawableSize:
 
(void) - setDrawMode:
 
(void) - setOverlapped:
 
(void) - setPixelFormat:
 
(void) - setProperty:data:size:forType:format:
 
(void) - setX:Y:
 
(void) - setX:Y:width:height:
 
(void) - unmapWindow
 

Protected Attributes

unsigned fActiveGrabEventMask
 
BOOL fActiveGrabOwnerEvents
 
TAttFill fAttFill
 current fill attributes
 
TAttLine fAttLine
 current line attributes
 
TAttMarker fAttMarker
 current marker attribute
 
TAttText fAttText
 current text attribute
 
ROOT::MacOSX::X11::PointerGrab fCurrentGrabType
 
BOOL fDirectDraw
 
NSMutableArray * fPassiveKeyGrabs
 
NSMutableDictionary * fX11Properties
 

Properties

TAttFillattFill
 
TAttLineattLine
 
TAttMarkerattMarker
 
TAttTextattText
 
QuartzPixmapfBackBuffer
 
unsigned long fBackgroundPixel
 
unsigned long fBackgroundPixel
 
QuartzImagefBackgroundPixmap
 
QuartzImagefBackgroundPixmap
 
int fBitGravity
 
int fBitGravity
 
int fClass
 
int fClass
 
NSView< X11Window > * fContentView
 
CGContextRef fContext
 
CGContextRef fContext
 
ECursor fCurrentCursor
 
ECursor fCurrentCursor
 
int fDepth
 
int fDepth
 
long fEventMask
 
long fEventMask
 
BOOL fHasFocus
 
BOOL fHasFocus
 
unsigned fID
 
unsigned fID
 
BOOL fIsDNDAware
 
BOOL fIsDNDAware
 
int fMapState
 
NSOpenGLContext * fOpenGLContext
 
BOOL fOverrideRedirect
 
BOOL fOverrideRedirect
 
QuartzViewfParentView
 
QuartzViewfParentView
 
int fPassiveGrabButton
 
int fPassiveGrabButton
 
unsigned fPassiveGrabEventMask
 
unsigned fPassiveGrabEventMask
 
unsigned fPassiveGrabKeyModifiers
 
unsigned fPassiveGrabKeyModifiers
 
BOOL fPassiveGrabOwnerEvents
 
BOOL fPassiveGrabOwnerEvents
 
QuartzWindowfQuartzWindow
 
BOOL fSnapshotDraw
 
BOOL fSnapshotDraw
 
BOOL fUpdateContext
 
int fWinGravity
 
int fWinGravity
 

Private Attributes

NSOpenGLPixelFormat * fPixelFormat
 

#include <ROOTOpenGLView.h>

Inheritance diagram for ROOTOpenGLView:
[legend]

Method Documentation

◆ acceptsCrossingEvents:

- (BOOL) acceptsCrossingEvents: (unsigned) eventMask

Reimplemented from <X11Window>.

Definition at line 2741 of file QuartzWindow.mm.

◆ activateGrab:ownerEvents:

- (void) activateGrab: (unsigned) eventMask
ownerEvents: (BOOL) ownerEvents 

Reimplemented from <X11Window>.

Definition at line 2725 of file QuartzWindow.mm.

◆ activateImplicitGrab

- (void) activateImplicitGrab

Reimplemented from <X11Window>.

Definition at line 2719 of file QuartzWindow.mm.

◆ activatePassiveGrab

- (void) activatePassiveGrab

Reimplemented from <X11Window>.

Definition at line 2713 of file QuartzWindow.mm.

◆ addChild:

- (void) addChild: (NSView<X11Window> *) child

Reimplemented from <X11Window>.

Definition at line 2776 of file QuartzWindow.mm.

◆ addPassiveKeyGrab:modifiers:

- (void) addPassiveKeyGrab: (unichar) keyCode
modifiers: (NSUInteger) modifiers 

Reimplemented from <X11Window>.

Definition at line 2942 of file QuartzWindow.mm.

◆ cancelGrab

- (void) cancelGrab

Reimplemented from <X11Window>.

Definition at line 2733 of file QuartzWindow.mm.

◆ configureNotifyTree

- (void) configureNotifyTree

Reimplemented from QuartzView.

Definition at line 129 of file ROOTOpenGLView.mm.

◆ copy:area:withMask:clipOrigin:toPoint:

- (void) copy: (NSObject<X11Drawable> *) src
area: (ROOT::MacOSX::X11::Rectangle) area
withMask: (QuartzImage *) mask
clipOrigin: (ROOT::MacOSX::X11::Point) origin
toPoint: (ROOT::MacOSX::X11::Point) dstPoint 

Reimplemented from <X11Drawable>.

Definition at line 2511 of file QuartzWindow.mm.

◆ dealloc

- (void) dealloc

Definition at line 67 of file ROOTOpenGLView.mm.

◆ draggingEntered:

- (NSDragOperation) draggingEntered: (id<NSDraggingInfo>) sender

Definition at line 3548 of file QuartzWindow.mm.

◆ fHeight

- (unsigned) fHeight

Reimplemented from <X11Drawable>.

Definition at line 2197 of file QuartzWindow.mm.

◆ findPassiveKeyGrab:

- (PassiveKeyGrab *) findPassiveKeyGrab: (unichar) keyCode

Reimplemented from <X11Window>.

Definition at line 2977 of file QuartzWindow.mm.

◆ findPassiveKeyGrab:modifiers:

- (PassiveKeyGrab *) findPassiveKeyGrab: (unichar) keyCode
modifiers: (NSUInteger) modifiers 

Reimplemented from <X11Window>.

Definition at line 2965 of file QuartzWindow.mm.

◆ fIsOpenGLWidget

- (BOOL) fIsOpenGLWidget

Reimplemented from QuartzView.

Definition at line 96 of file ROOTOpenGLView.mm.

◆ fIsOverlapped

- (BOOL) fIsOverlapped

Reimplemented from QuartzView.

Definition at line 143 of file ROOTOpenGLView.mm.

◆ fIsPixmap

- (BOOL) fIsPixmap

Reimplemented from <X11Drawable>.

Definition at line 2161 of file QuartzWindow.mm.

◆ fScaleFactor

- (CGFloat) fScaleFactor

Reimplemented from <X11Drawable>.

Definition at line 2173 of file QuartzWindow.mm.

◆ fWidth

- (unsigned) fWidth

Reimplemented from <X11Drawable>.

Definition at line 2191 of file QuartzWindow.mm.

◆ fX

- (int) fX

Reimplemented from <X11Drawable>.

Definition at line 2179 of file QuartzWindow.mm.

◆ fY

- (int) fY

Reimplemented from <X11Drawable>.

Definition at line 2185 of file QuartzWindow.mm.

◆ getAttributes:

- (void) getAttributes: (WindowAttributes_t *) attr

Reimplemented from <X11Window>.

Definition at line 2785 of file QuartzWindow.mm.

◆ getDrawMode

- (EDrawMode) QuartzView:

Reimplemented from <X11Drawable>.

Definition at line 2249 of file QuartzWindow.mm.

◆ getProperty:returnType:returnFormat:nElements:

- (unsigned char *) getProperty: (const char *) propName
returnType: (Atom_t *) type
returnFormat: (unsigned *) format
nElements: (unsigned *) nElements 

Reimplemented from <X11Window>.

Definition at line 3491 of file QuartzWindow.mm.

◆ hasProperty:

- (BOOL) hasProperty: (const char *) propName

Reimplemented from <X11Window>.

Definition at line 3480 of file QuartzWindow.mm.

◆ initWithFrame:pixelFormat:

- (id) initWithFrame: (NSRect) frameRect
pixelFormat: (NSOpenGLPixelFormat *) format 

Definition at line 52 of file ROOTOpenGLView.mm.

◆ initWithFrame:windowAttributes:

- (id) initWithFrame: (NSRect) frame
windowAttributes: (const SetWindowAttributes_t *) attr 

Definition at line 2068 of file QuartzWindow.mm.

◆ isDirectDraw

- (BOOL) isDirectDraw

Reimplemented from <X11Drawable>.

Definition at line 2265 of file QuartzWindow.mm.

◆ isFlipped

- (BOOL) isFlipped

Definition at line 2916 of file QuartzWindow.mm.

◆ lowerWindow

- (void) lowerWindow

Reimplemented from <X11Window>.

Definition at line 2887 of file QuartzWindow.mm.

◆ mapRaised

- (void) mapRaised

Reimplemented from <X11Window>.

Definition at line 2805 of file QuartzWindow.mm.

◆ mapSubwindows

- (void) mapSubwindows

Reimplemented from QuartzView.

Definition at line 122 of file ROOTOpenGLView.mm.

◆ mapWindow

- (void) mapWindow

Reimplemented from QuartzView.

Definition at line 116 of file ROOTOpenGLView.mm.

◆ performDragOperation:

- (BOOL) performDragOperation: (id<NSDraggingInfo>) sender

Definition at line 3560 of file QuartzWindow.mm.

◆ pixelFormat

- (NSOpenGLPixelFormat *) pixelFormat

Definition at line 79 of file ROOTOpenGLView.mm.

◆ raiseWindow

- (void) raiseWindow

Reimplemented from <X11Window>.

Definition at line 2848 of file QuartzWindow.mm.

◆ readColorBits:

- (unsigned char *) readColorBits: (ROOT::MacOSX::X11::Rectangle) area

Reimplemented from <X11Drawable>.

Definition at line 2535 of file QuartzWindow.mm.

◆ removePassiveKeyGrab:modifiers:

- (void) removePassiveKeyGrab: (unichar) keyCode
modifiers: (NSUInteger) modifiers 

Reimplemented from <X11Window>.

Definition at line 2952 of file QuartzWindow.mm.

◆ removeProperty:

- (void) removeProperty: (const char *) propName

Reimplemented from <X11Window>.

Definition at line 3537 of file QuartzWindow.mm.

◆ setAttributes:

- (void) setAttributes: (const SetWindowAttributes_t *) attr

Reimplemented from <X11Window>.

Definition at line 2793 of file QuartzWindow.mm.

◆ setDirectDraw:

- (void) setDirectDraw: (BOOL) mode

Reimplemented from <X11Drawable>.

Definition at line 2255 of file QuartzWindow.mm.

◆ setDrawableSize:

- (void) setDrawableSize: (NSSize) newSize

Reimplemented from <X11Window>.

Definition at line 2203 of file QuartzWindow.mm.

◆ setDrawMode:

- (void) setDrawMode: (TVirtualX::EDrawMode) newMode

Reimplemented from <X11Drawable>.

Definition at line 2243 of file QuartzWindow.mm.

◆ setOverlapped:

- (void) setOverlapped: (BOOL) overlap

Reimplemented from QuartzView.

Definition at line 149 of file ROOTOpenGLView.mm.

◆ setPixelFormat:

- (void) setPixelFormat: (NSOpenGLPixelFormat *) pixelFormat

Definition at line 85 of file ROOTOpenGLView.mm.

◆ setProperty:data:size:forType:format:

- (void) setProperty: (const char *) propName
data: (unsigned char *) propData
size: (unsigned) dataSize
forType: (Atom_t) dataType
format: (unsigned) format 

Reimplemented from <X11Window>.

Definition at line 3457 of file QuartzWindow.mm.

◆ setX:Y:

- (void) setX: (int) x
Y: (int) y 

Reimplemented from <X11Window>.

Definition at line 2283 of file QuartzWindow.mm.

◆ setX:Y:width:height:

- (void) setX: (int) x
Y: (int) y
width: (unsigned) w
height: (unsigned) h 

Reimplemented from <X11Window>.

Definition at line 2271 of file QuartzWindow.mm.

◆ unmapWindow

- (void) unmapWindow

Reimplemented from <X11Window>.

Definition at line 2828 of file QuartzWindow.mm.

Member Data Documentation

◆ fActiveGrabEventMask

- (unsigned) fActiveGrabEventMask
protectedinherited

Definition at line 229 of file QuartzWindow.h.

◆ fActiveGrabOwnerEvents

- (BOOL) fActiveGrabOwnerEvents
protectedinherited

Definition at line 244 of file QuartzWindow.h.

◆ fAttFill

- (TAttFill) fAttFill
protectedinherited

current fill attributes

Definition at line 217 of file QuartzWindow.h.

◆ fAttLine

- (TAttLine) fAttLine
protectedinherited

current line attributes

Definition at line 216 of file QuartzWindow.h.

◆ fAttMarker

- (TAttMarker) fAttMarker
protectedinherited

current marker attribute

Definition at line 218 of file QuartzWindow.h.

◆ fAttText

- (TAttText) fAttText
protectedinherited

current text attribute

Definition at line 219 of file QuartzWindow.h.

◆ fCurrentGrabType

- MacOSX:
protectedinherited

Definition at line 242 of file QuartzWindow.h.

◆ fDirectDraw

- (BOOL) fDirectDraw
protectedinherited

Definition at line 221 of file QuartzWindow.h.

◆ fPassiveKeyGrabs

- (NSMutableArray*) fPassiveKeyGrabs
protectedinherited

Definition at line 236 of file QuartzWindow.h.

◆ fPixelFormat

- (NSOpenGLPixelFormat*) fPixelFormat
private

Definition at line 29 of file ROOTOpenGLView.h.

◆ fX11Properties

- (NSMutableDictionary*) fX11Properties
protectedinherited

Definition at line 239 of file QuartzWindow.h.

Property Documentation

◆ attFill

- (TAttFill *) attFill
readnonatomicassigninherited

Definition at line 2225 of file QuartzWindow.mm.

◆ attLine

- (TAttLine *) attLine
readnonatomicassigninherited

Definition at line 2219 of file QuartzWindow.mm.

◆ attMarker

- (TAttMarker *) attMarker
readnonatomicassigninherited

Definition at line 2231 of file QuartzWindow.mm.

◆ attText

- (TAttText *) attText
readnonatomicassigninherited

Definition at line 2237 of file QuartzWindow.mm.

◆ fBackBuffer

- (QuartzPixmap *) fBackBuffer
readwritenonatomicretain

Definition at line 102 of file ROOTOpenGLView.mm.

◆ fBackgroundPixel [1/2]

- (unsigned long) fBackgroundPixel
readwritenonatomicassigninherited

Definition at line 213 of file QuartzWindow.h.

◆ fBackgroundPixel [2/2]

- (unsigned long) fBackgroundPixel
readwritenonatomicassigninherited

Definition at line 213 of file QuartzWindow.h.

◆ fBackgroundPixmap [1/2]

- (QuartzImage *) fBackgroundPixmap
readwritenonatomicretaininherited

Definition at line 2640 of file QuartzWindow.mm.

◆ fBackgroundPixmap [2/2]

- (QuartzImage *) fBackgroundPixmap
readwritenonatomicretaininherited

Definition at line 2640 of file QuartzWindow.mm.

◆ fBitGravity [1/2]

- (int) fBitGravity
readwritenonatomicassigninherited

Definition at line 211 of file QuartzWindow.h.

◆ fBitGravity [2/2]

- (int) fBitGravity
readwritenonatomicassigninherited

Definition at line 211 of file QuartzWindow.h.

◆ fClass [1/2]

- (int) fClass
readwritenonatomicassigninherited

Definition at line 209 of file QuartzWindow.h.

◆ fClass [2/2]

- (int) fClass
readwritenonatomicassigninherited

Definition at line 209 of file QuartzWindow.h.

◆ fContentView

- (NSView< X11Window > *) fContentView
readnonatomicassigninherited

Definition at line 2701 of file QuartzWindow.mm.

◆ fContext [1/2]

- (CGContextRef) fContext
readwritenonatomicassigninherited

Definition at line 207 of file QuartzWindow.h.

◆ fContext [2/2]

- (CGContextRef) fContext
readwritenonatomicassigninherited

Definition at line 207 of file QuartzWindow.h.

◆ fCurrentCursor [1/2]

- (ECursor) fCurrentCursor
readwritenonatomicassigninherited

Definition at line 232 of file QuartzWindow.h.

◆ fCurrentCursor [2/2]

- (ECursor) fCurrentCursor
readwritenonatomicassigninherited

Definition at line 232 of file QuartzWindow.h.

◆ fDepth [1/2]

- (int) fDepth
readwritenonatomicassigninherited

Definition at line 210 of file QuartzWindow.h.

◆ fDepth [2/2]

- (int) fDepth
readwritenonatomicassigninherited

Definition at line 210 of file QuartzWindow.h.

◆ fEventMask [1/2]

- (long) fEventMask
readwritenonatomicassigninherited

Definition at line 208 of file QuartzWindow.h.

◆ fEventMask [2/2]

- (long) fEventMask
readwritenonatomicassigninherited

Definition at line 208 of file QuartzWindow.h.

◆ fHasFocus [1/2]

- (BOOL) fHasFocus
readwritenonatomicassigninherited

Definition at line 2662 of file QuartzWindow.mm.

◆ fHasFocus [2/2]

- (BOOL) fHasFocus
readwritenonatomicassigninherited

Definition at line 2662 of file QuartzWindow.mm.

◆ fID [1/2]

- (unsigned) fID
readwritenonatomicassigninherited

Definition at line 206 of file QuartzWindow.h.

◆ fID [2/2]

- (unsigned) fID
readwritenonatomicassigninherited

Definition at line 206 of file QuartzWindow.h.

◆ fIsDNDAware [1/2]

- (BOOL) fIsDNDAware
readwritenonatomicassigninherited

Definition at line 233 of file QuartzWindow.h.

◆ fIsDNDAware [2/2]

- (BOOL) fIsDNDAware
readwritenonatomicassigninherited

Definition at line 233 of file QuartzWindow.h.

◆ fMapState

- (int) fMapState
readnonatomicassigninherited

Definition at line 2648 of file QuartzWindow.mm.

◆ fOpenGLContext

- (NSOpenGLContext *) fOpenGLContext
readwritenonatomicretain

Definition at line 26 of file ROOTOpenGLView.h.

◆ fOverrideRedirect [1/2]

- (BOOL) fOverrideRedirect
readwritenonatomicassigninherited

Definition at line 214 of file QuartzWindow.h.

◆ fOverrideRedirect [2/2]

- (BOOL) fOverrideRedirect
readwritenonatomicassigninherited

Definition at line 214 of file QuartzWindow.h.

◆ fParentView [1/2]

- (QuartzView *) fParentView
readwritenonatomicassigninherited

Definition at line 224 of file QuartzWindow.h.

◆ fParentView [2/2]

- (QuartzView *) fParentView
readwritenonatomicassigninherited

Definition at line 224 of file QuartzWindow.h.

◆ fPassiveGrabButton [1/2]

- (int) fPassiveGrabButton
readwritenonatomicassigninherited

Definition at line 226 of file QuartzWindow.h.

◆ fPassiveGrabButton [2/2]

- (int) fPassiveGrabButton
readwritenonatomicassigninherited

Definition at line 226 of file QuartzWindow.h.

◆ fPassiveGrabEventMask [1/2]

- (unsigned) fPassiveGrabEventMask
readwritenonatomicassigninherited

Definition at line 227 of file QuartzWindow.h.

◆ fPassiveGrabEventMask [2/2]

- (unsigned) fPassiveGrabEventMask
readwritenonatomicassigninherited

Definition at line 227 of file QuartzWindow.h.

◆ fPassiveGrabKeyModifiers [1/2]

- (unsigned) fPassiveGrabKeyModifiers
readwritenonatomicassigninherited

Definition at line 228 of file QuartzWindow.h.

◆ fPassiveGrabKeyModifiers [2/2]

- (unsigned) fPassiveGrabKeyModifiers
readwritenonatomicassigninherited

Definition at line 228 of file QuartzWindow.h.

◆ fPassiveGrabOwnerEvents [1/2]

- (BOOL) fPassiveGrabOwnerEvents
readwritenonatomicassigninherited

Definition at line 230 of file QuartzWindow.h.

◆ fPassiveGrabOwnerEvents [2/2]

- (BOOL) fPassiveGrabOwnerEvents
readwritenonatomicassigninherited

Definition at line 230 of file QuartzWindow.h.

◆ fQuartzWindow

- (QuartzWindow *) fQuartzWindow
readnonatomicassigninherited

Definition at line 2707 of file QuartzWindow.mm.

◆ fSnapshotDraw [1/2]

- (BOOL) fSnapshotDraw
readwritenonatomicassigninherited

Definition at line 231 of file QuartzWindow.h.

◆ fSnapshotDraw [2/2]

- (BOOL) fSnapshotDraw
readwritenonatomicassigninherited

Definition at line 231 of file QuartzWindow.h.

◆ fUpdateContext

- (BOOL) fUpdateContext
readwritenonatomicassign

Definition at line 27 of file ROOTOpenGLView.h.

◆ fWinGravity [1/2]

- (int) fWinGravity
readwritenonatomicassigninherited

Definition at line 212 of file QuartzWindow.h.

◆ fWinGravity [2/2]

- (int) fWinGravity
readwritenonatomicassigninherited

Definition at line 212 of file QuartzWindow.h.

Collaboration diagram for ROOTOpenGLView:
[legend]

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