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