Raffele forgot to increase global module counter when some layers were turned off...
[u/mrichter/AliRoot.git] / EVE / Reve / ChangeLog
CommitLineData
e5c0dac9 12006-11-14 Matevz Tadel <matevz.tadel@cern.ch>
2
3 * BoxSet.cxx:
4 * BoxSetGL.h:
5 * QuadSet.cxx:
6 * QuadSet.h:
7 * QuadSetGL.h:
8 * RGBAPalette.cxx:
9 * RGBAPaletteEditor.cxx:
10 * RGEditor.cxx:
11 * RGEditor.h:
12 * RGValuators.h:
13 * RenderElement.cxx:
14 * RenderElement.h:
15 * TriangleSet.cxx:
16 * TriangleSet.h:
17 * ZTrans.cxx:
18 * ZTrans.h:
19 * ZTransEditor.cxx:
20 * ZTransEditor.h:
21 Fix effc++ warnings.
22
3787e1c7 232006-11-14 Matevz Tadel <matevz.tadel@cern.ch>
24
25 * RGValuators.h:
26 Added getters for limits of the RGValuator.
27
79d7d114 282006-11-14 Matevz Tadel <matevz.tadel@cern.ch>
29
30 * BoxSet.cxx:
31 Removed support for old ROOT versions.
32
33 * RenderElement.cxx:
34 * RenderElement.h:
35 Added base-interface ReferenceBackPtr (reference-counted object
36 with back references to render elements); to be used for shared
37 markup classes (color-palettes, frames) that need to update their
38 consumers once their state is changed.
39
40 * Reve.cxx:
41 * Reve.h:
42 Removed code for RGBAPalette; now in its own file.
43
44 * TrackEditors.cxx:
45 * TrackEditors.h:
46 Cleaned-up by using RGValuators instead of raw ROOT GUI (partial).
47
48 * QuadSet.cxx:
49 * QuadSet.h:
50 * QuadSetGL.cxx:
51 * QuadSetGL.h:
52 Very optimized in sense of speed / memory usage as it supports
53 several orientations of rectangles and all possible variants of
54 default sizes / third coordinate; also added pointers to
55 color-palette and frame-box/rectangle so that these elements can
56 be shared among instances of the same type (eg. silicon strip
57 detectors). Means more code in this class ... but hopefully much
58 less code elsewhere.
59
60 * LinkDef.h:
61 Register new classes FrameBox, Plex, RGBAPalette and V0 stuff.
62
63 * FrameBox.cxx:
64 * FrameBox.h:
65 * FrameBoxGL.cxx:
66 * FrameBoxGL.h:
67 New files: provide a surrounding box/rectangle with a given
68 size/color; can be shared among many instances of render-elements
69 (eg. silicon strip detectors).
70
71 * Plex.cxx:
72 * Plex.h:
73 New files: container with chunked memory allocation (to avoid
74 frequent re-allocation on creation time) and ability to refit
75 itself into a contiguous array.
76
77 * RGBAPalette.cxx:
78 * RGBAPalette.h:
79 * RGBAPaletteEditor.cxx:
80 * RGBAPaletteEditor.h:
81 New files: a generic color palette with value to color mapping; to
82 be used by most digit/raw-data classes; can be shared among many
83 instances of render-elements (eg. silicon strip detectors).
84
85 * V0.cxx:
86 * V0.h:
87 * V0Editors.cxx:
88 * V0Editors.h:
89 From Ludovic: new files for visualization of V0s.
90
91 * RenderElementEditor.cxx:
92 * TriangleSet.cxx:
93 Formatting changes.
94
7c86a238 952006-10-31 Matevz Tadel <matevz.tadel@cern.ch>
96
97 * LinkDef.h:
98 * QuadSet.cxx:
99 * QuadSet.h:
100 * QuadSetGL.cxx:
101 * QuadSetGL.h:
102 Started to work on reimplementation of the quad-set, renamed the
103 old one to OldQuadSet; i'm checking this in because another change is
104 needed for the new muon code and i already changed several things.
105
358f76c8 1062006-10-27 Matevz Tadel <matevz.tadel@cern.ch>
107
108 * BoxSetGL.cxx:
109 * BoxSetGL.h:
110 In Line render-mode really render boxes as lines to allow
111 selection to proceed through the box walls; removed pre-processor
112 ifs for old root version.
113
d9193858 1142006-10-26 Matevz Tadel <matevz.tadel@cern.ch>
115
116 * Reve.cxx:
117 Fixed operator+ functions for exceptions (forgot to change them
118 when migrated from std::string to TString as exception base-class).
119
90ad814e 1202006-10-25 Matevz Tadel <matevz.tadel@cern.ch>
121
122 * BoxSet.cxx:
123 * BoxSet.h:
124 Changed inheritance to include Reve::RenderElement;
125 use ZTrans to store transformation matrix;
126 added render-mode state (to force line/fill drawing).
127
128 In class Box added ctor and function MakeAxisAlignedBox() to
129 facilitate creation of regular boxes.
130
131 * BoxSetGL.cxx:
132 Support different render modes.
133
134 * LinkDef.h:
135 * Reve.cxx:
136 * Reve.h:
137 New class Reve::RGBAPalette: allow easier creation of color
138 paletts mapped to integer-value range.
139
140 * Track.cxx:
141 * Track.h:
142 * TrackEditors.cxx:
143 * TrackEditors.h:
144 Added parameter 'Width_t fWidth' to TrackRnrStyle and a method to
145 change width of all tracks in TrackList.
146
147 * TriangleSet.cxx:
148 * TriangleSet.h:
149 Added method method GenerateZNormalColors() that uses
150 Reve::RGBAPalette to set-up triangle color based on z-component of
151 the normal.
152
113d065e 1532006-10-18 Matevz Tadel <matevz.tadel@cern.ch>
154
155 * ZTrans.cxx:
156 * ZTrans.h:
157 * ZTransEditor.cxx:
158 * ZTransEditor.h:
159 New files: implementation of homogeneous transformation matrix
160 with accompanying geditor.
161
162 * TriangleSet.cxx:
163 * TriangleSet.h:
164 * TriangleSetEditor.cxx:
165 * TriangleSetEditor.h:
166 * TriangleSetGL.cxx:
167 * TriangleSetGL.h:
168 New files: arbitrary triangulated surface.
169
170 * RGTopFrame.cxx:
171 Create a dummy event directory if none exists on AddRenderElement.
172
173 * RGValuators.cxx:
174 * RGValuators.h:
175 Added class RGTriVecValuator, a composite widget for editing
176 three-vectors. Used by ZTransEditor.
177
178 * LinkDef.h:
179 List new classes.
180
aa77b33a 1812006-10-13 Matevz Tadel <matevz.tadel@cern.ch>
182
183 * Track.cxx:
184 * Track.h:
185 Added contructor from TPartice.
186
a8600b56 1872006-10-12 Matevz Tadel <matevz.tadel@cern.ch>
188
189 EVE-dev
190
191 * BoxSet.h:
192 Fix wrong numerical constant in transformation assignment.
193
194 * RGBrowser.cxx:
195 Added comment about problems with getting context-menu for
196 pointed-to object.
197
198 * RGTopFrame.cxx:
199 * RGTopFrame.h:
200 Added data-members for important GUI elements (master-frame,
201 master-tab); added method 'AddCanvasTab(const char* name)'.
202
203 * Reve.cxx:
204 * Reve.h:
205 Use TString as exception base instead of std::string.
206
207 * VSDSelector.cxx:
208 * VSDSelector.h:
209 Brought in sync with changes in render-element
210 management/conventions.
211
2122006-10-04 Matevz Tadel <matevz.tadel@cern.ch>
213
214 EVE-dev
215
216 * RenderElement.cxx:
217 * RenderElement.h:
218 Made RenderElement::ExportToCINT() virtual and reimplemented it in
219 RenderElementObjPtr.
220
221 * Track.cxx:
222 * Track.h:
223 Added optional TrackRnrStyle* argument to TrackList constructors;
224 renamed mRnrStyle to fRnrStyle.
225
2262006-10-02 Matevz Tadel <matevz.tadel@cern.ch>
227
228 EVE-dev
229
230 * .SKEL-ged.cxx:
231 * .SKEL-ged.h:
232 * .SKEL-gl.cxx:
233 * .SKEL-gl.h:
234 * .SKEL.h:
235 Changes for new geditor and gl two-level selection; added
236 delarations of private copy-ctor and assignment-op.
237
238 * RGEditor.h:
239 Added method GetRnrElement().
240
241 * RGTopFrame.cxx:
242 * RGTopFrame.h:
243 * RenderElement.cxx:
244 Added RGTopFrame::PreDeleteRenderElement() and calls to it; so far
245 it checks if the object is being displayed in the editor but can
246 in principle check other things as well.
247
248 * RenderElementEditor.cxx:
249 Assgined RenderElementEditor fPriority 0 (to appear on top).
250
2512006-09-27 Matevz Tadel <matevz.tadel@cern.ch>
252
253 * RGTopFrame.cxx:
254 * RGTopFrame.h:
255 * VSDSelector.cxx:
256 Made GLCanvas un-editable to prevent users from drawing things
257 over 3D scene; renamed the canvas data member from fCC to
258 fGLCanvas. Renamed local variables not to dress-up as
259 data-members.
260
2612006-09-26 Matevz Tadel <matevz.tadel@cern.ch>
262
263 * RGBrowser.cxx:
264 Hack to fix RenderElementObjPtr's colors in tree-view is no longer
265 needed.
266
267 * RGEditor.cxx:
268 * RGEditor.h:
269 Properly update items of render-elements; call gReve::Redraw3D()
270 instead of pad modified/update. Added separate method
271 DisplayRenderElement() that caches the render-element in a
272 data-member to update it on change (needed for RenderElementObjPtr).
273
274 * RGTopFrame.cxx:
275 Use RGEditor::DisplayRenderElement() instead of
276 DisplayObject(). Removed some never-used static structures.
277
278 * RenderElement.cxx:
279 Removed Redraw3D() from UpdateItems() as it can now be called from
280 RGEditor::Update(); optimized item-updates in SetRnrElement() and
281 SetMainColor().
282
283 * PointSetArrayEditor.cxx:
284 * TrackEditors.cxx:
285 Added call to Update() in SetRange() methods.
286
2872006-09-26 Matevz Tadel <matevz.tadel@cern.ch>
288
289 * RGBrowser.cxx:
290 * RGEditor.cxx:
291 * RGEditor.h:
292 Use new functionality from TGedEditor.
293
294 * PointSetArrayEditor.cxx:
295 * PointSetArrayEditor.h:
296 * RGeoNodeEditors.cxx:
297 * RGeoNodeEditors.h:
298 * RenderElementEditor.cxx:
299 * RenderElementEditor.h:
300 * TrackEditors.cxx:
301 * TrackEditors.h:
302 Conform to new TGedFrame paradigm in ROOT.
303
16071937 3042006-09-04 Matevz Tadel <matevz.tadel@cern.ch>
305
306 * MCHelixLine.hi:
307 Fix effc++ warnings and most blatant coding-convention violations.
308
c03991e2 3092006-08-30 Matevz Tadel <matevz.tadel@cern.ch>
310
311 * GeoNode.h:
312 * PODs.h:
313 * PointSet.cxx:
314 * PointSet.h:
315 * PointSetArrayEditor.cxx:
316 * PointSetArrayEditor.h:
317 * QuadSet.cxx:
318 * QuadSet.h:
319 * RGTopFrame.cxx:
320 * RGTopFrame.h:
321 * RGValuators.h:
322 * RGeoNodeEditors.cxx:
323 * RGeoNodeEditors.h:
324 * RenderElement.cxx:
325 * RenderElement.h:
326 * RenderElementEditor.cxx:
327 * RenderElementEditor.h:
328 * Reve.h:
329 * TTreeTools.h:
330 * Track.cxx:
331 * Track.h:
332 * TrackEditors.cxx:
333 * TrackEditors.h:
334 * VSD.cxx:
335 * VSD.h:
336 * VSDEvent.cxx:
337 * VSDEvent.h:
338 * VSDSelector.cxx:
339 * VSDSelector.h:
340 Fix effc++ warnings.
341
342 * LinkDef.h:
343 * RGBrowser.cxx:
344 * RGBrowser.h:
345 Removed code for gled-like object editors (obsolete, somewhat
346 decayed); fix effc++ warnings.
347
426530cc 3482006-08-29 Matevz Tadel <matevz.tadel@cern.ch>
349
350 EVE-dev
351
352 * BoxSetGL.cxx:
353 * QuadSetGL.cxx:
354 Added ifdefs for post root-5.11.0 prototype of SetModelCheckClass().
355
356 * PointSet.cxx:
357 In Reset: added call to PointSet3D::ClearIds().
358
359 * RGTopFrame.cxx:
360 * RGTopFrame.h:
361 Added support for control of camera-reset to Redraw3D(); when
362 opening GL window disable automatic camera reset on update and on
363 double-click.
364
0aaf698b 3652006-08-04 Matevz Tadel <matevz.tadel@cern.ch>
366
367 * PointSet.cxx:
368 * RGBrowser.cxx:
369 Commented-out info print statements.
370
ca71eca6 3712006-07-11 Matevz Tadel <matevz.tadel@cern.ch>
372
373 * RMacro.cxx:
374 * RMacro.h:
375 Bypass buggy TMacro ctor (caused problems on paths including '.',
376 like /afs/cern.ch/).
377
7e639379 3782006-07-11 Matevz Tadel <matevz.tadel@cern.ch>
379
380 * RenderElement.cxx:
381 * RenderElement.h:
382 Added method RenderElementListBase::DestroyElements().
383
ec5c371e 3842006-07-10 Matevz Tadel <matevz.tadel@cern.ch>
385
386 * Event.cxx:
387 * Event.h:
388 Removed files: the contents moved to VSDEvent and renamed
389 accordingly.
390
391 * EventBase.cxx:
392 * EventBase.h:
393 New files: common base class for an event object (VSDEvent and
394 Alieve::Event).
395
396 * VSDEvent.cxx:
397 * VSDEvent.h:
398 New files: rename of class Reve::Event, now subclassed from
399 EventBase.
400
401 * LinkDef.h:
402 Reflect changes in event classes.
403
404 * Reve.h:
405 Added include TError.h.
406
407 * RGTopFrame.cxx:
408 * RGTopFrame.h:
409 Changed current-event pointer from TObject to EventBase; made
410 global-store and event-stores render elements; improved interface
411 for adding/removing render-elements.
412
413 * RenderElement.cxx:
414 * RenderElement.h:
415 Implemented proper reference management accross render-elements,
416 render-element-lists and tree-items; implemented methods for
417 removal and destruction of render-elements.
418
419 * GeoNode.cxx:
420 * GeoNode.h:
421 * PointSet.cxx:
422 * PointSet.h:
423 * RGeoNodeEditors.cxx:
424 * Track.cxx:
425 * Track.h:
426 Proper management of dependent render-elements, renamed
427 FullUpdate() to UpdateItems() and changed inheritance order
428 (derive RenderElement first).
429
07d6925d 4302006-07-03 Matevz Tadel <matevz.tadel@cern.ch>
431
432 * TTreeTools.cxx:
433 * TTreeTools.h:
434 * LinkDef.h:
435 Added new classes TPointSelector and TPointSelectorConsumer
436 allowing more natural extraction of point-data from trees.
437
438 * PointSet.cxx:
439 * PointSet.h:
440 Implemented the TPointSelectorConsumer interface for PointSet and
441 PointSetArray; in PointSetArray removed obsolete methods
442 MakeScrollbar() and HandleScrollEvent().
443
a83547b6 4442006-06-27 Matevz Tadel <matevz.tadel@cern.ch>
445
446 * BoxSetGL.cxx:
447 Skip render-state initialization if no boxes present.
448
449 * GeoNode.cxx:
450 * GeoNode.h:
451 Added option to render GeoTopNodeRnrEl at a given global position
452 (requires ROOT > 5.11.7).
453
454 * RGBrowser.cxx:
455 * RGBrowser.h:
456 * RGTopFrame.cxx:
457 Fixed creation of editor frame so that it uses X client's
458 SetRoot() functionality. This should (finally) close the issue.
459
460 * RMacro.cxx:
461 Check for macro via full-path (fTitle); save macro as '.C' not
462 '.Cexec'.
463
464 * Reve.cxx:
465 In CheckMacro() use TInterpreter::IsLoaded(mac) instead of
466 searching the list of global functions.
467
468 * VSDSelector.cxx:
469 Fixed code for hit and cluster import to work with 'new' render
470 element registration mechanism.
471
30f6c8cb 4722006-06-21 Matevz Tadel <matevz.tadel@cern.ch>
473
474 * LinkDef.h:
475 * RMacro.cxx:
476 * RMacro.h:
477 New class Reve::RMacro: a sub-class of TMacro that tries to unload
478 the macros properly before/after the operation.
479
480 * RGTopFrame.cxx:
481 * RGTopFrame.h:
482 Provide TFoler fMacroFolder to all consumers, register
483 Reve::RMacro mime type on start-up.
484
485 * Reve.cxx:
486 * Reve.h:
487 Added global function Bool_t Reve:CheckMacro().
488
866edeca 4892006-06-20 Matevz Tadel <matevz.tadel@cern.ch>
490
491 * Track.cxx:
492 * Track.h:
493 In TrackList: added ImportHits/Clusters(); removed obsolete
494 MkPtScrollBar().
495
3df7a5d0 4962006-06-19 Matevz Tadel <matevz.tadel@cern.ch>
497
498 * PointSet.cxx:
499 * PointSet.h:
500 In PointSetArray: added member for default daughter PointSet
501 capacity (fDefPointSetCapacity) and method DeleteBins(). Set
502 daughter polymarker stuff in InitBins() instead of CloseBins().
503
504 * RGValuators.cxx:
505 * RGValuators.h:
506 Consistently use nuber of slider positions in RGValuator.
507
508 * RenderElement.h:
509 Added method RenderElementListBase::RemoveElements().
510
cebac259 5112006-06-14 Matevz Tadel <matevz.tadel@cern.ch>
512
513 * BoxSetGL.h:
514 Added non-protected wrapper Render() for DirectDraw().
515
516 * PointSet.cxx:
517 * PointSet.h:
518 Subclassed point-set-array from TAttMarker, propagate changes to
519 all children.
520
521 * PointSetArrayEditor.cxx:
522 Removed stale printout.
523
524 * RGTopFrame.cxx:
525 Print exceptions to terminal also.
526
23f3be31 5272006-06-13 Matevz Tadel <matevz.tadel@cern.ch>
528
529 * Track.cxx:
530 Draw charged tracks as straight lines when magnetic field is near
531 zero.
532
4ba958ae 5332006-06-12 Matevz Tadel <matevz.tadel@cern.ch>
534
535 * MCHelixLine.hi:
536 Formatting changes.
537
538 * RenderElement.cxx:
539 * RenderElement.h:
540 Renamed RenderElement::SetMainColorByPixel(Pixel_t) back to
541 RenderElement::SetMainColor(Pixel_t); there seemed to be a problem
542 when dependencies were not generated properly.
543
544 * Track.cxx:
545 * Track.h:
546 Added methods Track::ImportHits() and Track::ImportClusters();
547 fixed a charge value inconsistency yielding reconstructed
548 track charge to be 1/3.
549
cdb2119b 5502006-06-09 Matevz Tadel <matevz.tadel@cern.ch>
551
cdb2119b 552 * PointSet.h:
553 Added friend PointSetArrayEditor.
554
555 * PointSetArrayEditor.cxx:
556 * PointSetArrayEditor.h:
557 * TrackEditors.cxx:
558 * TrackEditors.h:
559 Use RGDoubleValuator for range-selection widget.
560
561 * RGTopFrame.cxx:
562 Accept -mode cmd-line option as an alias for -revemode.
563
564 * RGValuators.cxx:
565 Added some padding for labels.
566
a9148d46 5672006-06-02 Matevz Tadel <matevz.tadel@cern.ch>
568
a9148d46 569 * RGTopFrame.cxx:
570 * RGTopFrame.h:
571 Added method UndrawRenderElement().
572
573 * RenderElement.cxx:
574 * RenderElement.h:
575 Implemented dtor for RenderElement removing all instances from
576 browsers.
577
578 * RGValuators.cxx:
579 * RGValuators.h:
580 Added method RGValuator::SetEnabled().
581
9bea0c03 5822006-06-01 Matevz Tadel <matevz.tadel@cern.ch>
583
9bea0c03 584 * BoxSet.cxx:
585 * BoxSetGL.cxx:
586 * QuadSet.cxx:
587 * QuadSet.h:
588 * QuadSetGL.cxx:
589 Added preprocessor conditionals to support ROOT > 5.11.2.
590
5987168b 5912006-05-31 Matevz Tadel <matevz.tadel@cern.ch>
592
593 EVE-dev branch
594
595 * LinkDef.h:
596 * RGValuators.cxx:
597 * RGValuators.h:
598 New valuator widget classes RGValuator and RGDoubleValuator.
599
6002006-05-31 Matevz Tadel <matevz.tadel@cern.ch>
601
602 EVE-dev branch
603
604 * BoxSet.h:
605 Added method ArrTrans().
606
607 * Reve.cxx:
608 Added setup of macro/include paths into function
609 SetupEnvironment().
610
611 * reve_main/reve_main.cxx:
612 Removed macro/include path setup.
613
092578a7 6142006-05-23 Matevz Tadel <matevz.tadel@cern.ch>
615
616 EVE-dev branch
617
618 * RGBrowser.cxx:
619 * RGTopFrame.cxx:
620 Use RenderElement* as user-data of list-tree entries (it was
621 TObject* before).
622
623 * LinkDef.h:
624 * RenderElement.cxx:
625 * RenderElement.h:
626 Added class RenderElementObjPtr to allow display and control of
627 pure TObjects (see alice-macros/region_marker.C for an
628 example). This is not perfect as there is no way to get
629 color-change updates from the editor (can fix this when i get
630 control over TGedEditor::Update()). RenderElement::GetObject() is
631 now virtual.
632
633 * Reve.cxx:
634 * Reve.h:
635 Added function FindColorVar() to allow RenderElementObjPtr objects
636 to peek into appropriate color.
637
6382006-05-23 Matevz Tadel <matevz.tadel@cern.ch>
639
640 EVE-dev branch
641
642 * BoxSet.cxx:
643 * BoxSet.h:
644 Do not initialize bbox in ctor. Moved ctor to cxx file, removed
645 Init().
646
647 * RGBrowser.cxx:
648 * RGBrowser.h:
649 Fix for editor window not appearing under some window
650 managers. For me it was working OK under fvwm and KDE (any focus
651 policy) but not at all under Gnome. This fixed my gnome problem
652 but it's quite likely the problem is not completely solved.
653
915dabe1 6542006-05-18 Matevz Tadel <matevz.tadel@cern.ch>
655
656 EVE-dev branch
657
658 * RGTopFrame.cxx:
659 Added missing initializations. In particular, fCurrentEvent,
660 fCurrentEventLTI and fGeometryLTI were not initialized and this
661 caused segvs for usage without bootstrap with alieve_init.C macro.
662
6632006-05-17 Matevz Tadel <matevz.tadel@cern.ch>
664
665 EVE-dev branch
666
667 * LinkDef.h:
668 * Reve.h:
669 New class Reve::ReferenceCount; to be used as secondary base class.
670
6712006-05-15 Matevz Tadel <matevz.tadel@cern.ch>
672
673 EVE-dev branch
674
675 * Reve.cxx:
676 * Reve.h:
677 New function ColorFromIdx().
678
679 * BoxSet.cxx:
680 * BoxSet.h:
681 * BoxSetGL.cxx:
682 * BoxSetGL.h:
683 New files: a set of boxes with direct GL rendering.
684
685 * LinkDef.h:
686 Pragmas for BoxSet/GL.
687
688 * ChangeLog:
689 New file.