fxruby 1.6.41-x64-mingw32 → 1.6.45-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (375) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +2 -2
  3. data/.yardopts +1 -1
  4. data/Gemfile +2 -3
  5. data/History.md +26 -0
  6. data/README.rdoc +10 -5
  7. data/Rakefile +16 -5
  8. data/appveyor.yml +8 -7
  9. data/docs/Fox/Canvas/CanvasError.html +124 -0
  10. data/docs/Fox/Canvas/CircleShape.html +477 -0
  11. data/docs/Fox/Canvas/ImageShape.html +477 -0
  12. data/docs/Fox/Canvas/LineShape.html +1005 -0
  13. data/docs/Fox/Canvas/PolygonShape.html +145 -0
  14. data/docs/Fox/Canvas/RectangleShape.html +439 -0
  15. data/docs/Fox/Canvas/SelectionPolicy.html +352 -0
  16. data/docs/Fox/Canvas/Shape.html +1955 -0
  17. data/docs/Fox/Canvas/ShapeCanvas.html +2031 -0
  18. data/docs/Fox/Canvas/ShapeGroup.html +527 -0
  19. data/docs/Fox/Canvas/SingleSelectionPolicy.html +291 -0
  20. data/docs/Fox/Canvas/TextShape.html +609 -0
  21. data/docs/Fox/Canvas.html +141 -0
  22. data/docs/Fox/FTNonModal.html +550 -0
  23. data/docs/Fox/FX4Splitter.html +1336 -0
  24. data/docs/Fox/FX7Segment.html +1010 -0
  25. data/docs/Fox/FXAccelTable.html +715 -0
  26. data/docs/Fox/FXApp.html +7998 -0
  27. data/docs/Fox/FXArc.html +562 -0
  28. data/docs/Fox/FXArrowButton.html +865 -0
  29. data/docs/Fox/FXBMPIcon.html +450 -0
  30. data/docs/Fox/FXBMPImage.html +434 -0
  31. data/docs/Fox/FXBitmap.html +1362 -0
  32. data/docs/Fox/FXBitmapFrame.html +595 -0
  33. data/docs/Fox/FXBitmapView.html +1451 -0
  34. data/docs/Fox/FXButton.html +534 -0
  35. data/docs/Fox/FXCURCursor.html +261 -0
  36. data/docs/Fox/FXCalendar.html +880 -0
  37. data/docs/Fox/FXCanvas.html +311 -0
  38. data/docs/Fox/FXCheckButton.html +949 -0
  39. data/docs/Fox/FXChoiceBox.html +472 -0
  40. data/docs/Fox/FXColor.html +1519 -0
  41. data/docs/Fox/FXColorBar.html +759 -0
  42. data/docs/Fox/FXColorDialog.html +591 -0
  43. data/docs/Fox/FXColorItem.html +323 -0
  44. data/docs/Fox/FXColorList.html +712 -0
  45. data/docs/Fox/FXColorRing.html +817 -0
  46. data/docs/Fox/FXColorSelector.html +796 -0
  47. data/docs/Fox/FXColorWell.html +850 -0
  48. data/docs/Fox/FXColorWheel.html +770 -0
  49. data/docs/Fox/FXComboBox.html +2939 -0
  50. data/docs/Fox/FXComboTableItem.html +544 -0
  51. data/docs/Fox/FXCommand.html +526 -0
  52. data/docs/Fox/FXComposite.html +433 -0
  53. data/docs/Fox/FXCursor.html +779 -0
  54. data/docs/Fox/FXDC.html +5231 -0
  55. data/docs/Fox/FXDCPrint.html +696 -0
  56. data/docs/Fox/FXDCWindow.html +358 -0
  57. data/docs/Fox/FXDataTarget.html +573 -0
  58. data/docs/Fox/FXDebugTarget.html +305 -0
  59. data/docs/Fox/FXDelegator.html +305 -0
  60. data/docs/Fox/FXDial.html +1133 -0
  61. data/docs/Fox/FXDialogBox.html +413 -0
  62. data/docs/Fox/FXDict.html +1063 -0
  63. data/docs/Fox/FXDirBox.html +752 -0
  64. data/docs/Fox/FXDirDialog.html +914 -0
  65. data/docs/Fox/FXDirItem.html +989 -0
  66. data/docs/Fox/FXDirList.html +1554 -0
  67. data/docs/Fox/FXDirSelector.html +995 -0
  68. data/docs/Fox/FXDockBar.html +1451 -0
  69. data/docs/Fox/FXDockHandler.html +468 -0
  70. data/docs/Fox/FXDockSite.html +678 -0
  71. data/docs/Fox/FXDockTitle.html +606 -0
  72. data/docs/Fox/FXDocument.html +536 -0
  73. data/docs/Fox/FXDragCorner.html +440 -0
  74. data/docs/Fox/FXDrawable.html +478 -0
  75. data/docs/Fox/FXDriveBox.html +746 -0
  76. data/docs/Fox/FXEvent.html +1736 -0
  77. data/docs/Fox/FXExtentd.html +1374 -0
  78. data/docs/Fox/FXExtentf.html +1374 -0
  79. data/docs/Fox/FXFileAssoc.html +850 -0
  80. data/docs/Fox/FXFileDialog.html +2688 -0
  81. data/docs/Fox/FXFileDict.html +1058 -0
  82. data/docs/Fox/FXFileItem.html +1141 -0
  83. data/docs/Fox/FXFileList.html +2259 -0
  84. data/docs/Fox/FXFileSelector.html +2529 -0
  85. data/docs/Fox/FXFileStream.html +503 -0
  86. data/docs/Fox/FXFoldingItem.html +2822 -0
  87. data/docs/Fox/FXFoldingList.html +5189 -0
  88. data/docs/Fox/FXFont.html +2998 -0
  89. data/docs/Fox/FXFontDesc.html +710 -0
  90. data/docs/Fox/FXFontDialog.html +420 -0
  91. data/docs/Fox/FXFontSelector.html +576 -0
  92. data/docs/Fox/FXFrame.html +1012 -0
  93. data/docs/Fox/FXGIFCursor.html +337 -0
  94. data/docs/Fox/FXGIFIcon.html +450 -0
  95. data/docs/Fox/FXGIFImage.html +434 -0
  96. data/docs/Fox/FXGLCanvas.html +700 -0
  97. data/docs/Fox/FXGLCone.html +785 -0
  98. data/docs/Fox/FXGLContext.html +649 -0
  99. data/docs/Fox/FXGLCube.html +703 -0
  100. data/docs/Fox/FXGLCylinder.html +791 -0
  101. data/docs/Fox/FXGLGroup.html +1385 -0
  102. data/docs/Fox/FXGLLine.html +653 -0
  103. data/docs/Fox/FXGLObject.html +759 -0
  104. data/docs/Fox/FXGLPoint.html +561 -0
  105. data/docs/Fox/FXGLShape.html +714 -0
  106. data/docs/Fox/FXGLSphere.html +626 -0
  107. data/docs/Fox/FXGLViewer.html +3506 -0
  108. data/docs/Fox/FXGLVisual.html +2147 -0
  109. data/docs/Fox/FXGradient.html +562 -0
  110. data/docs/Fox/FXGradientBar.html +2479 -0
  111. data/docs/Fox/FXGroupBox.html +688 -0
  112. data/docs/Fox/FXHeader.html +3040 -0
  113. data/docs/Fox/FXHeaderItem.html +1353 -0
  114. data/docs/Fox/FXHiliteStyle.html +804 -0
  115. data/docs/Fox/FXHorizontalFrame.html +359 -0
  116. data/docs/Fox/FXHorizontalSeparator.html +349 -0
  117. data/docs/Fox/FXICOIcon.html +450 -0
  118. data/docs/Fox/FXICOImage.html +434 -0
  119. data/docs/Fox/FXIcon.html +384 -0
  120. data/docs/Fox/FXIconDict.html +752 -0
  121. data/docs/Fox/FXIconItem.html +1518 -0
  122. data/docs/Fox/FXIconList.html +4676 -0
  123. data/docs/Fox/FXIconSource.html +963 -0
  124. data/docs/Fox/FXId.html +712 -0
  125. data/docs/Fox/FXImage.html +2328 -0
  126. data/docs/Fox/FXImageFrame.html +489 -0
  127. data/docs/Fox/FXImageView.html +504 -0
  128. data/docs/Fox/FXInputDialog.html +894 -0
  129. data/docs/Fox/FXIrb.html +942 -0
  130. data/docs/Fox/FXJPGIcon.html +607 -0
  131. data/docs/Fox/FXJPGImage.html +591 -0
  132. data/docs/Fox/FXKnob.html +1048 -0
  133. data/docs/Fox/FXLabel.html +1013 -0
  134. data/docs/Fox/FXLight.html +920 -0
  135. data/docs/Fox/FXList.html +3717 -0
  136. data/docs/Fox/FXListBox.html +2518 -0
  137. data/docs/Fox/FXListItem.html +1459 -0
  138. data/docs/Fox/FXMDIChild.html +2175 -0
  139. data/docs/Fox/FXMDIClient.html +781 -0
  140. data/docs/Fox/FXMDIDeleteButton.html +334 -0
  141. data/docs/Fox/FXMDIMaximizeButton.html +334 -0
  142. data/docs/Fox/FXMDIMenu.html +335 -0
  143. data/docs/Fox/FXMDIMinimizeButton.html +334 -0
  144. data/docs/Fox/FXMDIRestoreButton.html +334 -0
  145. data/docs/Fox/FXMDIWindowButton.html +334 -0
  146. data/docs/Fox/FXMainWindow.html +337 -0
  147. data/docs/Fox/FXMaterial.html +570 -0
  148. data/docs/Fox/FXMatrix.html +734 -0
  149. data/docs/Fox/FXMemoryBuffer.html +472 -0
  150. data/docs/Fox/FXMemoryStream.html +632 -0
  151. data/docs/Fox/FXMenuBar.html +347 -0
  152. data/docs/Fox/FXMenuButton.html +829 -0
  153. data/docs/Fox/FXMenuCaption.html +1080 -0
  154. data/docs/Fox/FXMenuCascade.html +388 -0
  155. data/docs/Fox/FXMenuCheck.html +721 -0
  156. data/docs/Fox/FXMenuCommand.html +400 -0
  157. data/docs/Fox/FXMenuPane.html +333 -0
  158. data/docs/Fox/FXMenuRadio.html +721 -0
  159. data/docs/Fox/FXMenuSeparator.html +440 -0
  160. data/docs/Fox/FXMenuTitle.html +405 -0
  161. data/docs/Fox/FXMessageBox.html +658 -0
  162. data/docs/Fox/FXObject.html +545 -0
  163. data/docs/Fox/FXOption.html +491 -0
  164. data/docs/Fox/FXOptionMenu.html +885 -0
  165. data/docs/Fox/FXPCXIcon.html +450 -0
  166. data/docs/Fox/FXPCXImage.html +434 -0
  167. data/docs/Fox/FXPNGIcon.html +524 -0
  168. data/docs/Fox/FXPNGImage.html +508 -0
  169. data/docs/Fox/FXPPMIcon.html +450 -0
  170. data/docs/Fox/FXPPMImage.html +373 -0
  171. data/docs/Fox/FXPSBounds.html +500 -0
  172. data/docs/Fox/FXPacker.html +1229 -0
  173. data/docs/Fox/FXPicker.html +345 -0
  174. data/docs/Fox/FXPopup.html +1099 -0
  175. data/docs/Fox/FXPrintDialog.html +485 -0
  176. data/docs/Fox/FXPrinter.html +1330 -0
  177. data/docs/Fox/FXProgressBar.html +1150 -0
  178. data/docs/Fox/FXProgressDialog.html +715 -0
  179. data/docs/Fox/FXPseudoKeyboard.html +428 -0
  180. data/docs/Fox/FXPseudoMouse.html +800 -0
  181. data/docs/Fox/FXPseudoTarget.html +472 -0
  182. data/docs/Fox/FXQuatd.html +1377 -0
  183. data/docs/Fox/FXQuatf.html +1392 -0
  184. data/docs/Fox/FXRGBIcon.html +450 -0
  185. data/docs/Fox/FXRGBImage.html +434 -0
  186. data/docs/Fox/FXRadioButton.html +885 -0
  187. data/docs/Fox/FXRanged.html +1522 -0
  188. data/docs/Fox/FXRangef.html +1522 -0
  189. data/docs/Fox/FXRealSlider.html +1187 -0
  190. data/docs/Fox/FXRealSpinner.html +2175 -0
  191. data/docs/Fox/FXRecentFiles.html +841 -0
  192. data/docs/Fox/FXRectangle.html +802 -0
  193. data/docs/Fox/FXRegion.html +841 -0
  194. data/docs/Fox/FXRegistry.html +682 -0
  195. data/docs/Fox/FXReplaceDialog.html +648 -0
  196. data/docs/Fox/FXRootWindow.html +312 -0
  197. data/docs/Fox/FXRuler.html +2000 -0
  198. data/docs/Fox/FXRulerView.html +3997 -0
  199. data/docs/Fox/FXScintilla.html +49117 -0
  200. data/docs/Fox/FXScrollArea.html +1363 -0
  201. data/docs/Fox/FXScrollBar.html +1019 -0
  202. data/docs/Fox/FXScrollCorner.html +290 -0
  203. data/docs/Fox/FXScrollPane.html +499 -0
  204. data/docs/Fox/FXScrollWindow.html +409 -0
  205. data/docs/Fox/FXSearchDialog.html +382 -0
  206. data/docs/Fox/FXSegment.html +422 -0
  207. data/docs/Fox/FXSeparator.html +402 -0
  208. data/docs/Fox/FXSettings.html +1861 -0
  209. data/docs/Fox/FXShell.html +233 -0
  210. data/docs/Fox/FXShutter.html +472 -0
  211. data/docs/Fox/FXShutterItem.html +669 -0
  212. data/docs/Fox/FXSize.html +592 -0
  213. data/docs/Fox/FXSlider.html +1129 -0
  214. data/docs/Fox/FXSphered.html +906 -0
  215. data/docs/Fox/FXSpheref.html +906 -0
  216. data/docs/Fox/FXSpinner.html +2102 -0
  217. data/docs/Fox/FXSplashScreen.html +497 -0
  218. data/docs/Fox/FXSplashWindow.html +494 -0
  219. data/docs/Fox/FXSplitter.html +643 -0
  220. data/docs/Fox/FXSpring.html +517 -0
  221. data/docs/Fox/FXStatusBar.html +593 -0
  222. data/docs/Fox/FXStatusLine.html +754 -0
  223. data/docs/Fox/FXStream.html +1372 -0
  224. data/docs/Fox/FXStreamAllocError.html +148 -0
  225. data/docs/Fox/FXStreamEndError.html +148 -0
  226. data/docs/Fox/FXStreamError.html +259 -0
  227. data/docs/Fox/FXStreamFailureError.html +148 -0
  228. data/docs/Fox/FXStreamFormatError.html +148 -0
  229. data/docs/Fox/FXStreamFullError.html +148 -0
  230. data/docs/Fox/FXStreamNoReadError.html +148 -0
  231. data/docs/Fox/FXStreamNoWriteError.html +148 -0
  232. data/docs/Fox/FXStreamUnknownError.html +148 -0
  233. data/docs/Fox/FXStringDict.html +552 -0
  234. data/docs/Fox/FXSwitcher.html +619 -0
  235. data/docs/Fox/FXTGAIcon.html +450 -0
  236. data/docs/Fox/FXTGAImage.html +434 -0
  237. data/docs/Fox/FXTIFIcon.html +604 -0
  238. data/docs/Fox/FXTIFImage.html +588 -0
  239. data/docs/Fox/FXTabBar.html +644 -0
  240. data/docs/Fox/FXTabBook.html +373 -0
  241. data/docs/Fox/FXTabItem.html +478 -0
  242. data/docs/Fox/FXTable.html +10107 -0
  243. data/docs/Fox/FXTableItem.html +2195 -0
  244. data/docs/Fox/FXTablePos.html +360 -0
  245. data/docs/Fox/FXTableRange.html +360 -0
  246. data/docs/Fox/FXText.html +6870 -0
  247. data/docs/Fox/FXTextChange.html +492 -0
  248. data/docs/Fox/FXTextField.html +2016 -0
  249. data/docs/Fox/FXToggleButton.html +844 -0
  250. data/docs/Fox/FXToolBar.html +452 -0
  251. data/docs/Fox/FXToolBarGrip.html +584 -0
  252. data/docs/Fox/FXToolBarShell.html +788 -0
  253. data/docs/Fox/FXToolBarTab.html +729 -0
  254. data/docs/Fox/FXToolTip.html +761 -0
  255. data/docs/Fox/FXTopWindow.html +1716 -0
  256. data/docs/Fox/FXTranslator.html +481 -0
  257. data/docs/Fox/FXTreeItem.html +2813 -0
  258. data/docs/Fox/FXTreeList.html +5095 -0
  259. data/docs/Fox/FXTreeListBox.html +3080 -0
  260. data/docs/Fox/FXTriStateButton.html +681 -0
  261. data/docs/Fox/FXUndoList.html +2560 -0
  262. data/docs/Fox/FXVec2d.html +1450 -0
  263. data/docs/Fox/FXVec2f.html +1442 -0
  264. data/docs/Fox/FXVec3d.html +1649 -0
  265. data/docs/Fox/FXVec3f.html +1649 -0
  266. data/docs/Fox/FXVec4d.html +1858 -0
  267. data/docs/Fox/FXVec4f.html +1858 -0
  268. data/docs/Fox/FXVerticalFrame.html +359 -0
  269. data/docs/Fox/FXVerticalSeparator.html +349 -0
  270. data/docs/Fox/FXViewport.html +780 -0
  271. data/docs/Fox/FXVisual.html +1023 -0
  272. data/docs/Fox/FXWindow.html +9948 -0
  273. data/docs/Fox/FXWizard.html +1052 -0
  274. data/docs/Fox/FXXBMIcon.html +453 -0
  275. data/docs/Fox/FXXBMImage.html +437 -0
  276. data/docs/Fox/FXXPMIcon.html +450 -0
  277. data/docs/Fox/FXXPMImage.html +434 -0
  278. data/docs/Fox/NotifyHeader.html +286 -0
  279. data/docs/Fox/SCNotification.html +1438 -0
  280. data/docs/Fox/TextRange.html +281 -0
  281. data/docs/Fox.html +11184 -0
  282. data/docs/IRB.html +204 -0
  283. data/docs/Responder.html +693 -0
  284. data/docs/Responder2.html +225 -0
  285. data/docs/_index.html +2101 -0
  286. data/docs/class_list.html +51 -0
  287. data/docs/css/common.css +1 -0
  288. data/docs/css/full_list.css +58 -0
  289. data/docs/css/style.css +496 -0
  290. data/docs/file.History.html +869 -0
  291. data/docs/file.README.html +104 -0
  292. data/docs/file_list.html +66 -0
  293. data/docs/frames.html +17 -0
  294. data/docs/index.html +614 -0
  295. data/docs/js/app.js +314 -0
  296. data/docs/js/full_list.js +216 -0
  297. data/docs/js/jquery.js +4 -0
  298. data/docs/method_list.html +31043 -0
  299. data/docs/top-level-namespace.html +214 -0
  300. data/examples/canvasdemo.rb +5 -1
  301. data/examples/gltest.rb +162 -106
  302. data/examples/glviewer.rb +12 -8
  303. data/ext/fox16_c/core_wrap.cpp +117 -115
  304. data/ext/fox16_c/dc_wrap.cpp +82 -60
  305. data/ext/fox16_c/dialogs_wrap.cpp +87 -67
  306. data/ext/fox16_c/extconf.rb +12 -12
  307. data/ext/fox16_c/frames_wrap.cpp +101 -75
  308. data/ext/fox16_c/fx3d_wrap.cpp +258 -302
  309. data/ext/fox16_c/iconlist_wrap.cpp +70 -52
  310. data/ext/fox16_c/icons_wrap.cpp +75 -55
  311. data/ext/fox16_c/image_wrap.cpp +75 -57
  312. data/ext/fox16_c/label_wrap.cpp +78 -60
  313. data/ext/fox16_c/layout_wrap.cpp +83 -65
  314. data/ext/fox16_c/list_wrap.cpp +70 -52
  315. data/ext/fox16_c/mdi_wrap.cpp +76 -58
  316. data/ext/fox16_c/menu_wrap.cpp +78 -60
  317. data/ext/fox16_c/scintilla_wrap.cpp +85 -61
  318. data/ext/fox16_c/swigruby.h +64 -46
  319. data/ext/fox16_c/table_wrap.cpp +80 -58
  320. data/ext/fox16_c/text_wrap.cpp +75 -55
  321. data/ext/fox16_c/treelist_wrap.cpp +71 -53
  322. data/ext/fox16_c/ui_wrap.cpp +101 -81
  323. data/fxruby.gemspec +1 -1
  324. data/lib/2.4/fox16_c.so +0 -0
  325. data/lib/2.5/fox16_c.so +0 -0
  326. data/lib/2.6/fox16_c.so +0 -0
  327. data/lib/2.7/fox16_c.so +0 -0
  328. data/lib/{2.2 → 3.0}/fox16_c.so +0 -0
  329. data/lib/fox16/aliases.rb +0 -0
  330. data/lib/fox16/bitmapview.rb +0 -0
  331. data/lib/fox16/calendar.rb +0 -0
  332. data/lib/fox16/canvas.rb +76 -45
  333. data/lib/fox16/chore.rb +0 -0
  334. data/lib/fox16/colors.rb +0 -0
  335. data/lib/fox16/core.rb +0 -0
  336. data/lib/fox16/dict.rb +0 -0
  337. data/lib/fox16/glgroup.rb +5 -5
  338. data/lib/fox16/glshapes.rb +111 -99
  339. data/lib/fox16/input.rb +0 -0
  340. data/lib/fox16/irb.rb +0 -0
  341. data/lib/fox16/iterators.rb +0 -0
  342. data/lib/fox16/keys.rb +0 -0
  343. data/lib/fox16/missingdep.rb +0 -0
  344. data/lib/fox16/pseudokeyboard.rb +0 -0
  345. data/lib/fox16/pseudomouse.rb +0 -0
  346. data/lib/fox16/responder.rb +0 -0
  347. data/lib/fox16/responder2.rb +0 -0
  348. data/lib/fox16/scintilla.rb +0 -0
  349. data/lib/fox16/settings.rb +0 -0
  350. data/lib/fox16/signal.rb +0 -0
  351. data/lib/fox16/timeout.rb +0 -0
  352. data/lib/fox16/tkcompat.rb +0 -0
  353. data/lib/fox16/undolist.rb +0 -0
  354. data/lib/fox16/version.rb +1 -1
  355. data/lib/fox16.rb +2 -4
  356. data/ports/x64-mingw32/bin/libFOX-1.6-0.dll +0 -0
  357. data/ports/x64-mingw32/bin/libfxscintilla-20.dll +0 -0
  358. data/ports/x64-mingw32/bin/libgcc_s_seh-1.dll +0 -0
  359. data/ports/x64-mingw32/bin/libjpeg-62.dll +0 -0
  360. data/ports/x64-mingw32/bin/libpng16-16.dll +0 -0
  361. data/ports/x64-mingw32/bin/libstdc++-6.dll +0 -0
  362. data/ports/x64-mingw32/bin/libtiff-5.dll +0 -0
  363. data/ports/x64-mingw32/bin/libwinpthread-1.dll +0 -0
  364. data/ports/x64-mingw32/bin/zlib1.dll +0 -0
  365. metadata +310 -20
  366. data/lib/2.3/fox16_c.so +0 -0
  367. data/ports/x86_64-w64-mingw32/bin/libFOX-1.6-0.dll +0 -0
  368. data/ports/x86_64-w64-mingw32/bin/libfxscintilla-20.dll +0 -0
  369. data/ports/x86_64-w64-mingw32/bin/libgcc_s_seh-1.dll +0 -0
  370. data/ports/x86_64-w64-mingw32/bin/libjpeg-62.dll +0 -0
  371. data/ports/x86_64-w64-mingw32/bin/libpng16-16.dll +0 -0
  372. data/ports/x86_64-w64-mingw32/bin/libstdc++-6.dll +0 -0
  373. data/ports/x86_64-w64-mingw32/bin/libtiff-5.dll +0 -0
  374. data/ports/x86_64-w64-mingw32/bin/libwinpthread-1.dll +0 -0
  375. data/ports/x86_64-w64-mingw32/bin/zlib1.dll +0 -0
