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