Log of /trunk/graf3d/eve/src/TEveWindow.cxx
Parent Directory
Revision
46702 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sat Oct 20 04:00:43 2012 UTC (2 years, 3 months ago) by
matevz
File length: 48439 byte(s)
Diff to
previous 32138
Add class TEveContext menu that insures context menus are on top of their
"parent" widgets (like buttons used to invoke them).
Revision
29908 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Aug 25 18:09:53 2009 UTC (5 years, 5 months ago) by
matevz
File length: 45059 byte(s)
Diff to
previous 29324
* TEveTrans
- Add function
void SetupFromToVec(const TEveVector& from, const TEveVector& to);
that helps to set-up matrix that rotates unit vector 'from' to 'to'.
- Add function
void RotateIP(TEveVector& v) const;
* TEveTrackPropagator
- Several fixes needed for CMS online display.
- Generalize track-parameter update procedure and do not call update
from within Step() as the optimal usage depends on context.
- Improve determination/calculation of last point on a track segment
when propagating to a path-mark.
- After reaching a path-mark and fixing the offset, also rotate the
momentum vector accordingly.
* TEveVSDStructs
- Add some common functions for TEveVector.
- Consolidate function signatures.
* tutorials/eve/track.C
- Add new mode demo mode with semi-realistic CMS mag field.
Provided by Dmytro Kovalskyi.
* TEveGeoNode
- Add method 'TGeoManager* GetGeoManager()'.
* TEveWindow
- White-space.
Revision
29032 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Jun 16 17:16:42 2009 UTC (5 years, 7 months ago) by
matevz
File length: 44816 byte(s)
Diff to
previous 28214
From Alja.
TEveWindow:
- Add interface to make new slot with relative weight in
TEveWindowPack.
- Change "UndockWindow()" action to hide empty slot and show it back
on action "MainFrameClosed()". Implementation done for
TEveCompositeFrameInPack.
tutorials/eve:
- Add examples using relative weight of pack elements.
Revision
28214 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Apr 15 11:32:25 2009 UTC (5 years, 9 months ago) by
matevz
File length: 44010 byte(s)
Diff to
previous 28197
Merge revisions 28203, 28204 and 28206 from fireworks branch.
28203 - add function TEveJetCone::AddEllipticCone();
28204 - protection for delayed main-frame destruction;
28206 - font-size fixes for GL overlays.
Revision
28197 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Apr 14 13:59:27 2009 UTC (5 years, 9 months ago) by
matevz
File length: 43752 byte(s)
Diff to
previous 27157
Merge the following revisions from the fireworks branch:
-r 27692:27867
-c 27876
-r 28012:28187
================================================================================
27693
TEveCalo:
Set bounding box when calo data empty.
TEveCaloLegoGL:
TGLAxisPainter:
Draw axis title in TGLAxisPainter::PaintAxis().
--------------------------------------------------------------------------------
27694
Forget to check-in this file in revision 27693.
--------------------------------------------------------------------------------
27695
Don't draw frame and call TGLAxisPainter::Paint() if calo data empty.
--------------------------------------------------------------------------------
27699
Fix issues reported by valgrind.
--------------------------------------------------------------------------------
27758
Return viewer in TEveViewer::SpawnGLViewer and TEveViewer::SpawnGLEmbeddedViewer().
--------------------------------------------------------------------------------
27767
Unset event handler when destroying TGLWidget. This is important in case destruction of TGLWidget is called with timeout.
--------------------------------------------------------------------------------
27840
Add possibility to create different icon boxes in
TEveCompositeFrame. Use static function pointer fgIconBarCreator to change default behavior.
Remove oboslete function TEveCompositeFrame::ReplaceIconBox().
--------------------------------------------------------------------------------
7856
Bug fix: Get font size calculating projected axis length at the Z-title position.
--------------------------------------------------------------------------------
27857
Move to real world coordinates. Add line-set for test.
--------------------------------------------------------------------------------
27867
TGLViewer:
Add function:
void ResetInitGL()
This is needed if GL-context is destroyed from outside.
Call it from derived classes when creating and destroying GL-widget.
--------------------------------------------------------------------------------
27876
In line set add possibility to disable depth test, i.e. draw lines/markers in front.
--------------------------------------------------------------------------------
28013
Fix memory leak in TEveCalo2D.
--------------------------------------------------------------------------------
28048
In HandleCrossing() ignore grab and ungrab events. Several window managers produce them nowadays (fvwm2, x-on-mac, sawfish).
--------------------------------------------------------------------------------
28050
Simplify macro.
--------------------------------------------------------------------------------
28106
URL: http://root.cern.ch/viewcvs?rev=28106&root=root&view=rev
Log:
Add data-members and accessors for controlling brightness of front,
side and speulcar lights.
--------------------------------------------------------------------------------
28114
TGLPShapeObjEditor
==================
Remove obsolete data-members and enum entries.
TGLUtil
=======
New class TGLColor - using this will simplify color management in
TGLViewer and TGLRnrCtx.
TEveUtil
========
Simplify implementation of TEveUtil::ColorFromIdx() functions.
--------------------------------------------------------------------------------
28144
Add dtor for TGLColor.
--------------------------------------------------------------------------------
28161
URL: http://root.cern.ch/viewcvs?rev=28161&root=root&view=rev
Log:
Extend window management demo.
--------------------------------------------------------------------------------
28162
Add support several GL color-sets - each defines colors for background,
foreground, outline, markup and for outlines of selected and
highlighted objects.
GL/
===
TGLUtil - add new class TGLColorSet.
TGLRnrCtx - add color-set stack.
TGLViewer - create two color-sets by default - for light and dark
background. These can be switched with the 'e' key now.
TGLScene - decrease polgon-offset for outline-mode fill-pass from (1,
1) to (0.5, 0.5) which is sufficient.
Use/support color-set functionality in other modified classes.
EVE/
====
TEvePolygonSetProjectedGL - skip outline pass.
TEveProjectionAxesGL - skip outline pass and slightly widen the depth
range so that the text is visible in outline mode, where
polygon-offset is applied during the fill-pass.
--------------------------------------------------------------------------------
28168
Add support for a global GL color-set shared among several (all)
viewers.
TGLViewer - add static data-members and functions to handle global
color-set. Add methods that allow switching between global/private
color-sets for a given viewer.
TGLViewerEditor - Disable backgound-color widget when the viewer uses
global color-set.
TGLCameraOverlay - use foreground color for some markup rendering.
In two tutorials use the new API for setting of the background color.
--------------------------------------------------------------------------------
28187
Put back the old method for setting background color and mark it as deprecated.
Revision
26850 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Dec 11 21:45:13 2008 UTC (6 years, 1 month ago) by
matevz
File length: 42542 byte(s)
Diff to
previous 26801
Add virtuals PreUndock/PostUndock() to TEveWindow and Implement them for TEveViewer. This allows undocking of a single gl window on mac - for hierarchical undock need to add recursion over sub-frames.
Revision
26797 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Dec 10 15:13:29 2008 UTC (6 years, 1 month ago) by
matevz
File length: 41904 byte(s)
Diff to
previous 26741
TEveBrowser
-----------
- Add menu-bar entries for setting window-decoration level.
TEveWindowManager
-----------------
- Add methods to handle different eve-window decoration schemes.
- Add a pointer to default window-container where undocked windows are put
if their previous parent was destroyed.
- Emit a signal when a window is about to be deleted.
- Consistent names for window-notification and signal-emitting functions.
TEveWindow
----------
- Support for window undocking.
- Keep a list of existing eve-frames in a static THashList.
- Add decoration handling functions.
Revision
26741 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Dec 8 19:39:37 2008 UTC (6 years, 1 month ago) by
matevz
File length: 37790 byte(s)
Diff to
previous 26717
TEveManager
-----------
- Create new viewer in current window-slot if it is empty.
TEveWindow, TEveWindowManager
-----------------------------
- Convenience functions for setting/getting current window.
test_windows.C
--------------
- Create also an TRootEmbeddedCanvas.
SplitGLView.C
-------------
- Changes for the new TGLWindow registration syntax.
Revision
26717 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sun Dec 7 22:07:55 2008 UTC (6 years, 1 month ago) by
matevz
File length: 37508 byte(s)
Diff to
previous 26708
graf3d/gl
=========
Documentation changes.
TGLSAViewer
-----------
- store TGLSAFrame as a normal composite-frame.
graf3d/eve
==========
Support for creation of GL windows.
Support for full hierarhic destruction.
TEveManager
-----------
- Push all gl-viewer management to TEveViewerList.
- Allow spawning several GL viewers during initialization.
TEveViewer
----------
- Subclass from TEveWindowFrame. This way all eve-window operations
are supported.
TEveViewerList
--------------
- Perform gl-viewer management via Add/RemoveElement() virtuals.
TEveWindow
----------
- Properly set cleanup of all frames.
- Delete embedded GUI frames via DeleteWindow().
- Change all debug printout with info messages at gDebug > 0.
TEveElement
-----------
- Added access methods for member 'Int_t fParentIgnoreCnt'.
tutorials/eve
=============
Use new interace for creating / accessing eve and gl viewers.
Revision
26708 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sat Dec 6 16:34:11 2008 UTC (6 years, 1 month ago) by
matevz
File length: 36317 byte(s)
Diff to
previous 26686
TEveWindow
----------
- In constructors of TEveWindowFrame/Pack/Tab instantiate a default
GUI object if 0 is passed as the frame argument.
- TEveWindowPack - add SetHorizonta/Vertical() functions.
tutorials/eve/test_windows.C
----------------------------
- Use the new / more descriptive setter for pack orientation.
Revision
26686 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Dec 5 21:50:03 2008 UTC (6 years, 1 month ago) by
matevz
File length: 36117 byte(s)
Diff to
previous 26662
TEveWindowManager
-----------------
Directly emit signal when a current window is about to be deleted.
TEveWindow
----------
- When relinquishing a window set current state off.
Revision
26662 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Dec 4 20:25:08 2008 UTC (6 years, 1 month ago) by
matevz
File length: 36091 byte(s)
Diff to
previous 26635
Merge some revs between 26639 and 26661 from the fireworks branch.
26639
=====
TEveElement
-----------
- Add virtual ChangedNameTitle() to allow propagation of name/title change.
- Call ChangedNameTitle() in SetElementName/Title() functions.
TEvePointSet
------------
- Call ChangedNameTitle() in SetElementName/Title() functions.
TEveWindow
----------
- Use ChangedNameTitle() to propagate eve-window name changes to
eve-frame components.
- Replace trivial overloads of Acuire/RelinquishWindow() with
name-change callback.
26640
=====
TGLRnrCtx
---------
- Start reporting gl-select-buffer resizing once its size is above 64k.
26653
=====
TEveWindow
----------
- Add getters.
26661
=====
TEveWindowManager
-----------------
- New class to manage EVE windows, in particular selection and dectruction.
- Move code for managing current-window from TEveWindow here.
TEveWindow
----------
- Move current-window code to TEveWindowManager.
- In PreDeleteElement() notify the window manager that the window is
about be deleted.
- TEveCompositeFrameInMainFrame and TEveCompositeFrameInTab were not
forwarding name-change to the base-class in WindowNameChanged().
TEveManager
-----------
- Replace TEveElementList fWindows with TEveWindowManager fWindowManager.
TEveElement
-----------
- Added virtual void PreDeleteElement() that gets called prior to element
deletion. The local version still calls gEve->PreDeleteElement(this).
Revision
26635 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Dec 3 18:43:04 2008 UTC (6 years, 1 month ago) by
matevz
File length: 36014 byte(s)
Diff to
previous 26608
TEveWindow
- Finalize low-level API for window-switching.
- Add method TEveCompositeFrame::ReplaceIconBox() allowing registration
of an external window tool-box.
- Add to TEveWindowSlot two methods:
TEveWindowFrame* MakeFrame();
TEveWindowFrame* MakeFrame(TGFrame* frame);
to facilitate registration of arbitrary gui frames.
TEveViewer
- Add method SpawnGLEmbeddedViewer(const TGWindow* parent, Int_t border).
TGLSAViewer
- Parent pop-up menus to default-root.
test_windows.C
- Add stand-alone gl viewer, embedded gl viewer and a root-canvas.
Revision
26608 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Dec 2 22:03:18 2008 UTC (6 years, 1 month ago) by
matevz
File length: 33399 byte(s)
Diff to
previous 26584
TEveCompositeFrame
==================
- Make class abstract.
- Eve-parent does not have to be an eve-window - eve-element is enough.
TEveWindow
==========
- Make static data-members protected and provide accessors.
Improve class documentation.
Revision
26584 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Dec 2 12:50:27 2008 UTC (6 years, 1 month ago) by
matevz
File length: 31832 byte(s)
Diff to
previous 26571
Add missing function documentation.
Add a static const TString to be used as a title for empty eve-frames.
Set the title-bar text in TEveCompositeFrame::RelinquishEveWindow().
Revision
26571 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Dec 1 23:11:00 2008 UTC (6 years, 1 month ago) by
matevz
File length: 30410 byte(s)
Diff to
previous 26562
Merge rev 26569 from the fireworks branch.
TEveWindow
==========
- rename TEveWindowMainFrame to TEveWindowFrame - an eve-window
encompassing arbitrary TGFrame;
- add new class TEveCompositeFrameInMainFrame - it allows eve-windows
to be direct children of a main-frame;
- add some function docs.
TEveBrowser
===========
- activate menu-entry for creation of new main-frame slot.
Revision
26561 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Dec 1 17:35:55 2008 UTC (6 years, 1 month ago) by
matevz
File length: 23948 byte(s)
Copied from:
branches/dev/fireworks/eve/src/TEveWindow.cxx revision 26523
Diff to
previous 26523
Merge the following releases from the fireworks branch:
26432
- Added TGLSAViewer::DeleteMenuBar().
26444
- TGLSAViewer - use a steering flag for menu-bar destruction.
26468
- TEveCaloDataVec - option to define XY axis from cells themselves.
26481
- TEveCaloDataVec - bugfix;
- show the new feature in cms_calo*.C tutorials.
26523
- TEveWindow - new classes for management of EVE vindows;
26524
- missing include.
26557
- TEveWindow:
- support hiding of title-bar directly from frame; render decollapse box
when hidden;
- bind context menu to Action/IconBox button;
- consistent usage of simple frame-style.
Revision
26523 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Added
Fri Nov 28 22:18:20 2008 UTC (6 years, 1 month ago) by
matevz
Original Path:
branches/dev/fireworks/eve/src/TEveWindow.cxx
File length: 21563 byte(s)
TGPack
======
- Decide on and document frame ownership policy.
- Modify Add/RemoveFrame accordingly, new method DeleteFrame().
- Implement SetVertical(Bool_t) that works also when pack is populated.
TEveWindow
==========
- New classes for management of eve windows.
- Preliminary check-in -- only frame management functionality
implemented -- it needs to be connected to leaf GUI windows
(GL-viewers and arbitrary external frames).
- See tutorials/eve/test_windows.C.
TEveManager
===========
Add data-member holding a list of top-level eve windows.
TEveElement
===========
Fix DestroyOrWarn() - instead of repeating the steps, call Destroy()
as it might be overriden in sub-classes.
TEveBrowser
===========
Fix vertical/horizontal flip for listtree-editor frame.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.