@@ -0,0 +1,3506 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ Class: Fox::FXGLViewer
8
+
9
+ &mdash; FXRuby API Documentation
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" />
14
+
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" />
16
+
17
+ <script type="text/javascript">
18
+ pathId = "Fox::FXGLViewer";
19
+ relpath = '../';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="../class_list.html?1"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="../_index.html">Index (F)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../Fox.html" title="Fox (module)">Fox</a></span></span>
41
+ &raquo;
42
+ <span class="title">FXGLViewer</span>
43
+
44
+ </div>
45
+
46
+ <div id="search">
47
+
48
+ <a class="full_list_link" id="class_list_link"
49
+ href="../class_list.html">
50
+
51
+ <svg width="24" height="24">
52
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
+ </svg>
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <div id="content"><h1>Class: Fox::FXGLViewer
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+ <dl>
70
+ <dt>Inherits:</dt>
71
+ <dd>
72
+ <span class="inheritName"><span class='object_link'><a href="FXGLCanvas.html" title="Fox::FXGLCanvas (class)">FXGLCanvas</a></span></span>
73
+
74
+ <ul class="fullTree">
75
+ <li>Object</li>
76
+
77
+ <li class="next"><span class='object_link'><a href="FXObject.html" title="Fox::FXObject (class)">FXObject</a></span></li>
78
+
79
+ <li class="next"><span class='object_link'><a href="FXId.html" title="Fox::FXId (class)">FXId</a></span></li>
80
+
81
+ <li class="next"><span class='object_link'><a href="FXDrawable.html" title="Fox::FXDrawable (class)">FXDrawable</a></span></li>
82
+
83
+ <li class="next"><span class='object_link'><a href="FXWindow.html" title="Fox::FXWindow (class)">FXWindow</a></span></li>
84
+
85
+ <li class="next"><span class='object_link'><a href="FXCanvas.html" title="Fox::FXCanvas (class)">FXCanvas</a></span></li>
86
+
87
+ <li class="next"><span class='object_link'><a href="FXGLCanvas.html" title="Fox::FXGLCanvas (class)">FXGLCanvas</a></span></li>
88
+
89
+ <li class="next">Fox::FXGLViewer</li>
90
+
91
+ </ul>
92
+ <a href="#" class="inheritanceTree">show all</a>
93
+
94
+ </dd>
95
+ </dl>
96
+
97
+
98
+
99
+
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
+ <dl>
108
+ <dt>Defined in:</dt>
109
+ <dd>rdoc-sources/FXGLViewer.rb</dd>
110
+ </dl>
111
+
112
+ </div>
113
+
114
+ <h2>Overview</h2><div class="docstring">
115
+ <div class="discussion">
116
+
117
+ <p>Canvas, an area drawn by another object</p>
118
+
119
+ <h3 id="label-Events">Events</h3>
120
+
121
+ <p>The following messages are sent by FXGLViewer to its message target:</p>
122
+ <dl class="rdoc-list note-list"><dt><code>SEL_KEYPRESS</code>
123
+ <dd>
124
+ <p>sent when a key goes down; the message data is an FXEvent instance.</p>
125
+ </dd><dt><code>SEL_KEYRELEASE</code>
126
+ <dd>
127
+ <p>sent when a key goes up; the message data is an FXEvent instance.</p>
128
+ </dd><dt><code>SEL_LEFTBUTTONPRESS</code>
129
+ <dd>
130
+ <p>sent when the left mouse button goes down; the message data is an FXEvent instance.</p>
131
+ </dd><dt><code>SEL_LEFTBUTTONRELEASE</code>
132
+ <dd>
133
+ <p>sent when the left mouse button goes up; the message data is an FXEvent instance.</p>
134
+ </dd><dt><code>SEL_MIDDLEBUTTONPRESS</code>
135
+ <dd>
136
+ <p>sent when the middle mouse button goes down; the message data is an FXEvent instance.</p>
137
+ </dd><dt><code>SEL_MIDDLEBUTTONRELEASE</code>
138
+ <dd>
139
+ <p>sent when the middle mouse button goes up; the message data is an FXEvent instance.</p>
140
+ </dd><dt><code>SEL_RIGHTBUTTONPRESS</code>
141
+ <dd>
142
+ <p>sent when the right mouse button goes down; the message data is an FXEvent instance.</p>
143
+ </dd><dt><code>SEL_RIGHTBUTTONRELEASE</code>
144
+ <dd>
145
+ <p>sent when the right mouse button goes up; the message data is an FXEvent instance.</p>
146
+ </dd><dt><code>SEL_MOTION</code>
147
+ <dd>
148
+ <p>sent when the mouse pointer is moved; the message data is an FXEvent instance.</p>
149
+ </dd><dt><code>SEL_MOUSEWHEEL</code>
150
+ <dd>
151
+ <p>sent when the mouse wheel is spun; the message data is an FXEvent instance.</p>
152
+ </dd><dt><code>SEL_CLICKED</code>
153
+ <dd>
154
+ <p>sent when the mouse is single-clicked somewhere in the widget; the message data is a reference to the clicked object (possibly <code>nil</code>)</p>
155
+ </dd><dt><code>SEL_DOUBLECLICKED</code>
156
+ <dd>
157
+ <p>sent when the mouse is double-clicked somewhere in the widget; the message data is a reference to the clicked object (possibly <code>nil</code>)</p>
158
+ </dd><dt><code>SEL_TRIPLECLICKED</code>
159
+ <dd>
160
+ <p>sent when the mouse is triple-clicked somewhere in the widget; the message data is a reference to the clicked object (possibly <code>nil</code>)</p>
161
+ </dd><dt><code>SEL_PICKED</code>
162
+ <dd>
163
+ <p>sent when an object is picked; the message data is an FXEvent instance.</p>
164
+ </dd><dt><code>SEL_SELECTED</code>
165
+ <dd>
166
+ <p>sent when object(s) are selected in the viewer; the message data is an array of references to the selected objects.</p>
167
+ </dd><dt><code>SEL_DESELECTED</code>
168
+ <dd>
169
+ <p>sent when object(s) are deselected in the viewer; the message data is an array of references to the deselected objects.</p>
170
+ </dd><dt><code>SEL_LASSOED</code>
171
+ <dd>
172
+ <p>sent when a lasso-selection has been completed; the message data is an FXEvent instance.</p>
173
+ </dd><dt><code>SEL_INSERTED</code>
174
+ <dd>
175
+ <p>sent when the viewer receives a <code>SEL_INSERTED</code> message.</p>
176
+ </dd><dt><code>SEL_DELETED</code>
177
+ <dd>
178
+ <p>sent when the viewer receives a <code>SEL_COMMAND</code> message with the <code>ID_DELETE_SEL</code> identifier; the message data is an array of references to the selected object(s).</p>
179
+ </dd><dt><code>SEL_DRAGGED</code>
180
+ <dd>
181
+ <p>sent when the selected object is dragged around in the viewer; the message data is a reference to the selected object.</p>
182
+ </dd><dt><code>SEL_COMMAND</code>
183
+ <dd>
184
+ <p>sent when the mouse is clicked somewhere in the widget; the message data is a reference to the clicked object (possibly <code>nil</code>)</p>
185
+ </dd><dt><code>SEL_CHANGED</code>
186
+ <dd>
187
+ <p>sent when the selection changes; the message data is a reference to the newly selected object (or <code>nil</code>).</p>
188
+ </dd></dl>
189
+
190
+ <h3 id="label-FXGLViewer+options">FXGLViewer options</h3>
191
+ <dl class="rdoc-list note-list"><dt><code>VIEWER_LIGHTING</code>
192
+ <dd>
193
+ <p>Lighting is on</p>
194
+ </dd><dt><code>VIEWER_FOG</code>
195
+ <dd>
196
+ <p>Fog mode on</p>
197
+ </dd><dt><code>VIEWER_DITHER</code>
198
+ <dd>
199
+ <p>Dithering</p>
200
+ </dd></dl>
201
+
202
+ <h3 id="label-Projection+modes+-28class+constants-29">Projection modes (class constants)</h3>
203
+ <dl class="rdoc-list note-list"><dt><code>PARALLEL</code>
204
+ <dd>
205
+ <p>Parallel projection</p>
206
+ </dd><dt><code>PERSPECTIVE</code>
207
+ <dd>
208
+ <p>Perspective projection</p>
209
+ </dd></dl>
210
+
211
+ <h3 id="label-Message+identifiers">Message identifiers</h3>
212
+ <dl class="rdoc-list note-list"><dt><code>ID_PERSPECTIVE</code>
213
+ <dd>
214
+ <p>x</p>
215
+ </dd><dt><code>ID_PARALLEL</code>
216
+ <dd>
217
+ <p>x</p>
218
+ </dd><dt><code>ID_FRONT</code>
219
+ <dd>
220
+ <p>x</p>
221
+ </dd><dt><code>ID_BACK</code>
222
+ <dd>
223
+ <p>x</p>
224
+ </dd><dt><code>ID_LEFT</code>
225
+ <dd>
226
+ <p>x</p>
227
+ </dd><dt><code>ID_RIGHT</code>
228
+ <dd>
229
+ <p>x</p>
230
+ </dd><dt><code>ID_TOP</code>
231
+ <dd>
232
+ <p>x</p>
233
+ </dd><dt><code>ID_BOTTOM</code>
234
+ <dd>
235
+ <p>x</p>
236
+ </dd><dt><code>ID_RESETVIEW</code>
237
+ <dd>
238
+ <p>x</p>
239
+ </dd><dt><code>ID_FITVIEW</code>
240
+ <dd>
241
+ <p>x</p>
242
+ </dd><dt><code>ID_TIPTIMER</code>
243
+ <dd>
244
+ <p>x</p>
245
+ </dd><dt><code>ID_TOP_COLOR</code>
246
+ <dd>
247
+ <p>x</p>
248
+ </dd><dt><code>ID_BOTTOM_COLOR</code>
249
+ <dd>
250
+ <p>x</p>
251
+ </dd><dt><code>ID_BACK_COLOR</code>
252
+ <dd>
253
+ <p>x</p>
254
+ </dd><dt><code>ID_AMBIENT_COLOR</code>
255
+ <dd>
256
+ <p>x</p>
257
+ </dd><dt><code>ID_LIGHT_AMBIENT</code>
258
+ <dd>
259
+ <p>x</p>
260
+ </dd><dt><code>ID_LIGHT_DIFFUSE</code>
261
+ <dd>
262
+ <p>x</p>
263
+ </dd><dt><code>ID_LIGHT_SPECULAR</code>
264
+ <dd>
265
+ <p>x</p>
266
+ </dd><dt><code>ID_LIGHTING</code>
267
+ <dd>
268
+ <p>x</p>
269
+ </dd><dt><code>ID_TURBO</code>
270
+ <dd>
271
+ <p>x</p>
272
+ </dd><dt><code>ID_FOG</code>
273
+ <dd>
274
+ <p>x</p>
275
+ </dd><dt><code>ID_DITHER</code>
276
+ <dd>
277
+ <p>x</p>
278
+ </dd><dt><code>ID_SCALE_X</code>
279
+ <dd>
280
+ <p>x</p>
281
+ </dd><dt><code>ID_SCALE_Y</code>
282
+ <dd>
283
+ <p>x</p>
284
+ </dd><dt><code>ID_SCALE_Z</code>
285
+ <dd>
286
+ <p>x</p>
287
+ </dd><dt><code>ID_DIAL_X</code>
288
+ <dd>
289
+ <p>x</p>
290
+ </dd><dt><code>ID_DIAL_Y</code>
291
+ <dd>
292
+ <p>x</p>
293
+ </dd><dt><code>ID_DIAL_Z</code>
294
+ <dd>
295
+ <p>x</p>
296
+ </dd><dt><code>ID_ROLL</code>
297
+ <dd>
298
+ <p>x</p>
299
+ </dd><dt><code>ID_PITCH</code>
300
+ <dd>
301
+ <p>x</p>
302
+ </dd><dt><code>ID_YAW</code>
303
+ <dd>
304
+ <p>x</p>
305
+ </dd><dt><code>ID_FOV</code>
306
+ <dd>
307
+ <p>x</p>
308
+ </dd><dt><code>ID_ZOOM</code>
309
+ <dd>
310
+ <p>x</p>
311
+ </dd><dt><code>ID_CUT_SEL</code>
312
+ <dd>
313
+ <p>x</p>
314
+ </dd><dt><code>ID_COPY_SEL</code>
315
+ <dd>
316
+ <p>x</p>
317
+ </dd><dt><code>ID_PASTE_SEL</code>
318
+ <dd>
319
+ <p>x</p>
320
+ </dd><dt><code>ID_DELETE_SEL</code>
321
+ <dd>
322
+ <p>x</p>
323
+ </dd><dt><code>ID_PRINT_IMAGE</code>
324
+ <dd>
325
+ <p>x</p>
326
+ </dd><dt><code>ID_PRINT_VECTOR</code>
327
+ <dd>
328
+ <p>x</p>
329
+ </dd><dt><code>ID_LASSO_ZOOM</code>
330
+ <dd>
331
+ <p>x</p>
332
+ </dd><dt><code>ID_LASSO_SELECT</code>
333
+ <dd>
334
+ <p>x</p>
335
+ </dd></dl>
336
+
337
+
338
+ </div>
339
+ </div>
340
+ <div class="tags">
341
+
342
+
343
+ </div>
344
+
345
+
346
+
347
+ <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
348
+ <ul class="summary">
349
+
350
+ <li class="public ">
351
+ <span class="summary_signature">
352
+
353
+ <a href="#ambientColor-instance_method" title="#ambientColor (instance method)">#<strong>ambientColor</strong> &#x21d2; Object </a>
354
+
355
+
356
+
357
+ </span>
358
+
359
+
360
+
361
+
362
+
363
+
364
+
365
+
366
+
367
+
368
+
369
+
370
+ <span class="summary_desc"><div class='inline'>
371
+ <p>Global ambient light color FXMat4f.</p>
372
+ </div></span>
373
+
374
+ </li>
375
+
376
+
377
+ <li class="public ">
378
+ <span class="summary_signature">
379
+
380
+ <a href="#center-instance_method" title="#center (instance method)">#<strong>center</strong> &#x21d2; Object </a>
381
+
382
+
383
+
384
+ </span>
385
+
386
+
387
+
388
+
389
+
390
+
391
+
392
+
393
+
394
+
395
+
396
+
397
+ <span class="summary_desc"><div class='inline'>
398
+ <p>Object center <span class='object_link'><a href="FXVec3f.html" title="Fox::FXVec3f (class)">FXVec3f</a></span>.</p>
399
+ </div></span>
400
+
401
+ </li>
402
+
403
+
404
+ <li class="public ">
405
+ <span class="summary_signature">
406
+
407
+ <a href="#distance-instance_method" title="#distance (instance method)">#<strong>distance</strong> &#x21d2; Object </a>
408
+
409
+
410
+
411
+ </span>
412
+
413
+
414
+
415
+
416
+
417
+
418
+
419
+
420
+
421
+
422
+
423
+
424
+ <span class="summary_desc"><div class='inline'>
425
+ <p>Target point distance [Float].</p>
426
+ </div></span>
427
+
428
+ </li>
429
+
430
+
431
+ <li class="public ">
432
+ <span class="summary_signature">
433
+
434
+ <a href="#eyePosition-instance_method" title="#eyePosition (instance method)">#<strong>eyePosition</strong> &#x21d2; Object </a>
435
+
436
+
437
+
438
+ </span>
439
+
440
+
441
+
442
+
443
+ <span class="note title readonly">readonly</span>
444
+
445
+
446
+
447
+
448
+
449
+
450
+
451
+
452
+
453
+ <span class="summary_desc"><div class='inline'>
454
+ <p>Eye position <span class='object_link'><a href="FXVec3f.html" title="Fox::FXVec3f (class)">FXVec3f</a></span>.</p>
455
+ </div></span>
456
+
457
+ </li>
458
+
459
+
460
+ <li class="public ">
461
+ <span class="summary_signature">
462
+
463
+ <a href="#eyeVector-instance_method" title="#eyeVector (instance method)">#<strong>eyeVector</strong> &#x21d2; Object </a>
464
+
465
+
466
+
467
+ </span>
468
+
469
+
470
+
471
+
472
+ <span class="note title readonly">readonly</span>
473
+
474
+
475
+
476
+
477
+
478
+
479
+
480
+
481
+
482
+ <span class="summary_desc"><div class='inline'>
483
+ <p>Eyesight vector <span class='object_link'><a href="FXVec3f.html" title="Fox::FXVec3f (class)">FXVec3f</a></span>.</p>
484
+ </div></span>
485
+
486
+ </li>
487
+
488
+
489
+ <li class="public ">
490
+ <span class="summary_signature">
491
+
492
+ <a href="#fieldOfView-instance_method" title="#fieldOfView (instance method)">#<strong>fieldOfView</strong> &#x21d2; Object </a>
493
+
494
+
495
+
496
+ </span>
497
+
498
+
499
+
500
+
501
+
502
+
503
+
504
+
505
+
506
+
507
+
508
+
509
+ <span class="summary_desc"><div class='inline'>
510
+ <p>Camera field of view angle (in degrees) [Float].</p>
511
+ </div></span>
512
+
513
+ </li>
514
+
515
+
516
+ <li class="public ">
517
+ <span class="summary_signature">
518
+
519
+ <a href="#helpText-instance_method" title="#helpText (instance method)">#<strong>helpText</strong> &#x21d2; Object </a>
520
+
521
+
522
+
523
+ </span>
524
+
525
+
526
+
527
+
528
+
529
+
530
+
531
+
532
+
533
+
534
+
535
+
536
+ <span class="summary_desc"><div class='inline'>
537
+ <p>Status line help text [String].</p>
538
+ </div></span>
539
+
540
+ </li>
541
+
542
+
543
+ <li class="public ">
544
+ <span class="summary_signature">
545
+
546
+ <a href="#invTransform-instance_method" title="#invTransform (instance method)">#<strong>invTransform</strong> &#x21d2; Object </a>
547
+
548
+
549
+
550
+ </span>
551
+
552
+
553
+
554
+
555
+ <span class="note title readonly">readonly</span>
556
+
557
+
558
+
559
+
560
+
561
+
562
+
563
+
564
+
565
+ <span class="summary_desc"><div class='inline'>
566
+ <p>The inverse of the current transformation matrix FXMat4f.</p>
567
+ </div></span>
568
+
569
+ </li>
570
+
571
+
572
+ <li class="public ">
573
+ <span class="summary_signature">
574
+
575
+ <a href="#light-instance_method" title="#light (instance method)">#<strong>light</strong> &#x21d2; Object </a>
576
+
577
+
578
+
579
+ </span>
580
+
581
+
582
+
583
+
584
+
585
+
586
+
587
+
588
+
589
+
590
+
591
+
592
+ <span class="summary_desc"><div class='inline'>
593
+ <p>Light source settings <span class='object_link'><a href="FXLight.html" title="Fox::FXLight (class)">FXLight</a></span>.</p>
594
+ </div></span>
595
+
596
+ </li>
597
+
598
+
599
+ <li class="public ">
600
+ <span class="summary_signature">
601
+
602
+ <a href="#material-instance_method" title="#material (instance method)">#<strong>material</strong> &#x21d2; Object </a>
603
+
604
+
605
+
606
+ </span>
607
+
608
+
609
+
610
+
611
+
612
+
613
+
614
+
615
+
616
+
617
+
618
+
619
+ <span class="summary_desc"><div class='inline'>
620
+ <p>Default object material setting <span class='object_link'><a href="FXMaterial.html" title="Fox::FXMaterial (class)">FXMaterial</a></span>.</p>
621
+ </div></span>
622
+
623
+ </li>
624
+
625
+
626
+ <li class="public ">
627
+ <span class="summary_signature">
628
+
629
+ <a href="#maxHits-instance_method" title="#maxHits (instance method)">#<strong>maxHits</strong> &#x21d2; Object </a>
630
+
631
+
632
+
633
+ </span>
634
+
635
+
636
+
637
+
638
+
639
+
640
+
641
+
642
+
643
+
644
+
645
+
646
+ <span class="summary_desc"><div class='inline'>
647
+ <p>The maximum hits, i.e.</p>
648
+ </div></span>
649
+
650
+ </li>
651
+
652
+
653
+ <li class="public ">
654
+ <span class="summary_signature">
655
+
656
+ <a href="#modelPix-instance_method" title="#modelPix (instance method)">#<strong>modelPix</strong> &#x21d2; Object </a>
657
+
658
+
659
+
660
+ </span>
661
+
662
+
663
+
664
+
665
+ <span class="note title readonly">readonly</span>
666
+
667
+
668
+
669
+
670
+
671
+
672
+
673
+
674
+
675
+ <span class="summary_desc"><div class='inline'>
676
+ <p>Size of pixel in model coordinates [Float].</p>
677
+ </div></span>
678
+
679
+ </li>
680
+
681
+
682
+ <li class="public ">
683
+ <span class="summary_signature">
684
+
685
+ <a href="#orientation-instance_method" title="#orientation (instance method)">#<strong>orientation</strong> &#x21d2; Object </a>
686
+
687
+
688
+
689
+ </span>
690
+
691
+
692
+
693
+
694
+
695
+
696
+
697
+
698
+
699
+
700
+
701
+
702
+ <span class="summary_desc"><div class='inline'>
703
+ <p>Camera orientation <span class='object_link'><a href="FXQuatf.html" title="Fox::FXQuatf (class)">FXQuatf</a></span>.</p>
704
+ </div></span>
705
+
706
+ </li>
707
+
708
+
709
+ <li class="public ">
710
+ <span class="summary_signature">
711
+
712
+ <a href="#projection-instance_method" title="#projection (instance method)">#<strong>projection</strong> &#x21d2; Object </a>
713
+
714
+
715
+
716
+ </span>
717
+
718
+
719
+
720
+
721
+
722
+
723
+
724
+
725
+
726
+
727
+
728
+
729
+ <span class="summary_desc"><div class='inline'>
730
+ <p>The projection mode (either <code>FXGLViewer::PERSPECTIVE</code> or <code>FXGLViewer::PARALLEL</code>).</p>
731
+ </div></span>
732
+
733
+ </li>
734
+
735
+
736
+ <li class="public ">
737
+ <span class="summary_signature">
738
+
739
+ <a href="#scale-instance_method" title="#scale (instance method)">#<strong>scale</strong> &#x21d2; Object </a>
740
+
741
+
742
+
743
+ </span>
744
+
745
+
746
+
747
+
748
+
749
+
750
+
751
+
752
+
753
+
754
+
755
+
756
+ <span class="summary_desc"><div class='inline'>
757
+ <p>Current scaling factors <span class='object_link'><a href="FXVec3f.html" title="Fox::FXVec3f (class)">FXVec3f</a></span>.</p>
758
+ </div></span>
759
+
760
+ </li>
761
+
762
+
763
+ <li class="public ">
764
+ <span class="summary_signature">
765
+
766
+ <a href="#scene-instance_method" title="#scene (instance method)">#<strong>scene</strong> &#x21d2; Object </a>
767
+
768
+
769
+
770
+ </span>
771
+
772
+
773
+
774
+
775
+
776
+
777
+
778
+
779
+
780
+
781
+
782
+
783
+ <span class="summary_desc"><div class='inline'>
784
+ <p>The current scene object <span class='object_link'><a href="FXGLObject.html" title="Fox::FXGLObject (class)">FXGLObject</a></span>.</p>
785
+ </div></span>
786
+
787
+ </li>
788
+
789
+
790
+ <li class="public ">
791
+ <span class="summary_signature">
792
+
793
+ <a href="#selection-instance_method" title="#selection (instance method)">#<strong>selection</strong> &#x21d2; Object </a>
794
+
795
+
796
+
797
+ </span>
798
+
799
+
800
+
801
+
802
+
803
+
804
+
805
+
806
+
807
+
808
+
809
+
810
+ <span class="summary_desc"><div class='inline'>
811
+ <p>The selection <span class='object_link'><a href="FXGLObject.html" title="Fox::FXGLObject (class)">FXGLObject</a></span>.</p>
812
+ </div></span>
813
+
814
+ </li>
815
+
816
+
817
+ <li class="public ">
818
+ <span class="summary_signature">
819
+
820
+ <a href="#tipText-instance_method" title="#tipText (instance method)">#<strong>tipText</strong> &#x21d2; Object </a>
821
+
822
+
823
+
824
+ </span>
825
+
826
+
827
+
828
+
829
+
830
+
831
+
832
+
833
+
834
+
835
+
836
+
837
+ <span class="summary_desc"><div class='inline'>
838
+ <p>Tool tip text [String].</p>
839
+ </div></span>
840
+
841
+ </li>
842
+
843
+
844
+ <li class="public ">
845
+ <span class="summary_signature">
846
+
847
+ <a href="#transform-instance_method" title="#transform (instance method)">#<strong>transform</strong> &#x21d2; Object </a>
848
+
849
+
850
+
851
+ </span>
852
+
853
+
854
+
855
+
856
+ <span class="note title readonly">readonly</span>
857
+
858
+
859
+
860
+
861
+
862
+
863
+
864
+
865
+
866
+ <span class="summary_desc"><div class='inline'>
867
+ <p>The current transformation matrix FXMat4f.</p>
868
+ </div></span>
869
+
870
+ </li>
871
+
872
+
873
+ <li class="public ">
874
+ <span class="summary_signature">
875
+
876
+ <a href="#turboMode=-instance_method" title="#turboMode= (instance method)">#<strong>turboMode</strong> &#x21d2; Object </a>
877
+
878
+
879
+
880
+ </span>
881
+
882
+
883
+
884
+
885
+
886
+ <span class="note title writeonly">writeonly</span>
887
+
888
+
889
+
890
+
891
+
892
+
893
+
894
+
895
+ <span class="summary_desc"><div class='inline'>
896
+ <p>Set turbo mode [Boolean].</p>
897
+ </div></span>
898
+
899
+ </li>
900
+
901
+
902
+ <li class="public ">
903
+ <span class="summary_signature">
904
+
905
+ <a href="#viewport-instance_method" title="#viewport (instance method)">#<strong>viewport</strong> &#x21d2; Object </a>
906
+
907
+
908
+
909
+ </span>
910
+
911
+
912
+
913
+
914
+ <span class="note title readonly">readonly</span>
915
+
916
+
917
+
918
+
919
+
920
+
921
+
922
+
923
+
924
+ <span class="summary_desc"><div class='inline'>
925
+ <p>The viewport for this viewer <span class='object_link'><a href="FXViewport.html" title="Fox::FXViewport (class)">FXViewport</a></span>.</p>
926
+ </div></span>
927
+
928
+ </li>
929
+
930
+
931
+ <li class="public ">
932
+ <span class="summary_signature">
933
+
934
+ <a href="#worldPix-instance_method" title="#worldPix (instance method)">#<strong>worldPix</strong> &#x21d2; Object </a>
935
+
936
+
937
+
938
+ </span>
939
+
940
+
941
+
942
+
943
+ <span class="note title readonly">readonly</span>
944
+
945
+
946
+
947
+
948
+
949
+
950
+
951
+
952
+
953
+ <span class="summary_desc"><div class='inline'>
954
+ <p>Size of pixel in world coordinates [Float].</p>
955
+ </div></span>
956
+
957
+ </li>
958
+
959
+
960
+ <li class="public ">
961
+ <span class="summary_signature">
962
+
963
+ <a href="#zoom-instance_method" title="#zoom (instance method)">#<strong>zoom</strong> &#x21d2; Object </a>
964
+
965
+
966
+
967
+ </span>
968
+
969
+
970
+
971
+
972
+
973
+
974
+
975
+
976
+
977
+
978
+
979
+
980
+ <span class="summary_desc"><div class='inline'>
981
+ <p>Camera zoom factor [Float].</p>
982
+ </div></span>
983
+
984
+ </li>
985
+
986
+
987
+ </ul>
988
+
989
+
990
+
991
+
992
+
993
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="FXWindow.html" title="Fox::FXWindow (class)">FXWindow</a></span></h3>
994
+ <p class="inherited"><span class='object_link'><a href="FXWindow.html#accelTable-instance_method" title="Fox::FXWindow#accelTable (method)">#accelTable</a></span>, <span class='object_link'><a href="FXWindow.html#backColor-instance_method" title="Fox::FXWindow#backColor (method)">#backColor</a></span>, <span class='object_link'><a href="FXWindow.html#defaultCursor-instance_method" title="Fox::FXWindow#defaultCursor (method)">#defaultCursor</a></span>, <span class='object_link'><a href="FXWindow.html#dragCursor-instance_method" title="Fox::FXWindow#dragCursor (method)">#dragCursor</a></span>, <span class='object_link'><a href="FXWindow.html#first-instance_method" title="Fox::FXWindow#first (method)">#first</a></span>, <span class='object_link'><a href="FXWindow.html#focus-instance_method" title="Fox::FXWindow#focus (method)">#focus</a></span>, <span class='object_link'><a href="FXWindow.html#key-instance_method" title="Fox::FXWindow#key (method)">#key</a></span>, <span class='object_link'><a href="FXWindow.html#last-instance_method" title="Fox::FXWindow#last (method)">#last</a></span>, <span class='object_link'><a href="FXWindow.html#layoutHints-instance_method" title="Fox::FXWindow#layoutHints (method)">#layoutHints</a></span>, <span class='object_link'><a href="FXWindow.html#next-instance_method" title="Fox::FXWindow#next (method)">#next</a></span>, <span class='object_link'><a href="FXWindow.html#numChildren-instance_method" title="Fox::FXWindow#numChildren (method)">#numChildren</a></span>, <span class='object_link'><a href="FXWindow.html#owner-instance_method" title="Fox::FXWindow#owner (method)">#owner</a></span>, <span class='object_link'><a href="FXWindow.html#parent-instance_method" title="Fox::FXWindow#parent (method)">#parent</a></span>, <span class='object_link'><a href="FXWindow.html#prev-instance_method" title="Fox::FXWindow#prev (method)">#prev</a></span>, <span class='object_link'><a href="FXWindow.html#root-instance_method" title="Fox::FXWindow#root (method)">#root</a></span>, <span class='object_link'><a href="FXWindow.html#selector-instance_method" title="Fox::FXWindow#selector (method)">#selector</a></span>, <span class='object_link'><a href="FXWindow.html#shell-instance_method" title="Fox::FXWindow#shell (method)">#shell</a></span>, <span class='object_link'><a href="FXWindow.html#target-instance_method" title="Fox::FXWindow#target (method)">#target</a></span>, <span class='object_link'><a href="FXWindow.html#x-instance_method" title="Fox::FXWindow#x (method)">#x</a></span>, <span class='object_link'><a href="FXWindow.html#y-instance_method" title="Fox::FXWindow#y (method)">#y</a></span></p>
995
+
996
+
997
+
998
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="FXDrawable.html" title="Fox::FXDrawable (class)">FXDrawable</a></span></h3>
999
+ <p class="inherited"><span class='object_link'><a href="FXDrawable.html#height-instance_method" title="Fox::FXDrawable#height (method)">#height</a></span>, <span class='object_link'><a href="FXDrawable.html#visual-instance_method" title="Fox::FXDrawable#visual (method)">#visual</a></span>, <span class='object_link'><a href="FXDrawable.html#width-instance_method" title="Fox::FXDrawable#width (method)">#width</a></span></p>
1000
+
1001
+
1002
+
1003
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="FXId.html" title="Fox::FXId (class)">FXId</a></span></h3>
1004
+ <p class="inherited"><span class='object_link'><a href="FXId.html#app-instance_method" title="Fox::FXId#app (method)">#app</a></span>, <span class='object_link'><a href="FXId.html#userData-instance_method" title="Fox::FXId#userData (method)">#userData</a></span>, <span class='object_link'><a href="FXId.html#xid-instance_method" title="Fox::FXId#xid (method)">#xid</a></span></p>
1005
+
1006
+
1007
+
1008
+ <h2>
1009
+ Class Method Summary
1010
+ <small><a href="#" class="summary_toggle">collapse</a></small>
1011
+ </h2>
1012
+
1013
+ <ul class="summary">
1014
+
1015
+ <li class="public ">
1016
+ <span class="summary_signature">
1017
+
1018
+ <a href="#objectType-class_method" title="objectType (class method)">.<strong>objectType</strong> &#x21d2; Object </a>
1019
+
1020
+
1021
+
1022
+ </span>
1023
+
1024
+
1025
+
1026
+
1027
+
1028
+
1029
+
1030
+
1031
+
1032
+ <span class="summary_desc"><div class='inline'>
1033
+ <p>Returns the FXDragType for FXGLObject.</p>
1034
+ </div></span>
1035
+
1036
+ </li>
1037
+
1038
+
1039
+ <li class="public ">
1040
+ <span class="summary_signature">
1041
+
1042
+ <a href="#objectTypeName-class_method" title="objectTypeName (class method)">.<strong>objectTypeName</strong> &#x21d2; Object </a>
1043
+
1044
+
1045
+
1046
+ </span>
1047
+
1048
+
1049
+
1050
+
1051
+
1052
+
1053
+
1054
+
1055
+
1056
+ <span class="summary_desc"><div class='inline'>
1057
+ <p>Returns the drag type name.</p>
1058
+ </div></span>
1059
+
1060
+ </li>
1061
+
1062
+
1063
+ </ul>
1064
+
1065
+ <h2>
1066
+ Instance Method Summary
1067
+ <small><a href="#" class="summary_toggle">collapse</a></small>
1068
+ </h2>
1069
+
1070
+ <ul class="summary">
1071
+
1072
+ <li class="public ">
1073
+ <span class="summary_signature">
1074
+
1075
+ <a href="#doesTurbo%3F-instance_method" title="#doesTurbo? (instance method)">#<strong>doesTurbo?</strong> &#x21d2; Boolean </a>
1076
+
1077
+
1078
+
1079
+ </span>
1080
+
1081
+
1082
+
1083
+
1084
+
1085
+
1086
+
1087
+
1088
+
1089
+ <span class="summary_desc"><div class='inline'>
1090
+ <p>When drawing a GL object, if doesTurbo? returns <code>true</code>, the object may choose to perform a reduced complexity drawing as the user is interactively manipulating; another update will be done later when the full complexity drawing can be performed again.</p>
1091
+ </div></span>
1092
+
1093
+ </li>
1094
+
1095
+
1096
+ <li class="public ">
1097
+ <span class="summary_signature">
1098
+
1099
+ <a href="#eyeToScreen-instance_method" title="#eyeToScreen (instance method)">#<strong>eyeToScreen</strong>(e) &#x21d2; Object </a>
1100
+
1101
+
1102
+
1103
+ </span>
1104
+
1105
+
1106
+
1107
+
1108
+
1109
+
1110
+
1111
+
1112
+
1113
+ <span class="summary_desc"><div class='inline'>
1114
+ <p>Translate eye-coordinate to screen coordinate.</p>
1115
+ </div></span>
1116
+
1117
+ </li>
1118
+
1119
+
1120
+ <li class="public ">
1121
+ <span class="summary_signature">
1122
+
1123
+ <a href="#eyeToWorld-instance_method" title="#eyeToWorld (instance method)">#<strong>eyeToWorld</strong>(e) &#x21d2; Object </a>
1124
+
1125
+
1126
+
1127
+ </span>
1128
+
1129
+
1130
+
1131
+
1132
+
1133
+
1134
+
1135
+
1136
+
1137
+ <span class="summary_desc"><div class='inline'>
1138
+ <p>Translate eye coordinate to eye coordinate.</p>
1139
+ </div></span>
1140
+
1141
+ </li>
1142
+
1143
+
1144
+ <li class="public ">
1145
+ <span class="summary_signature">
1146
+
1147
+ <a href="#fitToBounds-instance_method" title="#fitToBounds (instance method)">#<strong>fitToBounds</strong>(box) &#x21d2; Object </a>
1148
+
1149
+
1150
+
1151
+ </span>
1152
+
1153
+
1154
+
1155
+
1156
+
1157
+
1158
+
1159
+
1160
+
1161
+ <span class="summary_desc"><div class='inline'>
1162
+ <p>Fit viewer to the given bounding box.</p>
1163
+ </div></span>
1164
+
1165
+ </li>
1166
+
1167
+
1168
+ <li class="public ">
1169
+ <span class="summary_signature">
1170
+
1171
+ <a href="#getBackgroundColor-instance_method" title="#getBackgroundColor (instance method)">#<strong>getBackgroundColor</strong>(bottom = false) &#x21d2; Object </a>
1172
+
1173
+
1174
+
1175
+ </span>
1176
+
1177
+
1178
+
1179
+
1180
+
1181
+
1182
+
1183
+
1184
+
1185
+ <span class="summary_desc"><div class='inline'>
1186
+ <p>Return top or bottom window background color.</p>
1187
+ </div></span>
1188
+
1189
+ </li>
1190
+
1191
+
1192
+ <li class="public ">
1193
+ <span class="summary_signature">
1194
+
1195
+ <a href="#getBoreVector-instance_method" title="#getBoreVector (instance method)">#<strong>getBoreVector</strong>(sx, sy) &#x21d2; Object </a>
1196
+
1197
+
1198
+
1199
+ </span>
1200
+
1201
+
1202
+
1203
+
1204
+
1205
+
1206
+
1207
+
1208
+
1209
+ <span class="summary_desc"><div class='inline'>
1210
+ <p>Return boresight vector (an array of two arrays).</p>
1211
+ </div></span>
1212
+
1213
+ </li>
1214
+
1215
+
1216
+ <li class="public ">
1217
+ <span class="summary_signature">
1218
+
1219
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(p, vis, sharegroup, target = nil, selector = 0, opts = 0, x = 0, y = 0, width = 0, height = 0) &#x21d2; FXGLViewer </a>
1220
+
1221
+
1222
+
1223
+ </span>
1224
+
1225
+
1226
+ <span class="note title constructor">constructor</span>
1227
+
1228
+
1229
+
1230
+
1231
+
1232
+
1233
+
1234
+
1235
+ <span class="summary_desc"><div class='inline'>
1236
+ <p>Construct GL viewer widget sharing display list with another GL viewer.</p>
1237
+ </div></span>
1238
+
1239
+ </li>
1240
+
1241
+
1242
+ <li class="public ">
1243
+ <span class="summary_signature">
1244
+
1245
+ <a href="#lasso-instance_method" title="#lasso (instance method)">#<strong>lasso</strong>(x1, y1, x2, y2) &#x21d2; Object </a>
1246
+
1247
+
1248
+
1249
+ </span>
1250
+
1251
+
1252
+
1253
+
1254
+
1255
+
1256
+
1257
+
1258
+
1259
+ <span class="summary_desc"><div class='inline'>
1260
+ <p>Return an array of all objects in the given rectangle.</p>
1261
+ </div></span>
1262
+
1263
+ </li>
1264
+
1265
+
1266
+ <li class="public ">
1267
+ <span class="summary_signature">
1268
+
1269
+ <a href="#locked%3F-instance_method" title="#locked? (instance method)">#<strong>locked?</strong> &#x21d2; Boolean </a>
1270
+
1271
+
1272
+
1273
+ </span>
1274
+
1275
+
1276
+
1277
+
1278
+
1279
+
1280
+
1281
+
1282
+
1283
+ <span class="summary_desc"><div class='inline'>
1284
+ <p>Returns <code>true</code> if the viewer is locked.</p>
1285
+ </div></span>
1286
+
1287
+ </li>
1288
+
1289
+
1290
+ <li class="public ">
1291
+ <span class="summary_signature">
1292
+
1293
+ <a href="#readFeedback-instance_method" title="#readFeedback (instance method)">#<strong>readFeedback</strong>(x, y, w, h) &#x21d2; Object </a>
1294
+
1295
+
1296
+
1297
+ </span>
1298
+
1299
+
1300
+
1301
+
1302
+
1303
+
1304
+
1305
+
1306
+
1307
+ <span class="summary_desc"><div class='inline'>
1308
+ <p>Read the feedback buffer containing the current scene.</p>
1309
+ </div></span>
1310
+
1311
+ </li>
1312
+
1313
+
1314
+ <li class="public ">
1315
+ <span class="summary_signature">
1316
+
1317
+ <a href="#readPixels-instance_method" title="#readPixels (instance method)">#<strong>readPixels</strong>(x, y, w, h) &#x21d2; Object </a>
1318
+
1319
+
1320
+
1321
+ </span>
1322
+
1323
+
1324
+
1325
+
1326
+
1327
+
1328
+
1329
+
1330
+
1331
+ <span class="summary_desc"><div class='inline'>
1332
+ <p>Read the pixels off the screen as R,G,B tuples.</p>
1333
+ </div></span>
1334
+
1335
+ </li>
1336
+
1337
+
1338
+ <li class="public ">
1339
+ <span class="summary_signature">
1340
+
1341
+ <a href="#screenToEye-instance_method" title="#screenToEye (instance method)">#<strong>screenToEye</strong>(sx, sy, eyez = 0.0) &#x21d2; Object </a>
1342
+
1343
+
1344
+
1345
+ </span>
1346
+
1347
+
1348
+
1349
+
1350
+
1351
+
1352
+
1353
+
1354
+
1355
+ <span class="summary_desc"><div class='inline'>
1356
+ <p>Translate screen coordinate to eye coordinate at the given depth.</p>
1357
+ </div></span>
1358
+
1359
+ </li>
1360
+
1361
+
1362
+ <li class="public ">
1363
+ <span class="summary_signature">
1364
+
1365
+ <a href="#screenToTarget-instance_method" title="#screenToTarget (instance method)">#<strong>screenToTarget</strong>(sx, sy) &#x21d2; Object </a>
1366
+
1367
+
1368
+
1369
+ </span>
1370
+
1371
+
1372
+
1373
+
1374
+
1375
+
1376
+
1377
+
1378
+
1379
+ <span class="summary_desc"><div class='inline'>
1380
+ <p>Translate screen coordinate to eye coordinate at the target point depth.</p>
1381
+ </div></span>
1382
+
1383
+ </li>
1384
+
1385
+
1386
+ <li class="public ">
1387
+ <span class="summary_signature">
1388
+
1389
+ <a href="#setBackgroundColor-instance_method" title="#setBackgroundColor (instance method)">#<strong>setBackgroundColor</strong>(clr, bottom = MAYBE) &#x21d2; Object </a>
1390
+
1391
+
1392
+
1393
+ </span>
1394
+
1395
+
1396
+
1397
+
1398
+
1399
+
1400
+
1401
+
1402
+
1403
+ <span class="summary_desc"><div class='inline'>
1404
+ <p>Change top, bottom or both background colors.</p>
1405
+ </div></span>
1406
+
1407
+ </li>
1408
+
1409
+
1410
+ <li class="public ">
1411
+ <span class="summary_signature">
1412
+
1413
+ <a href="#setBounds-instance_method" title="#setBounds (instance method)">#<strong>setBounds</strong>(box) &#x21d2; Object </a>
1414
+
1415
+
1416
+
1417
+ </span>
1418
+
1419
+
1420
+
1421
+
1422
+
1423
+
1424
+
1425
+
1426
+
1427
+ <span class="summary_desc"><div class='inline'>
1428
+ <p>Change the model bounding box; this adjusts the viewer.</p>
1429
+ </div></span>
1430
+
1431
+ </li>
1432
+
1433
+
1434
+ <li class="public ">
1435
+ <span class="summary_signature">
1436
+
1437
+ <a href="#translate-instance_method" title="#translate (instance method)">#<strong>translate</strong>(vec) &#x21d2; Object </a>
1438
+
1439
+
1440
+
1441
+ </span>
1442
+
1443
+
1444
+
1445
+
1446
+
1447
+
1448
+
1449
+
1450
+
1451
+ <span class="summary_desc"><div class='inline'>
1452
+ <p>Translate object center.</p>
1453
+ </div></span>
1454
+
1455
+ </li>
1456
+
1457
+
1458
+ <li class="public ">
1459
+ <span class="summary_signature">
1460
+
1461
+ <a href="#turboMode%3F-instance_method" title="#turboMode? (instance method)">#<strong>turboMode?</strong> &#x21d2; Boolean </a>
1462
+
1463
+
1464
+
1465
+ </span>
1466
+
1467
+
1468
+
1469
+
1470
+
1471
+
1472
+
1473
+
1474
+
1475
+ <span class="summary_desc"><div class='inline'>
1476
+ <p>Returns <code>true</code> if turbo mode is enabled.</p>
1477
+ </div></span>
1478
+
1479
+ </li>
1480
+
1481
+
1482
+ <li class="public ">
1483
+ <span class="summary_signature">
1484
+
1485
+ <a href="#worldToEye-instance_method" title="#worldToEye (instance method)">#<strong>worldToEye</strong>(w) &#x21d2; Object </a>
1486
+
1487
+
1488
+
1489
+ </span>
1490
+
1491
+
1492
+
1493
+
1494
+
1495
+
1496
+
1497
+
1498
+
1499
+ <span class="summary_desc"><div class='inline'>
1500
+ <p>Translate world coordinate to eye coordinate.</p>
1501
+ </div></span>
1502
+
1503
+ </li>
1504
+
1505
+
1506
+ <li class="public ">
1507
+ <span class="summary_signature">
1508
+
1509
+ <a href="#worldToEyeZ-instance_method" title="#worldToEyeZ (instance method)">#<strong>worldToEyeZ</strong>(w) &#x21d2; Object </a>
1510
+
1511
+
1512
+
1513
+ </span>
1514
+
1515
+
1516
+
1517
+
1518
+
1519
+
1520
+
1521
+
1522
+
1523
+ <span class="summary_desc"><div class='inline'>
1524
+ <p>Translate world coordinate to eye coordinate depth.</p>
1525
+ </div></span>
1526
+
1527
+ </li>
1528
+
1529
+
1530
+ <li class="public ">
1531
+ <span class="summary_signature">
1532
+
1533
+ <a href="#worldVector-instance_method" title="#worldVector (instance method)">#<strong>worldVector</strong>(fx, fy, tx, ty) &#x21d2; Object </a>
1534
+
1535
+
1536
+
1537
+ </span>
1538
+
1539
+
1540
+
1541
+
1542
+
1543
+
1544
+
1545
+
1546
+
1547
+ <span class="summary_desc"><div class='inline'>
1548
+ <p>Calculate world coordinate vector from screen movement.</p>
1549
+ </div></span>
1550
+
1551
+ </li>
1552
+
1553
+
1554
+ </ul>
1555
+
1556
+
1557
+
1558
+
1559
+
1560
+
1561
+
1562
+
1563
+
1564
+
1565
+
1566
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="FXGLCanvas.html" title="Fox::FXGLCanvas (class)">FXGLCanvas</a></span></h3>
1567
+ <p class="inherited"><span class='object_link'><a href="FXGLCanvas.html#context-instance_method" title="Fox::FXGLCanvas#context (method)">#context</a></span>, <span class='object_link'><a href="FXGLCanvas.html#current%3F-instance_method" title="Fox::FXGLCanvas#current? (method)">#current?</a></span>, <span class='object_link'><a href="FXGLCanvas.html#makeCurrent-instance_method" title="Fox::FXGLCanvas#makeCurrent (method)">#makeCurrent</a></span>, <span class='object_link'><a href="FXGLCanvas.html#makeNonCurrent-instance_method" title="Fox::FXGLCanvas#makeNonCurrent (method)">#makeNonCurrent</a></span>, <span class='object_link'><a href="FXGLCanvas.html#shared%3F-instance_method" title="Fox::FXGLCanvas#shared? (method)">#shared?</a></span>, <span class='object_link'><a href="FXGLCanvas.html#swapBuffers-instance_method" title="Fox::FXGLCanvas#swapBuffers (method)">#swapBuffers</a></span></p>
1568
+
1569
+
1570
+
1571
+
1572
+
1573
+
1574
+
1575
+
1576
+
1577
+
1578
+
1579
+
1580
+
1581
+
1582
+
1583
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="FXWindow.html" title="Fox::FXWindow (class)">FXWindow</a></span></h3>
1584
+ <p class="inherited"><span class='object_link'><a href="FXWindow.html#acceptDrop-instance_method" title="Fox::FXWindow#acceptDrop (method)">#acceptDrop</a></span>, <span class='object_link'><a href="FXWindow.html#acquireClipboard-instance_method" title="Fox::FXWindow#acquireClipboard (method)">#acquireClipboard</a></span>, <span class='object_link'><a href="FXWindow.html#acquireSelection-instance_method" title="Fox::FXWindow#acquireSelection (method)">#acquireSelection</a></span>, <span class='object_link'><a href="FXWindow.html#active%3F-instance_method" title="Fox::FXWindow#active? (method)">#active?</a></span>, <span class='object_link'><a href="FXWindow.html#addHotKey-instance_method" title="Fox::FXWindow#addHotKey (method)">#addHotKey</a></span>, <span class='object_link'><a href="FXWindow.html#after%3F-class_method" title="Fox::FXWindow.after? (method)">after?</a></span>, <span class='object_link'><a href="FXWindow.html#after%3F-instance_method" title="Fox::FXWindow#after? (method)">#after?</a></span>, <span class='object_link'><a href="FXWindow.html#before%3F-class_method" title="Fox::FXWindow.before? (method)">before?</a></span>, <span class='object_link'><a href="FXWindow.html#before%3F-instance_method" title="Fox::FXWindow#before? (method)">#before?</a></span>, <span class='object_link'><a href="FXWindow.html#beginDrag-instance_method" title="Fox::FXWindow#beginDrag (method)">#beginDrag</a></span>, <span class='object_link'><a href="FXWindow.html#canFocus%3F-instance_method" title="Fox::FXWindow#canFocus? (method)">#canFocus?</a></span>, <span class='object_link'><a href="FXWindow.html#changeFocus-instance_method" title="Fox::FXWindow#changeFocus (method)">#changeFocus</a></span>, <span class='object_link'><a href="FXWindow.html#childAtIndex-instance_method" title="Fox::FXWindow#childAtIndex (method)">#childAtIndex</a></span>, <span class='object_link'><a href="FXWindow.html#childOf%3F-instance_method" title="Fox::FXWindow#childOf? (method)">#childOf?</a></span>, <span class='object_link'><a href="FXWindow.html#children-instance_method" title="Fox::FXWindow#children (method)">#children</a></span>, <span class='object_link'><a href="FXWindow.html#clearDragRectangle-instance_method" title="Fox::FXWindow#clearDragRectangle (method)">#clearDragRectangle</a></span>, <span class='object_link'><a href="FXWindow.html#clearShape-instance_method" title="Fox::FXWindow#clearShape (method)">#clearShape</a></span>, <span class='object_link'><a href="FXWindow.html#colorType-class_method" title="Fox::FXWindow.colorType (method)">colorType</a></span>, <span class='object_link'><a href="FXWindow.html#colorTypeName-class_method" title="Fox::FXWindow.colorTypeName (method)">colorTypeName</a></span>, <span class='object_link'><a href="FXWindow.html#commonAncestor-class_method" title="Fox::FXWindow.commonAncestor (method)">commonAncestor</a></span>, <span class='object_link'><a href="FXWindow.html#composeContext-instance_method" title="Fox::FXWindow#composeContext (method)">#composeContext</a></span>, <span class='object_link'><a href="FXWindow.html#composite%3F-instance_method" title="Fox::FXWindow#composite? (method)">#composite?</a></span>, <span class='object_link'><a href="FXWindow.html#contains%3F-instance_method" title="Fox::FXWindow#contains? (method)">#contains?</a></span>, <span class='object_link'><a href="FXWindow.html#containsChild%3F-instance_method" title="Fox::FXWindow#containsChild? (method)">#containsChild?</a></span>, <span class='object_link'><a href="FXWindow.html#create-instance_method" title="Fox::FXWindow#create (method)">#create</a></span>, <span class='object_link'><a href="FXWindow.html#createComposeContext-instance_method" title="Fox::FXWindow#createComposeContext (method)">#createComposeContext</a></span>, <span class='object_link'><a href="FXWindow.html#cursorPosition-instance_method" title="Fox::FXWindow#cursorPosition (method)">#cursorPosition</a></span>, <span class='object_link'><a href="FXWindow.html#default%3F-instance_method" title="Fox::FXWindow#default? (method)">#default?</a></span>, <span class='object_link'><a href="FXWindow.html#defaultHeight-instance_method" title="Fox::FXWindow#defaultHeight (method)">#defaultHeight</a></span>, <span class='object_link'><a href="FXWindow.html#defaultWidth-instance_method" title="Fox::FXWindow#defaultWidth (method)">#defaultWidth</a></span>, <span class='object_link'><a href="FXWindow.html#deleteType-class_method" title="Fox::FXWindow.deleteType (method)">deleteType</a></span>, <span class='object_link'><a href="FXWindow.html#deleteTypeName-class_method" title="Fox::FXWindow.deleteTypeName (method)">deleteTypeName</a></span>, <span class='object_link'><a href="FXWindow.html#destroy-instance_method" title="Fox::FXWindow#destroy (method)">#destroy</a></span>, <span class='object_link'><a href="FXWindow.html#destroyComposeContext-instance_method" title="Fox::FXWindow#destroyComposeContext (method)">#destroyComposeContext</a></span>, <span class='object_link'><a href="FXWindow.html#detach-instance_method" title="Fox::FXWindow#detach (method)">#detach</a></span>, <span class='object_link'><a href="FXWindow.html#didAccept-instance_method" title="Fox::FXWindow#didAccept (method)">#didAccept</a></span>, <span class='object_link'><a href="FXWindow.html#disable-instance_method" title="Fox::FXWindow#disable (method)">#disable</a></span>, <span class='object_link'><a href="FXWindow.html#doesSaveUnder%3F-instance_method" title="Fox::FXWindow#doesSaveUnder? (method)">#doesSaveUnder?</a></span>, <span class='object_link'><a href="FXWindow.html#dragging%3F-instance_method" title="Fox::FXWindow#dragging? (method)">#dragging?</a></span>, <span class='object_link'><a href="FXWindow.html#dropDisable-instance_method" title="Fox::FXWindow#dropDisable (method)">#dropDisable</a></span>, <span class='object_link'><a href="FXWindow.html#dropEnable-instance_method" title="Fox::FXWindow#dropEnable (method)">#dropEnable</a></span>, <span class='object_link'><a href="FXWindow.html#dropEnabled%3F-instance_method" title="Fox::FXWindow#dropEnabled? (method)">#dropEnabled?</a></span>, <span class='object_link'><a href="FXWindow.html#dropFinished-instance_method" title="Fox::FXWindow#dropFinished (method)">#dropFinished</a></span>, <span class='object_link'><a href="FXWindow.html#dropTarget%3F-instance_method" title="Fox::FXWindow#dropTarget? (method)">#dropTarget?</a></span>, <span class='object_link'><a href="FXWindow.html#each_child-instance_method" title="Fox::FXWindow#each_child (method)">#each_child</a></span>, <span class='object_link'><a href="FXWindow.html#each_child_recursive-instance_method" title="Fox::FXWindow#each_child_recursive (method)">#each_child_recursive</a></span>, <span class='object_link'><a href="FXWindow.html#enable-instance_method" title="Fox::FXWindow#enable (method)">#enable</a></span>, <span class='object_link'><a href="FXWindow.html#enabled%3F-instance_method" title="Fox::FXWindow#enabled? (method)">#enabled?</a></span>, <span class='object_link'><a href="FXWindow.html#endDrag-instance_method" title="Fox::FXWindow#endDrag (method)">#endDrag</a></span>, <span class='object_link'><a href="FXWindow.html#forceRefresh-instance_method" title="Fox::FXWindow#forceRefresh (method)">#forceRefresh</a></span>, <span class='object_link'><a href="FXWindow.html#getChildAt-instance_method" title="Fox::FXWindow#getChildAt (method)">#getChildAt</a></span>, <span class='object_link'><a href="FXWindow.html#getDNDData-instance_method" title="Fox::FXWindow#getDNDData (method)">#getDNDData</a></span>, <span class='object_link'><a href="FXWindow.html#getHeightForWidth-instance_method" title="Fox::FXWindow#getHeightForWidth (method)">#getHeightForWidth</a></span>, <span class='object_link'><a href="FXWindow.html#getWidthForHeight-instance_method" title="Fox::FXWindow#getWidthForHeight (method)">#getWidthForHeight</a></span>, <span class='object_link'><a href="FXWindow.html#grab-instance_method" title="Fox::FXWindow#grab (method)">#grab</a></span>, <span class='object_link'><a href="FXWindow.html#grabKeyboard-instance_method" title="Fox::FXWindow#grabKeyboard (method)">#grabKeyboard</a></span>, <span class='object_link'><a href="FXWindow.html#grabbed%3F-instance_method" title="Fox::FXWindow#grabbed? (method)">#grabbed?</a></span>, <span class='object_link'><a href="FXWindow.html#grabbedKeyboard%3F-instance_method" title="Fox::FXWindow#grabbedKeyboard? (method)">#grabbedKeyboard?</a></span>, <span class='object_link'><a href="FXWindow.html#handleDrag-instance_method" title="Fox::FXWindow#handleDrag (method)">#handleDrag</a></span>, <span class='object_link'><a href="FXWindow.html#hasClipboard%3F-instance_method" title="Fox::FXWindow#hasClipboard? (method)">#hasClipboard?</a></span>, <span class='object_link'><a href="FXWindow.html#hasFocus%3F-instance_method" title="Fox::FXWindow#hasFocus? (method)">#hasFocus?</a></span>, <span class='object_link'><a href="FXWindow.html#hasSelection%3F-instance_method" title="Fox::FXWindow#hasSelection? (method)">#hasSelection?</a></span>, <span class='object_link'><a href="FXWindow.html#height-instance_method" title="Fox::FXWindow#height (method)">#height</a></span>, <span class='object_link'><a href="FXWindow.html#height=-instance_method" title="Fox::FXWindow#height= (method)">#height=</a></span>, <span class='object_link'><a href="FXWindow.html#hide-instance_method" title="Fox::FXWindow#hide (method)">#hide</a></span>, <span class='object_link'><a href="FXWindow.html#imageType-class_method" title="Fox::FXWindow.imageType (method)">imageType</a></span>, <span class='object_link'><a href="FXWindow.html#inFocusChain%3F-instance_method" title="Fox::FXWindow#inFocusChain? (method)">#inFocusChain?</a></span>, <span class='object_link'><a href="FXWindow.html#indexOfChild-instance_method" title="Fox::FXWindow#indexOfChild (method)">#indexOfChild</a></span>, <span class='object_link'><a href="FXWindow.html#initial%3F-instance_method" title="Fox::FXWindow#initial? (method)">#initial?</a></span>, <span class='object_link'><a href="FXWindow.html#inquireDNDAction-instance_method" title="Fox::FXWindow#inquireDNDAction (method)">#inquireDNDAction</a></span>, <span class='object_link'><a href="FXWindow.html#inquireDNDTypes-instance_method" title="Fox::FXWindow#inquireDNDTypes (method)">#inquireDNDTypes</a></span>, <span class='object_link'><a href="FXWindow.html#killFocus-instance_method" title="Fox::FXWindow#killFocus (method)">#killFocus</a></span>, <span class='object_link'><a href="FXWindow.html#layout-instance_method" title="Fox::FXWindow#layout (method)">#layout</a></span>, <span class='object_link'><a href="FXWindow.html#linkAfter-instance_method" title="Fox::FXWindow#linkAfter (method)">#linkAfter</a></span>, <span class='object_link'><a href="FXWindow.html#linkBefore-instance_method" title="Fox::FXWindow#linkBefore (method)">#linkBefore</a></span>, <span class='object_link'><a href="FXWindow.html#lower-instance_method" title="Fox::FXWindow#lower (method)">#lower</a></span>, <span class='object_link'><a href="FXWindow.html#move-instance_method" title="Fox::FXWindow#move (method)">#move</a></span>, <span class='object_link'><a href="FXWindow.html#octetType-class_method" title="Fox::FXWindow.octetType (method)">octetType</a></span>, <span class='object_link'><a href="FXWindow.html#octetTypeName-class_method" title="Fox::FXWindow.octetTypeName (method)">octetTypeName</a></span>, <span class='object_link'><a href="FXWindow.html#offeredDNDType%3F-instance_method" title="Fox::FXWindow#offeredDNDType? (method)">#offeredDNDType?</a></span>, <span class='object_link'><a href="FXWindow.html#position-instance_method" title="Fox::FXWindow#position (method)">#position</a></span>, <span class='object_link'><a href="FXWindow.html#raiseWindow-instance_method" title="Fox::FXWindow#raiseWindow (method)">#raiseWindow</a></span>, <span class='object_link'><a href="FXWindow.html#recalc-instance_method" title="Fox::FXWindow#recalc (method)">#recalc</a></span>, <span class='object_link'><a href="FXWindow.html#releaseClipboard-instance_method" title="Fox::FXWindow#releaseClipboard (method)">#releaseClipboard</a></span>, <span class='object_link'><a href="FXWindow.html#releaseSelection-instance_method" title="Fox::FXWindow#releaseSelection (method)">#releaseSelection</a></span>, <span class='object_link'><a href="FXWindow.html#remHotKey-instance_method" title="Fox::FXWindow#remHotKey (method)">#remHotKey</a></span>, <span class='object_link'><a href="FXWindow.html#removeChild-instance_method" title="Fox::FXWindow#removeChild (method)">#removeChild</a></span>, <span class='object_link'><a href="FXWindow.html#repaint-instance_method" title="Fox::FXWindow#repaint (method)">#repaint</a></span>, <span class='object_link'><a href="FXWindow.html#reparent-instance_method" title="Fox::FXWindow#reparent (method)">#reparent</a></span>, <span class='object_link'><a href="FXWindow.html#resize-instance_method" title="Fox::FXWindow#resize (method)">#resize</a></span>, <span class='object_link'><a href="FXWindow.html#scroll-instance_method" title="Fox::FXWindow#scroll (method)">#scroll</a></span>, <span class='object_link'><a href="FXWindow.html#setCursorPosition-instance_method" title="Fox::FXWindow#setCursorPosition (method)">#setCursorPosition</a></span>, <span class='object_link'><a href="FXWindow.html#setDNDData-instance_method" title="Fox::FXWindow#setDNDData (method)">#setDNDData</a></span>, <span class='object_link'><a href="FXWindow.html#setDefault-instance_method" title="Fox::FXWindow#setDefault (method)">#setDefault</a></span>, <span class='object_link'><a href="FXWindow.html#setDragRectangle-instance_method" title="Fox::FXWindow#setDragRectangle (method)">#setDragRectangle</a></span>, <span class='object_link'><a href="FXWindow.html#setFocus-instance_method" title="Fox::FXWindow#setFocus (method)">#setFocus</a></span>, <span class='object_link'><a href="FXWindow.html#setInitial-instance_method" title="Fox::FXWindow#setInitial (method)">#setInitial</a></span>, <span class='object_link'><a href="FXWindow.html#setShape-instance_method" title="Fox::FXWindow#setShape (method)">#setShape</a></span>, <span class='object_link'><a href="FXWindow.html#shell%3F-instance_method" title="Fox::FXWindow#shell? (method)">#shell?</a></span>, <span class='object_link'><a href="FXWindow.html#show-instance_method" title="Fox::FXWindow#show (method)">#show</a></span>, <span class='object_link'><a href="FXWindow.html#shown%3F-instance_method" title="Fox::FXWindow#shown? (method)">#shown?</a></span>, <span class='object_link'><a href="FXWindow.html#stringType-class_method" title="Fox::FXWindow.stringType (method)">stringType</a></span>, <span class='object_link'><a href="FXWindow.html#textType-class_method" title="Fox::FXWindow.textType (method)">textType</a></span>, <span class='object_link'><a href="FXWindow.html#textTypeName-class_method" title="Fox::FXWindow.textTypeName (method)">textTypeName</a></span>, <span class='object_link'><a href="FXWindow.html#tr-instance_method" title="Fox::FXWindow#tr (method)">#tr</a></span>, <span class='object_link'><a href="FXWindow.html#translateCoordinatesFrom-instance_method" title="Fox::FXWindow#translateCoordinatesFrom (method)">#translateCoordinatesFrom</a></span>, <span class='object_link'><a href="FXWindow.html#translateCoordinatesTo-instance_method" title="Fox::FXWindow#translateCoordinatesTo (method)">#translateCoordinatesTo</a></span>, <span class='object_link'><a href="FXWindow.html#underCursor%3F-instance_method" title="Fox::FXWindow#underCursor? (method)">#underCursor?</a></span>, <span class='object_link'><a href="FXWindow.html#ungrab-instance_method" title="Fox::FXWindow#ungrab (method)">#ungrab</a></span>, <span class='object_link'><a href="FXWindow.html#ungrabKeyboard-instance_method" title="Fox::FXWindow#ungrabKeyboard (method)">#ungrabKeyboard</a></span>, <span class='object_link'><a href="FXWindow.html#update-instance_method" title="Fox::FXWindow#update (method)">#update</a></span>, <span class='object_link'><a href="FXWindow.html#urilistType-class_method" title="Fox::FXWindow.urilistType (method)">urilistType</a></span>, <span class='object_link'><a href="FXWindow.html#urilistTypeName-class_method" title="Fox::FXWindow.urilistTypeName (method)">urilistTypeName</a></span>, <span class='object_link'><a href="FXWindow.html#utf16Type-class_method" title="Fox::FXWindow.utf16Type (method)">utf16Type</a></span>, <span class='object_link'><a href="FXWindow.html#utf16TypeName-class_method" title="Fox::FXWindow.utf16TypeName (method)">utf16TypeName</a></span>, <span class='object_link'><a href="FXWindow.html#utf8Type-class_method" title="Fox::FXWindow.utf8Type (method)">utf8Type</a></span>, <span class='object_link'><a href="FXWindow.html#utf8TypeName-class_method" title="Fox::FXWindow.utf8TypeName (method)">utf8TypeName</a></span>, <span class='object_link'><a href="FXWindow.html#visible=-instance_method" title="Fox::FXWindow#visible= (method)">#visible=</a></span>, <span class='object_link'><a href="FXWindow.html#width-instance_method" title="Fox::FXWindow#width (method)">#width</a></span>, <span class='object_link'><a href="FXWindow.html#width=-instance_method" title="Fox::FXWindow#width= (method)">#width=</a></span></p>
1585
+
1586
+
1587
+
1588
+
1589
+
1590
+
1591
+
1592
+
1593
+
1594
+ <h3 class="inherited">Methods included from <span class='object_link'><a href="../Responder2.html" title="Responder2 (module)">Responder2</a></span></h3>
1595
+ <p class="inherited"><span class='object_link'><a href="../Responder2.html#connect-instance_method" title="Responder2#connect (method)">#connect</a></span></p>
1596
+
1597
+
1598
+
1599
+
1600
+
1601
+
1602
+
1603
+
1604
+
1605
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="FXDrawable.html" title="Fox::FXDrawable (class)">FXDrawable</a></span></h3>
1606
+ <p class="inherited"><span class='object_link'><a href="FXDrawable.html#resize-instance_method" title="Fox::FXDrawable#resize (method)">#resize</a></span></p>
1607
+
1608
+
1609
+
1610
+
1611
+
1612
+
1613
+
1614
+
1615
+
1616
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="FXId.html" title="Fox::FXId (class)">FXId</a></span></h3>
1617
+ <p class="inherited"><span class='object_link'><a href="FXId.html#create-instance_method" title="Fox::FXId#create (method)">#create</a></span>, <span class='object_link'><a href="FXId.html#created%3F-instance_method" title="Fox::FXId#created? (method)">#created?</a></span>, <span class='object_link'><a href="FXId.html#destroy-instance_method" title="Fox::FXId#destroy (method)">#destroy</a></span>, <span class='object_link'><a href="FXId.html#detach-instance_method" title="Fox::FXId#detach (method)">#detach</a></span>, <span class='object_link'><a href="FXId.html#runOnUiThread-instance_method" title="Fox::FXId#runOnUiThread (method)">#runOnUiThread</a></span></p>
1618
+
1619
+
1620
+
1621
+
1622
+
1623
+
1624
+
1625
+
1626
+
1627
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="FXObject.html" title="Fox::FXObject (class)">FXObject</a></span></h3>
1628
+ <p class="inherited"><span class='object_link'><a href="FXObject.html#bind-instance_method" title="Fox::FXObject#bind (method)">#bind</a></span>, <span class='object_link'><a href="FXObject.html#handle-instance_method" title="Fox::FXObject#handle (method)">#handle</a></span>, <span class='object_link'><a href="FXObject.html#load-instance_method" title="Fox::FXObject#load (method)">#load</a></span>, <span class='object_link'><a href="FXObject.html#save-instance_method" title="Fox::FXObject#save (method)">#save</a></span>, <span class='object_link'><a href="FXObject.html#subclasses-class_method" title="Fox::FXObject.subclasses (method)">subclasses</a></span></p>
1629
+ <div id="constructor_details" class="method_details_list">
1630
+ <h2>Constructor Details</h2>
1631
+
1632
+ <div class="method_details first">
1633
+ <h3 class="signature first" id="initialize-instance_method">
1634
+
1635
+ #<strong>initialize</strong>(p, vis, sharegroup, target = nil, selector = 0, opts = 0, x = 0, y = 0, width = 0, height = 0) &#x21d2; <tt><span class='object_link'><a href="" title="Fox::FXGLViewer (class)">FXGLViewer</a></span></tt>
1636
+
1637
+
1638
+
1639
+
1640
+
1641
+ </h3><div class="docstring">
1642
+ <div class="discussion">
1643
+
1644
+ <p>Construct GL viewer widget sharing display list with another GL viewer</p>
1645
+
1646
+
1647
+ </div>
1648
+ </div>
1649
+ <div class="tags">
1650
+
1651
+
1652
+ </div><table class="source_code">
1653
+ <tr>
1654
+ <td>
1655
+ <pre class="lines">
1656
+
1657
+
1658
+ 255
1659
+ 256</pre>
1660
+ </td>
1661
+ <td>
1662
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 255</span>
1663
+
1664
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_p'>p</span><span class='comma'>,</span> <span class='id identifier rubyid_vis'>vis</span><span class='comma'>,</span> <span class='id identifier rubyid_target'>target</span><span class='op'>=</span><span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_selector'>selector</span><span class='op'>=</span><span class='int'>0</span><span class='comma'>,</span> <span class='id identifier rubyid_opts'>opts</span><span class='op'>=</span><span class='int'>0</span><span class='comma'>,</span> <span class='id identifier rubyid_x'>x</span><span class='op'>=</span><span class='int'>0</span><span class='comma'>,</span> <span class='id identifier rubyid_y'>y</span><span class='op'>=</span><span class='int'>0</span><span class='comma'>,</span> <span class='id identifier rubyid_width'>width</span><span class='op'>=</span><span class='int'>0</span><span class='comma'>,</span> <span class='id identifier rubyid_height'>height</span><span class='op'>=</span><span class='int'>0</span><span class='rparen'>)</span> <span class='comment'># :yields: theGLViewer
1665
+ </span><span class='kw'>end</span></pre>
1666
+ </td>
1667
+ </tr>
1668
+ </table>
1669
+ </div>
1670
+
1671
+ </div>
1672
+
1673
+ <div id="instance_attr_details" class="attr_details">
1674
+ <h2>Instance Attribute Details</h2>
1675
+
1676
+
1677
+ <span id="ambientColor=-instance_method"></span>
1678
+ <div class="method_details first">
1679
+ <h3 class="signature first" id="ambientColor-instance_method">
1680
+
1681
+ #<strong>ambientColor</strong> &#x21d2; <tt>Object</tt>
1682
+
1683
+
1684
+
1685
+
1686
+
1687
+ </h3><div class="docstring">
1688
+ <div class="discussion">
1689
+
1690
+ <p>Global ambient light color FXMat4f</p>
1691
+
1692
+
1693
+ </div>
1694
+ </div>
1695
+ <div class="tags">
1696
+
1697
+
1698
+ </div><table class="source_code">
1699
+ <tr>
1700
+ <td>
1701
+ <pre class="lines">
1702
+
1703
+
1704
+ 234
1705
+ 235
1706
+ 236</pre>
1707
+ </td>
1708
+ <td>
1709
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 234</span>
1710
+
1711
+ <span class='kw'>def</span> <span class='id identifier rubyid_ambientColor'>ambientColor</span>
1712
+ <span class='ivar'>@ambientColor</span>
1713
+ <span class='kw'>end</span></pre>
1714
+ </td>
1715
+ </tr>
1716
+ </table>
1717
+ </div>
1718
+
1719
+
1720
+ <span id="center=-instance_method"></span>
1721
+ <div class="method_details ">
1722
+ <h3 class="signature " id="center-instance_method">
1723
+
1724
+ #<strong>center</strong> &#x21d2; <tt>Object</tt>
1725
+
1726
+
1727
+
1728
+
1729
+
1730
+ </h3><div class="docstring">
1731
+ <div class="discussion">
1732
+
1733
+ <p>Object center <span class='object_link'><a href="FXVec3f.html" title="Fox::FXVec3f (class)">Fox::FXVec3f</a></span></p>
1734
+
1735
+
1736
+ </div>
1737
+ </div>
1738
+ <div class="tags">
1739
+
1740
+
1741
+ </div><table class="source_code">
1742
+ <tr>
1743
+ <td>
1744
+ <pre class="lines">
1745
+
1746
+
1747
+ 204
1748
+ 205
1749
+ 206</pre>
1750
+ </td>
1751
+ <td>
1752
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 204</span>
1753
+
1754
+ <span class='kw'>def</span> <span class='id identifier rubyid_center'>center</span>
1755
+ <span class='ivar'>@center</span>
1756
+ <span class='kw'>end</span></pre>
1757
+ </td>
1758
+ </tr>
1759
+ </table>
1760
+ </div>
1761
+
1762
+
1763
+ <span id="distance=-instance_method"></span>
1764
+ <div class="method_details ">
1765
+ <h3 class="signature " id="distance-instance_method">
1766
+
1767
+ #<strong>distance</strong> &#x21d2; <tt>Object</tt>
1768
+
1769
+
1770
+
1771
+
1772
+
1773
+ </h3><div class="docstring">
1774
+ <div class="discussion">
1775
+
1776
+ <p>Target point distance [Float]</p>
1777
+
1778
+
1779
+ </div>
1780
+ </div>
1781
+ <div class="tags">
1782
+
1783
+
1784
+ </div><table class="source_code">
1785
+ <tr>
1786
+ <td>
1787
+ <pre class="lines">
1788
+
1789
+
1790
+ 195
1791
+ 196
1792
+ 197</pre>
1793
+ </td>
1794
+ <td>
1795
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 195</span>
1796
+
1797
+ <span class='kw'>def</span> <span class='id identifier rubyid_distance'>distance</span>
1798
+ <span class='ivar'>@distance</span>
1799
+ <span class='kw'>end</span></pre>
1800
+ </td>
1801
+ </tr>
1802
+ </table>
1803
+ </div>
1804
+
1805
+
1806
+ <span id=""></span>
1807
+ <div class="method_details ">
1808
+ <h3 class="signature " id="eyePosition-instance_method">
1809
+
1810
+ #<strong>eyePosition</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
1811
+
1812
+
1813
+
1814
+
1815
+
1816
+ </h3><div class="docstring">
1817
+ <div class="discussion">
1818
+
1819
+ <p>Eye position <span class='object_link'><a href="FXVec3f.html" title="Fox::FXVec3f (class)">Fox::FXVec3f</a></span></p>
1820
+
1821
+
1822
+ </div>
1823
+ </div>
1824
+ <div class="tags">
1825
+
1826
+
1827
+ </div><table class="source_code">
1828
+ <tr>
1829
+ <td>
1830
+ <pre class="lines">
1831
+
1832
+
1833
+ 210
1834
+ 211
1835
+ 212</pre>
1836
+ </td>
1837
+ <td>
1838
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 210</span>
1839
+
1840
+ <span class='kw'>def</span> <span class='id identifier rubyid_eyePosition'>eyePosition</span>
1841
+ <span class='ivar'>@eyePosition</span>
1842
+ <span class='kw'>end</span></pre>
1843
+ </td>
1844
+ </tr>
1845
+ </table>
1846
+ </div>
1847
+
1848
+
1849
+ <span id=""></span>
1850
+ <div class="method_details ">
1851
+ <h3 class="signature " id="eyeVector-instance_method">
1852
+
1853
+ #<strong>eyeVector</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
1854
+
1855
+
1856
+
1857
+
1858
+
1859
+ </h3><div class="docstring">
1860
+ <div class="discussion">
1861
+
1862
+ <p>Eyesight vector <span class='object_link'><a href="FXVec3f.html" title="Fox::FXVec3f (class)">Fox::FXVec3f</a></span></p>
1863
+
1864
+
1865
+ </div>
1866
+ </div>
1867
+ <div class="tags">
1868
+
1869
+
1870
+ </div><table class="source_code">
1871
+ <tr>
1872
+ <td>
1873
+ <pre class="lines">
1874
+
1875
+
1876
+ 207
1877
+ 208
1878
+ 209</pre>
1879
+ </td>
1880
+ <td>
1881
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 207</span>
1882
+
1883
+ <span class='kw'>def</span> <span class='id identifier rubyid_eyeVector'>eyeVector</span>
1884
+ <span class='ivar'>@eyeVector</span>
1885
+ <span class='kw'>end</span></pre>
1886
+ </td>
1887
+ </tr>
1888
+ </table>
1889
+ </div>
1890
+
1891
+
1892
+ <span id="fieldOfView=-instance_method"></span>
1893
+ <div class="method_details ">
1894
+ <h3 class="signature " id="fieldOfView-instance_method">
1895
+
1896
+ #<strong>fieldOfView</strong> &#x21d2; <tt>Object</tt>
1897
+
1898
+
1899
+
1900
+
1901
+
1902
+ </h3><div class="docstring">
1903
+ <div class="discussion">
1904
+
1905
+ <p>Camera field of view angle (in degrees) [Float]</p>
1906
+
1907
+
1908
+ </div>
1909
+ </div>
1910
+ <div class="tags">
1911
+
1912
+
1913
+ </div><table class="source_code">
1914
+ <tr>
1915
+ <td>
1916
+ <pre class="lines">
1917
+
1918
+
1919
+ 189
1920
+ 190
1921
+ 191</pre>
1922
+ </td>
1923
+ <td>
1924
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 189</span>
1925
+
1926
+ <span class='kw'>def</span> <span class='id identifier rubyid_fieldOfView'>fieldOfView</span>
1927
+ <span class='ivar'>@fieldOfView</span>
1928
+ <span class='kw'>end</span></pre>
1929
+ </td>
1930
+ </tr>
1931
+ </table>
1932
+ </div>
1933
+
1934
+
1935
+ <span id="helpText=-instance_method"></span>
1936
+ <div class="method_details ">
1937
+ <h3 class="signature " id="helpText-instance_method">
1938
+
1939
+ #<strong>helpText</strong> &#x21d2; <tt>Object</tt>
1940
+
1941
+
1942
+
1943
+
1944
+
1945
+ </h3><div class="docstring">
1946
+ <div class="discussion">
1947
+
1948
+ <p>Status line help text [String]</p>
1949
+
1950
+
1951
+ </div>
1952
+ </div>
1953
+ <div class="tags">
1954
+
1955
+
1956
+ </div><table class="source_code">
1957
+ <tr>
1958
+ <td>
1959
+ <pre class="lines">
1960
+
1961
+
1962
+ 213
1963
+ 214
1964
+ 215</pre>
1965
+ </td>
1966
+ <td>
1967
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 213</span>
1968
+
1969
+ <span class='kw'>def</span> <span class='id identifier rubyid_helpText'>helpText</span>
1970
+ <span class='ivar'>@helpText</span>
1971
+ <span class='kw'>end</span></pre>
1972
+ </td>
1973
+ </tr>
1974
+ </table>
1975
+ </div>
1976
+
1977
+
1978
+ <span id=""></span>
1979
+ <div class="method_details ">
1980
+ <h3 class="signature " id="invTransform-instance_method">
1981
+
1982
+ #<strong>invTransform</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
1983
+
1984
+
1985
+
1986
+
1987
+
1988
+ </h3><div class="docstring">
1989
+ <div class="discussion">
1990
+
1991
+ <p>The inverse of the current transformation matrix FXMat4f</p>
1992
+
1993
+
1994
+ </div>
1995
+ </div>
1996
+ <div class="tags">
1997
+
1998
+
1999
+ </div><table class="source_code">
2000
+ <tr>
2001
+ <td>
2002
+ <pre class="lines">
2003
+
2004
+
2005
+ 222
2006
+ 223
2007
+ 224</pre>
2008
+ </td>
2009
+ <td>
2010
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 222</span>
2011
+
2012
+ <span class='kw'>def</span> <span class='id identifier rubyid_invTransform'>invTransform</span>
2013
+ <span class='ivar'>@invTransform</span>
2014
+ <span class='kw'>end</span></pre>
2015
+ </td>
2016
+ </tr>
2017
+ </table>
2018
+ </div>
2019
+
2020
+
2021
+ <span id="light=-instance_method"></span>
2022
+ <div class="method_details ">
2023
+ <h3 class="signature " id="light-instance_method">
2024
+
2025
+ #<strong>light</strong> &#x21d2; <tt>Object</tt>
2026
+
2027
+
2028
+
2029
+
2030
+
2031
+ </h3><div class="docstring">
2032
+ <div class="discussion">
2033
+
2034
+ <p>Light source settings <span class='object_link'><a href="FXLight.html" title="Fox::FXLight (class)">Fox::FXLight</a></span></p>
2035
+
2036
+
2037
+ </div>
2038
+ </div>
2039
+ <div class="tags">
2040
+
2041
+
2042
+ </div><table class="source_code">
2043
+ <tr>
2044
+ <td>
2045
+ <pre class="lines">
2046
+
2047
+
2048
+ 244
2049
+ 245
2050
+ 246</pre>
2051
+ </td>
2052
+ <td>
2053
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 244</span>
2054
+
2055
+ <span class='kw'>def</span> <span class='id identifier rubyid_light'>light</span>
2056
+ <span class='ivar'>@light</span>
2057
+ <span class='kw'>end</span></pre>
2058
+ </td>
2059
+ </tr>
2060
+ </table>
2061
+ </div>
2062
+
2063
+
2064
+ <span id="material=-instance_method"></span>
2065
+ <div class="method_details ">
2066
+ <h3 class="signature " id="material-instance_method">
2067
+
2068
+ #<strong>material</strong> &#x21d2; <tt>Object</tt>
2069
+
2070
+
2071
+
2072
+
2073
+
2074
+ </h3><div class="docstring">
2075
+ <div class="discussion">
2076
+
2077
+ <p>Default object material setting <span class='object_link'><a href="FXMaterial.html" title="Fox::FXMaterial (class)">Fox::FXMaterial</a></span></p>
2078
+
2079
+
2080
+ </div>
2081
+ </div>
2082
+ <div class="tags">
2083
+
2084
+
2085
+ </div><table class="source_code">
2086
+ <tr>
2087
+ <td>
2088
+ <pre class="lines">
2089
+
2090
+
2091
+ 186
2092
+ 187
2093
+ 188</pre>
2094
+ </td>
2095
+ <td>
2096
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 186</span>
2097
+
2098
+ <span class='kw'>def</span> <span class='id identifier rubyid_material'>material</span>
2099
+ <span class='ivar'>@material</span>
2100
+ <span class='kw'>end</span></pre>
2101
+ </td>
2102
+ </tr>
2103
+ </table>
2104
+ </div>
2105
+
2106
+
2107
+ <span id="maxHits=-instance_method"></span>
2108
+ <div class="method_details ">
2109
+ <h3 class="signature " id="maxHits-instance_method">
2110
+
2111
+ #<strong>maxHits</strong> &#x21d2; <tt>Object</tt>
2112
+
2113
+
2114
+
2115
+
2116
+
2117
+ </h3><div class="docstring">
2118
+ <div class="discussion">
2119
+
2120
+ <p>The maximum hits, i.e. the maximum size of the pick buffer [Integer]. When less than or equal to zero, picking is essentially turned off.</p>
2121
+
2122
+
2123
+ </div>
2124
+ </div>
2125
+ <div class="tags">
2126
+
2127
+
2128
+ </div><table class="source_code">
2129
+ <tr>
2130
+ <td>
2131
+ <pre class="lines">
2132
+
2133
+
2134
+ 238
2135
+ 239
2136
+ 240</pre>
2137
+ </td>
2138
+ <td>
2139
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 238</span>
2140
+
2141
+ <span class='kw'>def</span> <span class='id identifier rubyid_maxHits'>maxHits</span>
2142
+ <span class='ivar'>@maxHits</span>
2143
+ <span class='kw'>end</span></pre>
2144
+ </td>
2145
+ </tr>
2146
+ </table>
2147
+ </div>
2148
+
2149
+
2150
+ <span id=""></span>
2151
+ <div class="method_details ">
2152
+ <h3 class="signature " id="modelPix-instance_method">
2153
+
2154
+ #<strong>modelPix</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
2155
+
2156
+
2157
+
2158
+
2159
+
2160
+ </h3><div class="docstring">
2161
+ <div class="discussion">
2162
+
2163
+ <p>Size of pixel in model coordinates [Float]</p>
2164
+
2165
+
2166
+ </div>
2167
+ </div>
2168
+ <div class="tags">
2169
+
2170
+
2171
+ </div><table class="source_code">
2172
+ <tr>
2173
+ <td>
2174
+ <pre class="lines">
2175
+
2176
+
2177
+ 180
2178
+ 181
2179
+ 182</pre>
2180
+ </td>
2181
+ <td>
2182
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 180</span>
2183
+
2184
+ <span class='kw'>def</span> <span class='id identifier rubyid_modelPix'>modelPix</span>
2185
+ <span class='ivar'>@modelPix</span>
2186
+ <span class='kw'>end</span></pre>
2187
+ </td>
2188
+ </tr>
2189
+ </table>
2190
+ </div>
2191
+
2192
+
2193
+ <span id="orientation=-instance_method"></span>
2194
+ <div class="method_details ">
2195
+ <h3 class="signature " id="orientation-instance_method">
2196
+
2197
+ #<strong>orientation</strong> &#x21d2; <tt>Object</tt>
2198
+
2199
+
2200
+
2201
+
2202
+
2203
+ </h3><div class="docstring">
2204
+ <div class="discussion">
2205
+
2206
+ <p>Camera orientation <span class='object_link'><a href="FXQuatf.html" title="Fox::FXQuatf (class)">Fox::FXQuatf</a></span></p>
2207
+
2208
+
2209
+ </div>
2210
+ </div>
2211
+ <div class="tags">
2212
+
2213
+
2214
+ </div><table class="source_code">
2215
+ <tr>
2216
+ <td>
2217
+ <pre class="lines">
2218
+
2219
+
2220
+ 201
2221
+ 202
2222
+ 203</pre>
2223
+ </td>
2224
+ <td>
2225
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 201</span>
2226
+
2227
+ <span class='kw'>def</span> <span class='id identifier rubyid_orientation'>orientation</span>
2228
+ <span class='ivar'>@orientation</span>
2229
+ <span class='kw'>end</span></pre>
2230
+ </td>
2231
+ </tr>
2232
+ </table>
2233
+ </div>
2234
+
2235
+
2236
+ <span id="projection=-instance_method"></span>
2237
+ <div class="method_details ">
2238
+ <h3 class="signature " id="projection-instance_method">
2239
+
2240
+ #<strong>projection</strong> &#x21d2; <tt>Object</tt>
2241
+
2242
+
2243
+
2244
+
2245
+
2246
+ </h3><div class="docstring">
2247
+ <div class="discussion">
2248
+
2249
+ <p>The projection mode (either <code>FXGLViewer::PERSPECTIVE</code> or <code>FXGLViewer::PARALLEL</code>)</p>
2250
+
2251
+
2252
+ </div>
2253
+ </div>
2254
+ <div class="tags">
2255
+
2256
+
2257
+ </div><table class="source_code">
2258
+ <tr>
2259
+ <td>
2260
+ <pre class="lines">
2261
+
2262
+
2263
+ 231
2264
+ 232
2265
+ 233</pre>
2266
+ </td>
2267
+ <td>
2268
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 231</span>
2269
+
2270
+ <span class='kw'>def</span> <span class='id identifier rubyid_projection'>projection</span>
2271
+ <span class='ivar'>@projection</span>
2272
+ <span class='kw'>end</span></pre>
2273
+ </td>
2274
+ </tr>
2275
+ </table>
2276
+ </div>
2277
+
2278
+
2279
+ <span id="scale=-instance_method"></span>
2280
+ <div class="method_details ">
2281
+ <h3 class="signature " id="scale-instance_method">
2282
+
2283
+ #<strong>scale</strong> &#x21d2; <tt>Object</tt>
2284
+
2285
+
2286
+
2287
+
2288
+
2289
+ </h3><div class="docstring">
2290
+ <div class="discussion">
2291
+
2292
+ <p>Current scaling factors <span class='object_link'><a href="FXVec3f.html" title="Fox::FXVec3f (class)">Fox::FXVec3f</a></span></p>
2293
+
2294
+
2295
+ </div>
2296
+ </div>
2297
+ <div class="tags">
2298
+
2299
+
2300
+ </div><table class="source_code">
2301
+ <tr>
2302
+ <td>
2303
+ <pre class="lines">
2304
+
2305
+
2306
+ 198
2307
+ 199
2308
+ 200</pre>
2309
+ </td>
2310
+ <td>
2311
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 198</span>
2312
+
2313
+ <span class='kw'>def</span> <span class='id identifier rubyid_scale'>scale</span>
2314
+ <span class='ivar'>@scale</span>
2315
+ <span class='kw'>end</span></pre>
2316
+ </td>
2317
+ </tr>
2318
+ </table>
2319
+ </div>
2320
+
2321
+
2322
+ <span id="scene=-instance_method"></span>
2323
+ <div class="method_details ">
2324
+ <h3 class="signature " id="scene-instance_method">
2325
+
2326
+ #<strong>scene</strong> &#x21d2; <tt>Object</tt>
2327
+
2328
+
2329
+
2330
+
2331
+
2332
+ </h3><div class="docstring">
2333
+ <div class="discussion">
2334
+
2335
+ <p>The current scene object <span class='object_link'><a href="FXGLObject.html" title="Fox::FXGLObject (class)">Fox::FXGLObject</a></span></p>
2336
+
2337
+
2338
+ </div>
2339
+ </div>
2340
+ <div class="tags">
2341
+
2342
+
2343
+ </div><table class="source_code">
2344
+ <tr>
2345
+ <td>
2346
+ <pre class="lines">
2347
+
2348
+
2349
+ 225
2350
+ 226
2351
+ 227</pre>
2352
+ </td>
2353
+ <td>
2354
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 225</span>
2355
+
2356
+ <span class='kw'>def</span> <span class='id identifier rubyid_scene'>scene</span>
2357
+ <span class='ivar'>@scene</span>
2358
+ <span class='kw'>end</span></pre>
2359
+ </td>
2360
+ </tr>
2361
+ </table>
2362
+ </div>
2363
+
2364
+
2365
+ <span id="selection=-instance_method"></span>
2366
+ <div class="method_details ">
2367
+ <h3 class="signature " id="selection-instance_method">
2368
+
2369
+ #<strong>selection</strong> &#x21d2; <tt>Object</tt>
2370
+
2371
+
2372
+
2373
+
2374
+
2375
+ </h3><div class="docstring">
2376
+ <div class="discussion">
2377
+
2378
+ <p>The selection <span class='object_link'><a href="FXGLObject.html" title="Fox::FXGLObject (class)">Fox::FXGLObject</a></span></p>
2379
+
2380
+
2381
+ </div>
2382
+ </div>
2383
+ <div class="tags">
2384
+
2385
+
2386
+ </div><table class="source_code">
2387
+ <tr>
2388
+ <td>
2389
+ <pre class="lines">
2390
+
2391
+
2392
+ 228
2393
+ 229
2394
+ 230</pre>
2395
+ </td>
2396
+ <td>
2397
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 228</span>
2398
+
2399
+ <span class='kw'>def</span> <span class='id identifier rubyid_selection'>selection</span>
2400
+ <span class='ivar'>@selection</span>
2401
+ <span class='kw'>end</span></pre>
2402
+ </td>
2403
+ </tr>
2404
+ </table>
2405
+ </div>
2406
+
2407
+
2408
+ <span id="tipText=-instance_method"></span>
2409
+ <div class="method_details ">
2410
+ <h3 class="signature " id="tipText-instance_method">
2411
+
2412
+ #<strong>tipText</strong> &#x21d2; <tt>Object</tt>
2413
+
2414
+
2415
+
2416
+
2417
+
2418
+ </h3><div class="docstring">
2419
+ <div class="discussion">
2420
+
2421
+ <p>Tool tip text [String]</p>
2422
+
2423
+
2424
+ </div>
2425
+ </div>
2426
+ <div class="tags">
2427
+
2428
+
2429
+ </div><table class="source_code">
2430
+ <tr>
2431
+ <td>
2432
+ <pre class="lines">
2433
+
2434
+
2435
+ 216
2436
+ 217
2437
+ 218</pre>
2438
+ </td>
2439
+ <td>
2440
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 216</span>
2441
+
2442
+ <span class='kw'>def</span> <span class='id identifier rubyid_tipText'>tipText</span>
2443
+ <span class='ivar'>@tipText</span>
2444
+ <span class='kw'>end</span></pre>
2445
+ </td>
2446
+ </tr>
2447
+ </table>
2448
+ </div>
2449
+
2450
+
2451
+ <span id=""></span>
2452
+ <div class="method_details ">
2453
+ <h3 class="signature " id="transform-instance_method">
2454
+
2455
+ #<strong>transform</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
2456
+
2457
+
2458
+
2459
+
2460
+
2461
+ </h3><div class="docstring">
2462
+ <div class="discussion">
2463
+
2464
+ <p>The current transformation matrix FXMat4f</p>
2465
+
2466
+
2467
+ </div>
2468
+ </div>
2469
+ <div class="tags">
2470
+
2471
+
2472
+ </div><table class="source_code">
2473
+ <tr>
2474
+ <td>
2475
+ <pre class="lines">
2476
+
2477
+
2478
+ 219
2479
+ 220
2480
+ 221</pre>
2481
+ </td>
2482
+ <td>
2483
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 219</span>
2484
+
2485
+ <span class='kw'>def</span> <span class='id identifier rubyid_transform'>transform</span>
2486
+ <span class='ivar'>@transform</span>
2487
+ <span class='kw'>end</span></pre>
2488
+ </td>
2489
+ </tr>
2490
+ </table>
2491
+ </div>
2492
+
2493
+
2494
+ <span id=""></span>
2495
+ <div class="method_details ">
2496
+ <h3 class="signature " id="turboMode=-instance_method">
2497
+
2498
+ #<strong>turboMode=</strong>(value) &#x21d2; <tt>Object</tt> <span class="extras">(writeonly)</span>
2499
+
2500
+
2501
+
2502
+
2503
+
2504
+ </h3><div class="docstring">
2505
+ <div class="discussion">
2506
+
2507
+ <p>Set turbo mode [Boolean]</p>
2508
+
2509
+
2510
+ </div>
2511
+ </div>
2512
+ <div class="tags">
2513
+
2514
+
2515
+ </div><table class="source_code">
2516
+ <tr>
2517
+ <td>
2518
+ <pre class="lines">
2519
+
2520
+
2521
+ 241
2522
+ 242
2523
+ 243</pre>
2524
+ </td>
2525
+ <td>
2526
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 241</span>
2527
+
2528
+ <span class='kw'>def</span> <span class='id identifier rubyid_turboMode='>turboMode=</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
2529
+ <span class='ivar'>@turboMode</span> <span class='op'>=</span> <span class='id identifier rubyid_value'>value</span>
2530
+ <span class='kw'>end</span></pre>
2531
+ </td>
2532
+ </tr>
2533
+ </table>
2534
+ </div>
2535
+
2536
+
2537
+ <span id=""></span>
2538
+ <div class="method_details ">
2539
+ <h3 class="signature " id="viewport-instance_method">
2540
+
2541
+ #<strong>viewport</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
2542
+
2543
+
2544
+
2545
+
2546
+
2547
+ </h3><div class="docstring">
2548
+ <div class="discussion">
2549
+
2550
+ <p>The viewport for this viewer <span class='object_link'><a href="FXViewport.html" title="Fox::FXViewport (class)">Fox::FXViewport</a></span></p>
2551
+
2552
+
2553
+ </div>
2554
+ </div>
2555
+ <div class="tags">
2556
+
2557
+
2558
+ </div><table class="source_code">
2559
+ <tr>
2560
+ <td>
2561
+ <pre class="lines">
2562
+
2563
+
2564
+ 183
2565
+ 184
2566
+ 185</pre>
2567
+ </td>
2568
+ <td>
2569
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 183</span>
2570
+
2571
+ <span class='kw'>def</span> <span class='id identifier rubyid_viewport'>viewport</span>
2572
+ <span class='ivar'>@viewport</span>
2573
+ <span class='kw'>end</span></pre>
2574
+ </td>
2575
+ </tr>
2576
+ </table>
2577
+ </div>
2578
+
2579
+
2580
+ <span id=""></span>
2581
+ <div class="method_details ">
2582
+ <h3 class="signature " id="worldPix-instance_method">
2583
+
2584
+ #<strong>worldPix</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
2585
+
2586
+
2587
+
2588
+
2589
+
2590
+ </h3><div class="docstring">
2591
+ <div class="discussion">
2592
+
2593
+ <p>Size of pixel in world coordinates [Float]</p>
2594
+
2595
+
2596
+ </div>
2597
+ </div>
2598
+ <div class="tags">
2599
+
2600
+
2601
+ </div><table class="source_code">
2602
+ <tr>
2603
+ <td>
2604
+ <pre class="lines">
2605
+
2606
+
2607
+ 177
2608
+ 178
2609
+ 179</pre>
2610
+ </td>
2611
+ <td>
2612
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 177</span>
2613
+
2614
+ <span class='kw'>def</span> <span class='id identifier rubyid_worldPix'>worldPix</span>
2615
+ <span class='ivar'>@worldPix</span>
2616
+ <span class='kw'>end</span></pre>
2617
+ </td>
2618
+ </tr>
2619
+ </table>
2620
+ </div>
2621
+
2622
+
2623
+ <span id="zoom=-instance_method"></span>
2624
+ <div class="method_details ">
2625
+ <h3 class="signature " id="zoom-instance_method">
2626
+
2627
+ #<strong>zoom</strong> &#x21d2; <tt>Object</tt>
2628
+
2629
+
2630
+
2631
+
2632
+
2633
+ </h3><div class="docstring">
2634
+ <div class="discussion">
2635
+
2636
+ <p>Camera zoom factor [Float]</p>
2637
+
2638
+
2639
+ </div>
2640
+ </div>
2641
+ <div class="tags">
2642
+
2643
+
2644
+ </div><table class="source_code">
2645
+ <tr>
2646
+ <td>
2647
+ <pre class="lines">
2648
+
2649
+
2650
+ 192
2651
+ 193
2652
+ 194</pre>
2653
+ </td>
2654
+ <td>
2655
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 192</span>
2656
+
2657
+ <span class='kw'>def</span> <span class='id identifier rubyid_zoom'>zoom</span>
2658
+ <span class='ivar'>@zoom</span>
2659
+ <span class='kw'>end</span></pre>
2660
+ </td>
2661
+ </tr>
2662
+ </table>
2663
+ </div>
2664
+
2665
+ </div>
2666
+
2667
+
2668
+ <div id="class_method_details" class="method_details_list">
2669
+ <h2>Class Method Details</h2>
2670
+
2671
+
2672
+ <div class="method_details first">
2673
+ <h3 class="signature first" id="objectType-class_method">
2674
+
2675
+ .<strong>objectType</strong> &#x21d2; <tt>Object</tt>
2676
+
2677
+
2678
+
2679
+
2680
+
2681
+ </h3><div class="docstring">
2682
+ <div class="discussion">
2683
+
2684
+ <p>Returns the FXDragType for FXGLObject</p>
2685
+
2686
+
2687
+ </div>
2688
+ </div>
2689
+ <div class="tags">
2690
+
2691
+
2692
+ </div><table class="source_code">
2693
+ <tr>
2694
+ <td>
2695
+ <pre class="lines">
2696
+
2697
+
2698
+ 247</pre>
2699
+ </td>
2700
+ <td>
2701
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 247</span>
2702
+
2703
+ <span class='kw'>def</span> <span class='const'><span class='object_link'><a href="" title="Fox::FXGLViewer (class)">FXGLViewer</a></span></span><span class='period'>.</span><span class='id identifier rubyid_objectType'>objectType</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2704
+ </td>
2705
+ </tr>
2706
+ </table>
2707
+ </div>
2708
+
2709
+ <div class="method_details ">
2710
+ <h3 class="signature " id="objectTypeName-class_method">
2711
+
2712
+ .<strong>objectTypeName</strong> &#x21d2; <tt>Object</tt>
2713
+
2714
+
2715
+
2716
+
2717
+
2718
+ </h3><div class="docstring">
2719
+ <div class="discussion">
2720
+
2721
+ <p>Returns the drag type name</p>
2722
+
2723
+
2724
+ </div>
2725
+ </div>
2726
+ <div class="tags">
2727
+
2728
+
2729
+ </div><table class="source_code">
2730
+ <tr>
2731
+ <td>
2732
+ <pre class="lines">
2733
+
2734
+
2735
+ 250</pre>
2736
+ </td>
2737
+ <td>
2738
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 250</span>
2739
+
2740
+ <span class='kw'>def</span> <span class='const'><span class='object_link'><a href="" title="Fox::FXGLViewer (class)">FXGLViewer</a></span></span><span class='period'>.</span><span class='id identifier rubyid_objectTypeName'>objectTypeName</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2741
+ </td>
2742
+ </tr>
2743
+ </table>
2744
+ </div>
2745
+
2746
+ </div>
2747
+
2748
+ <div id="instance_method_details" class="method_details_list">
2749
+ <h2>Instance Method Details</h2>
2750
+
2751
+
2752
+ <div class="method_details first">
2753
+ <h3 class="signature first" id="doesTurbo?-instance_method">
2754
+
2755
+ #<strong>doesTurbo?</strong> &#x21d2; <tt>Boolean</tt>
2756
+
2757
+
2758
+
2759
+
2760
+
2761
+ </h3><div class="docstring">
2762
+ <div class="discussion">
2763
+
2764
+ <p>When drawing a GL object, if doesTurbo? returns <code>true</code>, the object may choose to perform a reduced complexity drawing as the user is interactively manipulating; another update will be done later when the full complexity drawing can be performed again.</p>
2765
+
2766
+
2767
+ </div>
2768
+ </div>
2769
+ <div class="tags">
2770
+
2771
+ <p class="tag_title">Returns:</p>
2772
+ <ul class="return">
2773
+
2774
+ <li>
2775
+
2776
+
2777
+ <span class='type'>(<tt>Boolean</tt>)</span>
2778
+
2779
+
2780
+
2781
+ </li>
2782
+
2783
+ </ul>
2784
+
2785
+ </div><table class="source_code">
2786
+ <tr>
2787
+ <td>
2788
+ <pre class="lines">
2789
+
2790
+
2791
+ 318</pre>
2792
+ </td>
2793
+ <td>
2794
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 318</span>
2795
+
2796
+ <span class='kw'>def</span> <span class='id identifier rubyid_doesTurbo?'>doesTurbo?</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2797
+ </td>
2798
+ </tr>
2799
+ </table>
2800
+ </div>
2801
+
2802
+ <div class="method_details ">
2803
+ <h3 class="signature " id="eyeToScreen-instance_method">
2804
+
2805
+ #<strong>eyeToScreen</strong>(e) &#x21d2; <tt>Object</tt>
2806
+
2807
+
2808
+
2809
+
2810
+
2811
+ </h3><div class="docstring">
2812
+ <div class="discussion">
2813
+
2814
+ <p>Translate eye-coordinate to screen coordinate. Returns a 2-element array [sx, sy] containing the screen coordinate.</p>
2815
+
2816
+
2817
+ </div>
2818
+ </div>
2819
+ <div class="tags">
2820
+
2821
+
2822
+ </div><table class="source_code">
2823
+ <tr>
2824
+ <td>
2825
+ <pre class="lines">
2826
+
2827
+
2828
+ 277</pre>
2829
+ </td>
2830
+ <td>
2831
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 277</span>
2832
+
2833
+ <span class='kw'>def</span> <span class='id identifier rubyid_eyeToScreen'>eyeToScreen</span><span class='lparen'>(</span><span class='id identifier rubyid_e'>e</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2834
+ </td>
2835
+ </tr>
2836
+ </table>
2837
+ </div>
2838
+
2839
+ <div class="method_details ">
2840
+ <h3 class="signature " id="eyeToWorld-instance_method">
2841
+
2842
+ #<strong>eyeToWorld</strong>(e) &#x21d2; <tt>Object</tt>
2843
+
2844
+
2845
+
2846
+
2847
+
2848
+ </h3><div class="docstring">
2849
+ <div class="discussion">
2850
+
2851
+ <p>Translate eye coordinate to eye coordinate</p>
2852
+
2853
+
2854
+ </div>
2855
+ </div>
2856
+ <div class="tags">
2857
+
2858
+
2859
+ </div><table class="source_code">
2860
+ <tr>
2861
+ <td>
2862
+ <pre class="lines">
2863
+
2864
+
2865
+ 292</pre>
2866
+ </td>
2867
+ <td>
2868
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 292</span>
2869
+
2870
+ <span class='kw'>def</span> <span class='id identifier rubyid_eyeToWorld'>eyeToWorld</span><span class='lparen'>(</span><span class='id identifier rubyid_e'>e</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2871
+ </td>
2872
+ </tr>
2873
+ </table>
2874
+ </div>
2875
+
2876
+ <div class="method_details ">
2877
+ <h3 class="signature " id="fitToBounds-instance_method">
2878
+
2879
+ #<strong>fitToBounds</strong>(box) &#x21d2; <tt>Object</tt>
2880
+
2881
+
2882
+
2883
+
2884
+
2885
+ </h3><div class="docstring">
2886
+ <div class="discussion">
2887
+
2888
+ <p>Fit viewer to the given bounding box</p>
2889
+
2890
+
2891
+ </div>
2892
+ </div>
2893
+ <div class="tags">
2894
+
2895
+
2896
+ </div><table class="source_code">
2897
+ <tr>
2898
+ <td>
2899
+ <pre class="lines">
2900
+
2901
+
2902
+ 271</pre>
2903
+ </td>
2904
+ <td>
2905
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 271</span>
2906
+
2907
+ <span class='kw'>def</span> <span class='id identifier rubyid_fitToBounds'>fitToBounds</span><span class='lparen'>(</span><span class='id identifier rubyid_box'>box</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2908
+ </td>
2909
+ </tr>
2910
+ </table>
2911
+ </div>
2912
+
2913
+ <div class="method_details ">
2914
+ <h3 class="signature " id="getBackgroundColor-instance_method">
2915
+
2916
+ #<strong>getBackgroundColor</strong>(bottom = false) &#x21d2; <tt>Object</tt>
2917
+
2918
+
2919
+
2920
+
2921
+
2922
+ </h3><div class="docstring">
2923
+ <div class="discussion">
2924
+
2925
+ <p>Return top or bottom window background color.</p>
2926
+
2927
+
2928
+ </div>
2929
+ </div>
2930
+ <div class="tags">
2931
+
2932
+
2933
+ </div><table class="source_code">
2934
+ <tr>
2935
+ <td>
2936
+ <pre class="lines">
2937
+
2938
+
2939
+ 329</pre>
2940
+ </td>
2941
+ <td>
2942
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 329</span>
2943
+
2944
+ <span class='kw'>def</span> <span class='id identifier rubyid_getBackgroundColor'>getBackgroundColor</span><span class='lparen'>(</span><span class='id identifier rubyid_bottom'>bottom</span><span class='op'>=</span><span class='kw'>false</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2945
+ </td>
2946
+ </tr>
2947
+ </table>
2948
+ </div>
2949
+
2950
+ <div class="method_details ">
2951
+ <h3 class="signature " id="getBoreVector-instance_method">
2952
+
2953
+ #<strong>getBoreVector</strong>(sx, sy) &#x21d2; <tt>Object</tt>
2954
+
2955
+
2956
+
2957
+
2958
+
2959
+ </h3><div class="docstring">
2960
+ <div class="discussion">
2961
+
2962
+ <p>Return boresight vector (an array of two arrays)</p>
2963
+
2964
+
2965
+ </div>
2966
+ </div>
2967
+ <div class="tags">
2968
+
2969
+
2970
+ </div><table class="source_code">
2971
+ <tr>
2972
+ <td>
2973
+ <pre class="lines">
2974
+
2975
+
2976
+ 301</pre>
2977
+ </td>
2978
+ <td>
2979
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 301</span>
2980
+
2981
+ <span class='kw'>def</span> <span class='id identifier rubyid_getBoreVector'>getBoreVector</span><span class='lparen'>(</span><span class='id identifier rubyid_sx'>sx</span><span class='comma'>,</span> <span class='id identifier rubyid_sy'>sy</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2982
+ </td>
2983
+ </tr>
2984
+ </table>
2985
+ </div>
2986
+
2987
+ <div class="method_details ">
2988
+ <h3 class="signature " id="lasso-instance_method">
2989
+
2990
+ #<strong>lasso</strong>(x1, y1, x2, y2) &#x21d2; <tt>Object</tt>
2991
+
2992
+
2993
+
2994
+
2995
+
2996
+ </h3><div class="docstring">
2997
+ <div class="discussion">
2998
+
2999
+ <p>Return an array of all objects in the given rectangle</p>
3000
+
3001
+
3002
+ </div>
3003
+ </div>
3004
+ <div class="tags">
3005
+
3006
+
3007
+ </div><table class="source_code">
3008
+ <tr>
3009
+ <td>
3010
+ <pre class="lines">
3011
+
3012
+
3013
+ 265</pre>
3014
+ </td>
3015
+ <td>
3016
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 265</span>
3017
+
3018
+ <span class='kw'>def</span> <span class='id identifier rubyid_lasso'>lasso</span><span class='lparen'>(</span><span class='id identifier rubyid_x1'>x1</span><span class='comma'>,</span> <span class='id identifier rubyid_y1'>y1</span><span class='comma'>,</span> <span class='id identifier rubyid_x2'>x2</span><span class='comma'>,</span> <span class='id identifier rubyid_y2'>y2</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
3019
+ </td>
3020
+ </tr>
3021
+ </table>
3022
+ </div>
3023
+
3024
+ <div class="method_details ">
3025
+ <h3 class="signature " id="locked?-instance_method">
3026
+
3027
+ #<strong>locked?</strong> &#x21d2; <tt>Boolean</tt>
3028
+
3029
+
3030
+
3031
+
3032
+
3033
+ </h3><div class="docstring">
3034
+ <div class="discussion">
3035
+
3036
+ <p>Returns <code>true</code> if the viewer is locked</p>
3037
+
3038
+
3039
+ </div>
3040
+ </div>
3041
+ <div class="tags">
3042
+
3043
+ <p class="tag_title">Returns:</p>
3044
+ <ul class="return">
3045
+
3046
+ <li>
3047
+
3048
+
3049
+ <span class='type'>(<tt>Boolean</tt>)</span>
3050
+
3051
+
3052
+
3053
+ </li>
3054
+
3055
+ </ul>
3056
+
3057
+ </div><table class="source_code">
3058
+ <tr>
3059
+ <td>
3060
+ <pre class="lines">
3061
+
3062
+
3063
+ 304</pre>
3064
+ </td>
3065
+ <td>
3066
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 304</span>
3067
+
3068
+ <span class='kw'>def</span> <span class='id identifier rubyid_locked?'>locked?</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
3069
+ </td>
3070
+ </tr>
3071
+ </table>
3072
+ </div>
3073
+
3074
+ <div class="method_details ">
3075
+ <h3 class="signature " id="readFeedback-instance_method">
3076
+
3077
+ #<strong>readFeedback</strong>(x, y, w, h) &#x21d2; <tt>Object</tt>
3078
+
3079
+
3080
+
3081
+
3082
+
3083
+ </h3><div class="docstring">
3084
+ <div class="discussion">
3085
+
3086
+ <p>Read the feedback buffer containing the current scene.</p>
3087
+
3088
+
3089
+ </div>
3090
+ </div>
3091
+ <div class="tags">
3092
+
3093
+
3094
+ </div><table class="source_code">
3095
+ <tr>
3096
+ <td>
3097
+ <pre class="lines">
3098
+
3099
+
3100
+ 310</pre>
3101
+ </td>
3102
+ <td>
3103
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 310</span>
3104
+
3105
+ <span class='kw'>def</span> <span class='id identifier rubyid_readFeedback'>readFeedback</span><span class='lparen'>(</span><span class='id identifier rubyid_x'>x</span><span class='comma'>,</span> <span class='id identifier rubyid_y'>y</span><span class='comma'>,</span> <span class='id identifier rubyid_w'>w</span><span class='comma'>,</span> <span class='id identifier rubyid_h'>h</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
3106
+ </td>
3107
+ </tr>
3108
+ </table>
3109
+ </div>
3110
+
3111
+ <div class="method_details ">
3112
+ <h3 class="signature " id="readPixels-instance_method">
3113
+
3114
+ #<strong>readPixels</strong>(x, y, w, h) &#x21d2; <tt>Object</tt>
3115
+
3116
+
3117
+
3118
+
3119
+
3120
+ </h3><div class="docstring">
3121
+ <div class="discussion">
3122
+
3123
+ <p>Read the pixels off the screen as R,G,B tuples.</p>
3124
+
3125
+
3126
+ </div>
3127
+ </div>
3128
+ <div class="tags">
3129
+
3130
+
3131
+ </div><table class="source_code">
3132
+ <tr>
3133
+ <td>
3134
+ <pre class="lines">
3135
+
3136
+
3137
+ 307</pre>
3138
+ </td>
3139
+ <td>
3140
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 307</span>
3141
+
3142
+ <span class='kw'>def</span> <span class='id identifier rubyid_readPixels'>readPixels</span><span class='lparen'>(</span><span class='id identifier rubyid_x'>x</span><span class='comma'>,</span> <span class='id identifier rubyid_y'>y</span><span class='comma'>,</span> <span class='id identifier rubyid_w'>w</span><span class='comma'>,</span> <span class='id identifier rubyid_h'>h</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
3143
+ </td>
3144
+ </tr>
3145
+ </table>
3146
+ </div>
3147
+
3148
+ <div class="method_details ">
3149
+ <h3 class="signature " id="screenToEye-instance_method">
3150
+
3151
+ #<strong>screenToEye</strong>(sx, sy, eyez = 0.0) &#x21d2; <tt>Object</tt>
3152
+
3153
+
3154
+
3155
+
3156
+
3157
+ </h3><div class="docstring">
3158
+ <div class="discussion">
3159
+
3160
+ <p>Translate screen coordinate to eye coordinate at the given depth.</p>
3161
+
3162
+
3163
+ </div>
3164
+ </div>
3165
+ <div class="tags">
3166
+
3167
+
3168
+ </div><table class="source_code">
3169
+ <tr>
3170
+ <td>
3171
+ <pre class="lines">
3172
+
3173
+
3174
+ 280</pre>
3175
+ </td>
3176
+ <td>
3177
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 280</span>
3178
+
3179
+ <span class='kw'>def</span> <span class='id identifier rubyid_screenToEye'>screenToEye</span><span class='lparen'>(</span><span class='id identifier rubyid_sx'>sx</span><span class='comma'>,</span> <span class='id identifier rubyid_sy'>sy</span><span class='comma'>,</span> <span class='id identifier rubyid_eyez'>eyez</span><span class='op'>=</span><span class='float'>0.0</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
3180
+ </td>
3181
+ </tr>
3182
+ </table>
3183
+ </div>
3184
+
3185
+ <div class="method_details ">
3186
+ <h3 class="signature " id="screenToTarget-instance_method">
3187
+
3188
+ #<strong>screenToTarget</strong>(sx, sy) &#x21d2; <tt>Object</tt>
3189
+
3190
+
3191
+
3192
+
3193
+
3194
+ </h3><div class="docstring">
3195
+ <div class="discussion">
3196
+
3197
+ <p>Translate screen coordinate to eye coordinate at the target point depth</p>
3198
+
3199
+
3200
+ </div>
3201
+ </div>
3202
+ <div class="tags">
3203
+
3204
+
3205
+ </div><table class="source_code">
3206
+ <tr>
3207
+ <td>
3208
+ <pre class="lines">
3209
+
3210
+
3211
+ 283</pre>
3212
+ </td>
3213
+ <td>
3214
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 283</span>
3215
+
3216
+ <span class='kw'>def</span> <span class='id identifier rubyid_screenToTarget'>screenToTarget</span><span class='lparen'>(</span><span class='id identifier rubyid_sx'>sx</span><span class='comma'>,</span> <span class='id identifier rubyid_sy'>sy</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
3217
+ </td>
3218
+ </tr>
3219
+ </table>
3220
+ </div>
3221
+
3222
+ <div class="method_details ">
3223
+ <h3 class="signature " id="setBackgroundColor-instance_method">
3224
+
3225
+ #<strong>setBackgroundColor</strong>(clr, bottom = MAYBE) &#x21d2; <tt>Object</tt>
3226
+
3227
+
3228
+
3229
+
3230
+
3231
+ </h3><div class="docstring">
3232
+ <div class="discussion">
3233
+
3234
+ <p>Change top, bottom or both background colors.</p>
3235
+
3236
+
3237
+ </div>
3238
+ </div>
3239
+ <div class="tags">
3240
+
3241
+
3242
+ </div><table class="source_code">
3243
+ <tr>
3244
+ <td>
3245
+ <pre class="lines">
3246
+
3247
+
3248
+ 326</pre>
3249
+ </td>
3250
+ <td>
3251
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 326</span>
3252
+
3253
+ <span class='kw'>def</span> <span class='id identifier rubyid_setBackgroundColor'>setBackgroundColor</span><span class='lparen'>(</span><span class='id identifier rubyid_clr'>clr</span><span class='comma'>,</span> <span class='id identifier rubyid_bottom'>bottom</span><span class='op'>=</span><span class='const'>MAYBE</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
3254
+ </td>
3255
+ </tr>
3256
+ </table>
3257
+ </div>
3258
+
3259
+ <div class="method_details ">
3260
+ <h3 class="signature " id="setBounds-instance_method">
3261
+
3262
+ #<strong>setBounds</strong>(box) &#x21d2; <tt>Object</tt>
3263
+
3264
+
3265
+
3266
+
3267
+
3268
+ </h3><div class="docstring">
3269
+ <div class="discussion">
3270
+
3271
+ <p>Change the model bounding box; this adjusts the viewer</p>
3272
+
3273
+
3274
+ </div>
3275
+ </div>
3276
+ <div class="tags">
3277
+
3278
+
3279
+ </div><table class="source_code">
3280
+ <tr>
3281
+ <td>
3282
+ <pre class="lines">
3283
+
3284
+
3285
+ 268</pre>
3286
+ </td>
3287
+ <td>
3288
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 268</span>
3289
+
3290
+ <span class='kw'>def</span> <span class='id identifier rubyid_setBounds'>setBounds</span><span class='lparen'>(</span><span class='id identifier rubyid_box'>box</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
3291
+ </td>
3292
+ </tr>
3293
+ </table>
3294
+ </div>
3295
+
3296
+ <div class="method_details ">
3297
+ <h3 class="signature " id="translate-instance_method">
3298
+
3299
+ #<strong>translate</strong>(vec) &#x21d2; <tt>Object</tt>
3300
+
3301
+
3302
+
3303
+
3304
+
3305
+ </h3><div class="docstring">
3306
+ <div class="discussion">
3307
+
3308
+ <p>Translate object center</p>
3309
+
3310
+
3311
+ </div>
3312
+ </div>
3313
+ <div class="tags">
3314
+
3315
+
3316
+ </div><table class="source_code">
3317
+ <tr>
3318
+ <td>
3319
+ <pre class="lines">
3320
+
3321
+
3322
+ 298</pre>
3323
+ </td>
3324
+ <td>
3325
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 298</span>
3326
+
3327
+ <span class='kw'>def</span> <span class='id identifier rubyid_translate'>translate</span><span class='lparen'>(</span><span class='id identifier rubyid_vec'>vec</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
3328
+ </td>
3329
+ </tr>
3330
+ </table>
3331
+ </div>
3332
+
3333
+ <div class="method_details ">
3334
+ <h3 class="signature " id="turboMode?-instance_method">
3335
+
3336
+ #<strong>turboMode?</strong> &#x21d2; <tt>Boolean</tt>
3337
+
3338
+
3339
+
3340
+
3341
+
3342
+ </h3><div class="docstring">
3343
+ <div class="discussion">
3344
+
3345
+ <p>Returns <code>true</code> if turbo mode is enabled</p>
3346
+
3347
+
3348
+ </div>
3349
+ </div>
3350
+ <div class="tags">
3351
+
3352
+ <p class="tag_title">Returns:</p>
3353
+ <ul class="return">
3354
+
3355
+ <li>
3356
+
3357
+
3358
+ <span class='type'>(<tt>Boolean</tt>)</span>
3359
+
3360
+
3361
+
3362
+ </li>
3363
+
3364
+ </ul>
3365
+
3366
+ </div><table class="source_code">
3367
+ <tr>
3368
+ <td>
3369
+ <pre class="lines">
3370
+
3371
+
3372
+ 321</pre>
3373
+ </td>
3374
+ <td>
3375
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 321</span>
3376
+
3377
+ <span class='kw'>def</span> <span class='id identifier rubyid_turboMode?'>turboMode?</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
3378
+ </td>
3379
+ </tr>
3380
+ </table>
3381
+ </div>
3382
+
3383
+ <div class="method_details ">
3384
+ <h3 class="signature " id="worldToEye-instance_method">
3385
+
3386
+ #<strong>worldToEye</strong>(w) &#x21d2; <tt>Object</tt>
3387
+
3388
+
3389
+
3390
+
3391
+
3392
+ </h3><div class="docstring">
3393
+ <div class="discussion">
3394
+
3395
+ <p>Translate world coordinate to eye coordinate</p>
3396
+
3397
+
3398
+ </div>
3399
+ </div>
3400
+ <div class="tags">
3401
+
3402
+
3403
+ </div><table class="source_code">
3404
+ <tr>
3405
+ <td>
3406
+ <pre class="lines">
3407
+
3408
+
3409
+ 286</pre>
3410
+ </td>
3411
+ <td>
3412
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 286</span>
3413
+
3414
+ <span class='kw'>def</span> <span class='id identifier rubyid_worldToEye'>worldToEye</span><span class='lparen'>(</span><span class='id identifier rubyid_w'>w</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
3415
+ </td>
3416
+ </tr>
3417
+ </table>
3418
+ </div>
3419
+
3420
+ <div class="method_details ">
3421
+ <h3 class="signature " id="worldToEyeZ-instance_method">
3422
+
3423
+ #<strong>worldToEyeZ</strong>(w) &#x21d2; <tt>Object</tt>
3424
+
3425
+
3426
+
3427
+
3428
+
3429
+ </h3><div class="docstring">
3430
+ <div class="discussion">
3431
+
3432
+ <p>Translate world coordinate to eye coordinate depth</p>
3433
+
3434
+
3435
+ </div>
3436
+ </div>
3437
+ <div class="tags">
3438
+
3439
+
3440
+ </div><table class="source_code">
3441
+ <tr>
3442
+ <td>
3443
+ <pre class="lines">
3444
+
3445
+
3446
+ 289</pre>
3447
+ </td>
3448
+ <td>
3449
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 289</span>
3450
+
3451
+ <span class='kw'>def</span> <span class='id identifier rubyid_worldToEyeZ'>worldToEyeZ</span><span class='lparen'>(</span><span class='id identifier rubyid_w'>w</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
3452
+ </td>
3453
+ </tr>
3454
+ </table>
3455
+ </div>
3456
+
3457
+ <div class="method_details ">
3458
+ <h3 class="signature " id="worldVector-instance_method">
3459
+
3460
+ #<strong>worldVector</strong>(fx, fy, tx, ty) &#x21d2; <tt>Object</tt>
3461
+
3462
+
3463
+
3464
+
3465
+
3466
+ </h3><div class="docstring">
3467
+ <div class="discussion">
3468
+
3469
+ <p>Calculate world coordinate vector from screen movement</p>
3470
+
3471
+
3472
+ </div>
3473
+ </div>
3474
+ <div class="tags">
3475
+
3476
+
3477
+ </div><table class="source_code">
3478
+ <tr>
3479
+ <td>
3480
+ <pre class="lines">
3481
+
3482
+
3483
+ 295</pre>
3484
+ </td>
3485
+ <td>
3486
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGLViewer.rb', line 295</span>
3487
+
3488
+ <span class='kw'>def</span> <span class='id identifier rubyid_worldVector'>worldVector</span><span class='lparen'>(</span><span class='id identifier rubyid_fx'>fx</span><span class='comma'>,</span> <span class='id identifier rubyid_fy'>fy</span><span class='comma'>,</span> <span class='id identifier rubyid_tx'>tx</span><span class='comma'>,</span> <span class='id identifier rubyid_ty'>ty</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
3489
+ </td>
3490
+ </tr>
3491
+ </table>
3492
+ </div>
3493
+
3494
+ </div>
3495
+
3496
+ </div>
3497
+
3498
+ <div id="footer">
3499
+ Generated on Fri Nov 27 21:10:55 2020 by
3500
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
3501
+ 0.9.24 (ruby-2.7.2).
3502
+ </div>
3503
+
3504
+ </div>
3505
+ </body>
3506
+ </html>