]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/Reve/ChangeLog
Record changes.
[u/mrichter/AliRoot.git] / EVE / Reve / ChangeLog
1 2006-10-27  Matevz Tadel  <matevz.tadel@cern.ch>
2
3         * BoxSetGL.cxx:
4         * BoxSetGL.h:
5         In Line render-mode really render boxes as lines to allow
6         selection to proceed through the box walls; removed pre-processor
7         ifs for old root version.
8
9 2006-10-26  Matevz Tadel  <matevz.tadel@cern.ch>
10
11         * Reve.cxx:
12         Fixed operator+ functions for exceptions (forgot to change them
13         when migrated from std::string to TString as exception base-class).
14
15 2006-10-25  Matevz Tadel  <matevz.tadel@cern.ch>
16
17         * BoxSet.cxx:
18         * BoxSet.h:
19         Changed inheritance to include Reve::RenderElement;
20         use ZTrans to store transformation matrix;
21         added render-mode state (to force line/fill drawing).
22         
23         In class Box added ctor and function MakeAxisAlignedBox() to
24         facilitate creation of regular boxes.
25
26         * BoxSetGL.cxx:
27         Support different render modes.
28
29         * LinkDef.h:
30         * Reve.cxx:
31         * Reve.h:
32         New class Reve::RGBAPalette: allow easier creation of color
33         paletts mapped to integer-value range.
34
35         * Track.cxx:
36         * Track.h:
37         * TrackEditors.cxx:
38         * TrackEditors.h:
39         Added parameter 'Width_t fWidth' to TrackRnrStyle and a method to
40         change width of all tracks in TrackList.
41
42         * TriangleSet.cxx:
43         * TriangleSet.h:
44         Added method method GenerateZNormalColors() that uses
45         Reve::RGBAPalette to set-up triangle color based on z-component of
46         the normal.
47
48 2006-10-18  Matevz Tadel  <matevz.tadel@cern.ch>
49
50         * ZTrans.cxx:
51         * ZTrans.h:
52         * ZTransEditor.cxx:
53         * ZTransEditor.h:
54         New files: implementation of homogeneous transformation matrix
55         with accompanying geditor.
56
57         * TriangleSet.cxx:
58         * TriangleSet.h:
59         * TriangleSetEditor.cxx:
60         * TriangleSetEditor.h:
61         * TriangleSetGL.cxx:
62         * TriangleSetGL.h:
63         New files: arbitrary triangulated surface.
64
65         * RGTopFrame.cxx:
66         Create a dummy event directory if none exists on AddRenderElement.
67
68         * RGValuators.cxx:
69         * RGValuators.h:
70         Added class RGTriVecValuator, a composite widget for editing
71         three-vectors. Used by ZTransEditor.
72
73         * LinkDef.h:
74         List new classes.
75
76 2006-10-13  Matevz Tadel  <matevz.tadel@cern.ch>
77
78         * Track.cxx:
79         * Track.h:
80         Added contructor from TPartice.
81
82 2006-10-12  Matevz Tadel  <matevz.tadel@cern.ch>
83
84         EVE-dev
85         
86         * BoxSet.h:
87         Fix wrong numerical constant in transformation assignment.
88
89         * RGBrowser.cxx:
90         Added comment about problems with getting context-menu for
91         pointed-to object.
92
93         * RGTopFrame.cxx:
94         * RGTopFrame.h:
95         Added data-members for important GUI elements (master-frame,
96         master-tab); added method 'AddCanvasTab(const char* name)'.
97
98         * Reve.cxx:
99         * Reve.h:
100         Use TString as exception base instead of std::string.
101
102         * VSDSelector.cxx:
103         * VSDSelector.h:
104         Brought in sync with changes in render-element
105         management/conventions.
106
107 2006-10-04  Matevz Tadel  <matevz.tadel@cern.ch>
108
109         EVE-dev
110         
111         * RenderElement.cxx:
112         * RenderElement.h:
113         Made RenderElement::ExportToCINT() virtual and reimplemented it in
114         RenderElementObjPtr.
115
116         * Track.cxx:
117         * Track.h:
118         Added optional TrackRnrStyle* argument to TrackList constructors;
119         renamed mRnrStyle to fRnrStyle.
120
121 2006-10-02  Matevz Tadel  <matevz.tadel@cern.ch>
122
123         EVE-dev
124         
125         * .SKEL-ged.cxx:
126         * .SKEL-ged.h:
127         * .SKEL-gl.cxx:
128         * .SKEL-gl.h:
129         * .SKEL.h:
130         Changes for new geditor and gl two-level selection; added
131         delarations of private copy-ctor and assignment-op.
132
133         * RGEditor.h:
134         Added method GetRnrElement().
135
136         * RGTopFrame.cxx:
137         * RGTopFrame.h:
138         * RenderElement.cxx:
139         Added RGTopFrame::PreDeleteRenderElement() and calls to it; so far
140         it checks if the object is being displayed in the editor but can
141         in principle check other things as well.
142
143         * RenderElementEditor.cxx:
144         Assgined RenderElementEditor fPriority 0 (to appear on top).
145
146 2006-09-27  Matevz Tadel  <matevz.tadel@cern.ch>
147
148         * RGTopFrame.cxx:
149         * RGTopFrame.h:
150         * VSDSelector.cxx:
151         Made GLCanvas un-editable to prevent users from drawing things
152         over 3D scene; renamed the canvas data member from fCC to
153         fGLCanvas. Renamed local variables not to dress-up as
154         data-members.
155
156 2006-09-26  Matevz Tadel  <matevz.tadel@cern.ch>
157
158         * RGBrowser.cxx:
159         Hack to fix RenderElementObjPtr's colors in tree-view is no longer
160         needed.
161
162         * RGEditor.cxx:
163         * RGEditor.h:
164         Properly update items of render-elements; call gReve::Redraw3D()
165         instead of pad modified/update. Added separate method
166         DisplayRenderElement() that caches the render-element in a
167         data-member to update it on change (needed for RenderElementObjPtr).
168
169         * RGTopFrame.cxx:
170         Use RGEditor::DisplayRenderElement() instead of
171         DisplayObject(). Removed some never-used static structures.
172
173         * RenderElement.cxx:
174         Removed Redraw3D() from UpdateItems() as it can now be called from
175         RGEditor::Update(); optimized item-updates in SetRnrElement() and
176         SetMainColor().
177
178         * PointSetArrayEditor.cxx:
179         * TrackEditors.cxx:
180         Added call to Update() in SetRange() methods.
181
182 2006-09-26  Matevz Tadel  <matevz.tadel@cern.ch>
183
184         * RGBrowser.cxx:
185         * RGEditor.cxx:
186         * RGEditor.h:
187         Use new functionality from TGedEditor.
188
189         * PointSetArrayEditor.cxx:
190         * PointSetArrayEditor.h:
191         * RGeoNodeEditors.cxx:
192         * RGeoNodeEditors.h:
193         * RenderElementEditor.cxx:
194         * RenderElementEditor.h:
195         * TrackEditors.cxx:
196         * TrackEditors.h:
197         Conform to new TGedFrame paradigm in ROOT.
198
199 2006-09-04  Matevz Tadel  <matevz.tadel@cern.ch>
200
201         * MCHelixLine.hi:
202         Fix effc++ warnings and most blatant coding-convention violations.
203
204 2006-08-30  Matevz Tadel  <matevz.tadel@cern.ch>
205
206         * GeoNode.h:
207         * PODs.h:
208         * PointSet.cxx:
209         * PointSet.h:
210         * PointSetArrayEditor.cxx:
211         * PointSetArrayEditor.h:
212         * QuadSet.cxx:
213         * QuadSet.h:
214         * RGTopFrame.cxx:
215         * RGTopFrame.h:
216         * RGValuators.h:
217         * RGeoNodeEditors.cxx:
218         * RGeoNodeEditors.h:
219         * RenderElement.cxx:
220         * RenderElement.h:
221         * RenderElementEditor.cxx:
222         * RenderElementEditor.h:
223         * Reve.h:
224         * TTreeTools.h:
225         * Track.cxx:
226         * Track.h:
227         * TrackEditors.cxx:
228         * TrackEditors.h:
229         * VSD.cxx:
230         * VSD.h:
231         * VSDEvent.cxx:
232         * VSDEvent.h:
233         * VSDSelector.cxx:
234         * VSDSelector.h:
235         Fix effc++ warnings.
236
237         * LinkDef.h:
238         * RGBrowser.cxx:
239         * RGBrowser.h:
240         Removed code for gled-like object editors (obsolete, somewhat
241         decayed); fix effc++ warnings.
242
243 2006-08-29  Matevz Tadel  <matevz.tadel@cern.ch>
244
245         EVE-dev
246         
247         * BoxSetGL.cxx:
248         * QuadSetGL.cxx:
249         Added ifdefs for post root-5.11.0 prototype of SetModelCheckClass().
250
251         * PointSet.cxx:
252         In Reset: added call to PointSet3D::ClearIds().
253
254         * RGTopFrame.cxx:
255         * RGTopFrame.h:
256         Added support for control of camera-reset to Redraw3D(); when
257         opening GL window disable automatic camera reset on update and on
258         double-click.
259
260 2006-08-04  Matevz Tadel  <matevz.tadel@cern.ch>
261
262         * PointSet.cxx:
263         * RGBrowser.cxx:
264         Commented-out info print statements.
265
266 2006-07-11  Matevz Tadel  <matevz.tadel@cern.ch>
267
268         * RMacro.cxx:
269         * RMacro.h:
270         Bypass buggy TMacro ctor (caused problems on paths including '.',
271         like /afs/cern.ch/).
272
273 2006-07-11  Matevz Tadel  <matevz.tadel@cern.ch>
274
275         * RenderElement.cxx:
276         * RenderElement.h:
277         Added method RenderElementListBase::DestroyElements().
278
279 2006-07-10  Matevz Tadel  <matevz.tadel@cern.ch>
280
281         * Event.cxx:
282         * Event.h:
283         Removed files: the contents moved to VSDEvent and renamed
284         accordingly.
285
286         * EventBase.cxx:
287         * EventBase.h:
288         New files: common base class for an event object (VSDEvent and
289         Alieve::Event).
290
291         * VSDEvent.cxx:
292         * VSDEvent.h:
293         New files: rename of class Reve::Event, now subclassed from
294         EventBase.
295
296         * LinkDef.h:
297         Reflect changes in event classes.
298
299         * Reve.h:
300         Added include TError.h.
301
302         * RGTopFrame.cxx:
303         * RGTopFrame.h:
304         Changed current-event pointer from TObject to EventBase; made
305         global-store and event-stores render elements; improved interface
306         for adding/removing render-elements.
307
308         * RenderElement.cxx:
309         * RenderElement.h:
310         Implemented proper reference management accross render-elements,
311         render-element-lists and tree-items; implemented methods for
312         removal and destruction of render-elements.
313
314         * GeoNode.cxx:
315         * GeoNode.h:
316         * PointSet.cxx:
317         * PointSet.h:
318         * RGeoNodeEditors.cxx:
319         * Track.cxx:
320         * Track.h:
321         Proper management of dependent render-elements, renamed
322         FullUpdate() to UpdateItems() and changed inheritance order
323         (derive RenderElement first).
324
325 2006-07-03  Matevz Tadel  <matevz.tadel@cern.ch>
326
327         * TTreeTools.cxx:
328         * TTreeTools.h:
329         * LinkDef.h:
330         Added new classes TPointSelector and TPointSelectorConsumer
331         allowing more natural extraction of point-data from trees.
332
333         * PointSet.cxx:
334         * PointSet.h:
335         Implemented the TPointSelectorConsumer interface for PointSet and
336         PointSetArray; in PointSetArray removed obsolete methods
337         MakeScrollbar() and HandleScrollEvent().
338
339 2006-06-27  Matevz Tadel  <matevz.tadel@cern.ch>
340
341         * BoxSetGL.cxx:
342         Skip render-state initialization if no boxes present.
343
344         * GeoNode.cxx:
345         * GeoNode.h:
346         Added option to render GeoTopNodeRnrEl at a given global position
347         (requires ROOT > 5.11.7).
348
349         * RGBrowser.cxx:
350         * RGBrowser.h:
351         * RGTopFrame.cxx:
352         Fixed creation of editor frame so that it uses X client's
353         SetRoot() functionality. This should (finally) close the issue.
354
355         * RMacro.cxx:
356         Check for macro via full-path (fTitle); save macro as '.C' not
357         '.Cexec'.
358
359         * Reve.cxx:
360         In CheckMacro() use TInterpreter::IsLoaded(mac) instead of
361         searching the list of global functions.
362
363         * VSDSelector.cxx:
364         Fixed code for hit and cluster import to work with 'new' render
365         element registration mechanism.
366
367 2006-06-21  Matevz Tadel  <matevz.tadel@cern.ch>
368
369         * LinkDef.h:
370         * RMacro.cxx:
371         * RMacro.h:
372         New class Reve::RMacro: a sub-class of TMacro that tries to unload
373         the macros properly before/after the operation.
374
375         * RGTopFrame.cxx:
376         * RGTopFrame.h:
377         Provide TFoler fMacroFolder to all consumers, register
378         Reve::RMacro mime type on start-up.
379
380         * Reve.cxx:
381         * Reve.h:
382         Added global function Bool_t Reve:CheckMacro().
383
384 2006-06-20  Matevz Tadel  <matevz.tadel@cern.ch>
385
386         * Track.cxx:
387         * Track.h:
388         In TrackList: added ImportHits/Clusters(); removed obsolete
389         MkPtScrollBar().
390
391 2006-06-19  Matevz Tadel  <matevz.tadel@cern.ch>
392
393         * PointSet.cxx:
394         * PointSet.h:
395         In PointSetArray: added member for default daughter PointSet
396         capacity (fDefPointSetCapacity) and method DeleteBins(). Set
397         daughter polymarker stuff in InitBins() instead of CloseBins().
398
399         * RGValuators.cxx:
400         * RGValuators.h:
401         Consistently use nuber of slider positions in RGValuator.
402
403         * RenderElement.h:
404         Added method RenderElementListBase::RemoveElements().
405
406 2006-06-14  Matevz Tadel  <matevz.tadel@cern.ch>
407
408         * BoxSetGL.h:
409         Added non-protected wrapper Render() for DirectDraw().
410
411         * PointSet.cxx:
412         * PointSet.h:
413         Subclassed point-set-array from TAttMarker, propagate changes to
414         all children.
415
416         * PointSetArrayEditor.cxx:
417         Removed stale printout.
418
419         * RGTopFrame.cxx:
420         Print exceptions to terminal also.
421
422 2006-06-13  Matevz Tadel  <matevz.tadel@cern.ch>
423
424         * Track.cxx:
425         Draw charged tracks as straight lines when magnetic field is near
426         zero.
427
428 2006-06-12  Matevz Tadel  <matevz.tadel@cern.ch>
429
430         * MCHelixLine.hi:
431         Formatting changes.
432
433         * RenderElement.cxx:
434         * RenderElement.h:
435         Renamed RenderElement::SetMainColorByPixel(Pixel_t) back to
436         RenderElement::SetMainColor(Pixel_t); there seemed to be a problem
437         when dependencies were not generated properly.
438
439         * Track.cxx:
440         * Track.h:
441         Added methods Track::ImportHits() and Track::ImportClusters();
442         fixed a charge value inconsistency yielding reconstructed
443         track charge to be 1/3.
444
445 2006-06-09  Matevz Tadel  <matevz.tadel@cern.ch>
446
447         * PointSet.h:
448         Added friend PointSetArrayEditor.
449
450         * PointSetArrayEditor.cxx:
451         * PointSetArrayEditor.h:
452         * TrackEditors.cxx:
453         * TrackEditors.h:
454         Use RGDoubleValuator for range-selection widget.
455
456         * RGTopFrame.cxx:
457         Accept -mode cmd-line option as an alias for -revemode.
458
459         * RGValuators.cxx:
460         Added some padding for labels.
461
462 2006-06-02  Matevz Tadel  <matevz.tadel@cern.ch>
463
464         * RGTopFrame.cxx:
465         * RGTopFrame.h:
466         Added method UndrawRenderElement().
467
468         * RenderElement.cxx:
469         * RenderElement.h:
470         Implemented dtor for RenderElement removing all instances from
471         browsers.
472
473         * RGValuators.cxx:
474         * RGValuators.h:
475         Added method RGValuator::SetEnabled().
476
477 2006-06-01  Matevz Tadel  <matevz.tadel@cern.ch>
478
479         * BoxSet.cxx:
480         * BoxSetGL.cxx:
481         * QuadSet.cxx:
482         * QuadSet.h:
483         * QuadSetGL.cxx:
484         Added preprocessor conditionals to support ROOT > 5.11.2.
485
486 2006-05-31  Matevz Tadel  <matevz.tadel@cern.ch>
487
488         EVE-dev branch
489
490         * LinkDef.h:
491         * RGValuators.cxx:
492         * RGValuators.h:
493         New valuator widget classes RGValuator and RGDoubleValuator.
494
495 2006-05-31  Matevz Tadel  <matevz.tadel@cern.ch>
496
497         EVE-dev branch
498
499         * BoxSet.h:
500         Added method ArrTrans().
501
502         * Reve.cxx:
503         Added setup of macro/include paths into function
504         SetupEnvironment().
505
506         * reve_main/reve_main.cxx:
507         Removed macro/include path setup.
508
509 2006-05-23  Matevz Tadel  <matevz.tadel@cern.ch>
510
511         EVE-dev branch
512
513         * RGBrowser.cxx:
514         * RGTopFrame.cxx:
515         Use RenderElement* as user-data of list-tree entries (it was
516         TObject* before).
517
518         * LinkDef.h:
519         * RenderElement.cxx:
520         * RenderElement.h:
521         Added class RenderElementObjPtr to allow display and control of
522         pure TObjects (see alice-macros/region_marker.C for an
523         example). This is not perfect as there is no way to get
524         color-change updates from the editor (can fix this when i get
525         control over TGedEditor::Update()). RenderElement::GetObject() is
526         now virtual.
527
528         * Reve.cxx:
529         * Reve.h:
530         Added function FindColorVar() to allow RenderElementObjPtr objects
531         to peek into appropriate color.
532
533 2006-05-23  Matevz Tadel  <matevz.tadel@cern.ch>
534
535         EVE-dev branch
536
537         * BoxSet.cxx:
538         * BoxSet.h:
539         Do not initialize bbox in ctor. Moved ctor to cxx file, removed
540         Init().
541
542         * RGBrowser.cxx:
543         * RGBrowser.h:
544         Fix for editor window not appearing under some window
545         managers. For me it was working OK under fvwm and KDE (any focus
546         policy) but not at all under Gnome. This fixed my gnome problem
547         but it's quite likely the problem is not completely solved.
548
549 2006-05-18  Matevz Tadel  <matevz.tadel@cern.ch>
550
551         EVE-dev branch
552
553         * RGTopFrame.cxx:
554         Added missing initializations. In particular, fCurrentEvent,
555         fCurrentEventLTI and fGeometryLTI were not initialized and this
556         caused segvs for usage without bootstrap with alieve_init.C macro.
557
558 2006-05-17  Matevz Tadel  <matevz.tadel@cern.ch>
559
560         EVE-dev branch
561
562         * LinkDef.h:
563         * Reve.h:
564         New class Reve::ReferenceCount; to be used as secondary base class.
565
566 2006-05-15  Matevz Tadel  <matevz.tadel@cern.ch>
567
568         EVE-dev branch
569
570         * Reve.cxx:
571         * Reve.h:
572         New function ColorFromIdx().
573
574         * BoxSet.cxx:
575         * BoxSet.h:
576         * BoxSetGL.cxx:
577         * BoxSetGL.h:
578         New files: a set of boxes with direct GL rendering.
579
580         * LinkDef.h:
581         Pragmas for BoxSet/GL.
582
583         * ChangeLog:
584         New file.