1 2006-10-27 Matevz Tadel <matevz.tadel@cern.ch>
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.
9 2006-10-26 Matevz Tadel <matevz.tadel@cern.ch>
12 Fixed operator+ functions for exceptions (forgot to change them
13 when migrated from std::string to TString as exception base-class).
15 2006-10-25 Matevz Tadel <matevz.tadel@cern.ch>
19 Changed inheritance to include Reve::RenderElement;
20 use ZTrans to store transformation matrix;
21 added render-mode state (to force line/fill drawing).
23 In class Box added ctor and function MakeAxisAlignedBox() to
24 facilitate creation of regular boxes.
27 Support different render modes.
32 New class Reve::RGBAPalette: allow easier creation of color
33 paletts mapped to integer-value range.
39 Added parameter 'Width_t fWidth' to TrackRnrStyle and a method to
40 change width of all tracks in TrackList.
44 Added method method GenerateZNormalColors() that uses
45 Reve::RGBAPalette to set-up triangle color based on z-component of
48 2006-10-18 Matevz Tadel <matevz.tadel@cern.ch>
54 New files: implementation of homogeneous transformation matrix
55 with accompanying geditor.
59 * TriangleSetEditor.cxx:
60 * TriangleSetEditor.h:
63 New files: arbitrary triangulated surface.
66 Create a dummy event directory if none exists on AddRenderElement.
70 Added class RGTriVecValuator, a composite widget for editing
71 three-vectors. Used by ZTransEditor.
76 2006-10-13 Matevz Tadel <matevz.tadel@cern.ch>
80 Added contructor from TPartice.
82 2006-10-12 Matevz Tadel <matevz.tadel@cern.ch>
87 Fix wrong numerical constant in transformation assignment.
90 Added comment about problems with getting context-menu for
95 Added data-members for important GUI elements (master-frame,
96 master-tab); added method 'AddCanvasTab(const char* name)'.
100 Use TString as exception base instead of std::string.
104 Brought in sync with changes in render-element
105 management/conventions.
107 2006-10-04 Matevz Tadel <matevz.tadel@cern.ch>
113 Made RenderElement::ExportToCINT() virtual and reimplemented it in
118 Added optional TrackRnrStyle* argument to TrackList constructors;
119 renamed mRnrStyle to fRnrStyle.
121 2006-10-02 Matevz Tadel <matevz.tadel@cern.ch>
130 Changes for new geditor and gl two-level selection; added
131 delarations of private copy-ctor and assignment-op.
134 Added method GetRnrElement().
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.
143 * RenderElementEditor.cxx:
144 Assgined RenderElementEditor fPriority 0 (to appear on top).
146 2006-09-27 Matevz Tadel <matevz.tadel@cern.ch>
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
156 2006-09-26 Matevz Tadel <matevz.tadel@cern.ch>
159 Hack to fix RenderElementObjPtr's colors in tree-view is no longer
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).
170 Use RGEditor::DisplayRenderElement() instead of
171 DisplayObject(). Removed some never-used static structures.
174 Removed Redraw3D() from UpdateItems() as it can now be called from
175 RGEditor::Update(); optimized item-updates in SetRnrElement() and
178 * PointSetArrayEditor.cxx:
180 Added call to Update() in SetRange() methods.
182 2006-09-26 Matevz Tadel <matevz.tadel@cern.ch>
187 Use new functionality from TGedEditor.
189 * PointSetArrayEditor.cxx:
190 * PointSetArrayEditor.h:
191 * RGeoNodeEditors.cxx:
193 * RenderElementEditor.cxx:
194 * RenderElementEditor.h:
197 Conform to new TGedFrame paradigm in ROOT.
199 2006-09-04 Matevz Tadel <matevz.tadel@cern.ch>
202 Fix effc++ warnings and most blatant coding-convention violations.
204 2006-08-30 Matevz Tadel <matevz.tadel@cern.ch>
210 * PointSetArrayEditor.cxx:
211 * PointSetArrayEditor.h:
217 * RGeoNodeEditors.cxx:
221 * RenderElementEditor.cxx:
222 * RenderElementEditor.h:
240 Removed code for gled-like object editors (obsolete, somewhat
241 decayed); fix effc++ warnings.
243 2006-08-29 Matevz Tadel <matevz.tadel@cern.ch>
249 Added ifdefs for post root-5.11.0 prototype of SetModelCheckClass().
252 In Reset: added call to PointSet3D::ClearIds().
256 Added support for control of camera-reset to Redraw3D(); when
257 opening GL window disable automatic camera reset on update and on
260 2006-08-04 Matevz Tadel <matevz.tadel@cern.ch>
264 Commented-out info print statements.
266 2006-07-11 Matevz Tadel <matevz.tadel@cern.ch>
270 Bypass buggy TMacro ctor (caused problems on paths including '.',
273 2006-07-11 Matevz Tadel <matevz.tadel@cern.ch>
277 Added method RenderElementListBase::DestroyElements().
279 2006-07-10 Matevz Tadel <matevz.tadel@cern.ch>
283 Removed files: the contents moved to VSDEvent and renamed
288 New files: common base class for an event object (VSDEvent and
293 New files: rename of class Reve::Event, now subclassed from
297 Reflect changes in event classes.
300 Added include TError.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.
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.
318 * RGeoNodeEditors.cxx:
321 Proper management of dependent render-elements, renamed
322 FullUpdate() to UpdateItems() and changed inheritance order
323 (derive RenderElement first).
325 2006-07-03 Matevz Tadel <matevz.tadel@cern.ch>
330 Added new classes TPointSelector and TPointSelectorConsumer
331 allowing more natural extraction of point-data from trees.
335 Implemented the TPointSelectorConsumer interface for PointSet and
336 PointSetArray; in PointSetArray removed obsolete methods
337 MakeScrollbar() and HandleScrollEvent().
339 2006-06-27 Matevz Tadel <matevz.tadel@cern.ch>
342 Skip render-state initialization if no boxes present.
346 Added option to render GeoTopNodeRnrEl at a given global position
347 (requires ROOT > 5.11.7).
352 Fixed creation of editor frame so that it uses X client's
353 SetRoot() functionality. This should (finally) close the issue.
356 Check for macro via full-path (fTitle); save macro as '.C' not
360 In CheckMacro() use TInterpreter::IsLoaded(mac) instead of
361 searching the list of global functions.
364 Fixed code for hit and cluster import to work with 'new' render
365 element registration mechanism.
367 2006-06-21 Matevz Tadel <matevz.tadel@cern.ch>
372 New class Reve::RMacro: a sub-class of TMacro that tries to unload
373 the macros properly before/after the operation.
377 Provide TFoler fMacroFolder to all consumers, register
378 Reve::RMacro mime type on start-up.
382 Added global function Bool_t Reve:CheckMacro().
384 2006-06-20 Matevz Tadel <matevz.tadel@cern.ch>
388 In TrackList: added ImportHits/Clusters(); removed obsolete
391 2006-06-19 Matevz Tadel <matevz.tadel@cern.ch>
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().
401 Consistently use nuber of slider positions in RGValuator.
404 Added method RenderElementListBase::RemoveElements().
406 2006-06-14 Matevz Tadel <matevz.tadel@cern.ch>
409 Added non-protected wrapper Render() for DirectDraw().
413 Subclassed point-set-array from TAttMarker, propagate changes to
416 * PointSetArrayEditor.cxx:
417 Removed stale printout.
420 Print exceptions to terminal also.
422 2006-06-13 Matevz Tadel <matevz.tadel@cern.ch>
425 Draw charged tracks as straight lines when magnetic field is near
428 2006-06-12 Matevz Tadel <matevz.tadel@cern.ch>
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.
441 Added methods Track::ImportHits() and Track::ImportClusters();
442 fixed a charge value inconsistency yielding reconstructed
443 track charge to be 1/3.
445 2006-06-09 Matevz Tadel <matevz.tadel@cern.ch>
448 Added friend PointSetArrayEditor.
450 * PointSetArrayEditor.cxx:
451 * PointSetArrayEditor.h:
454 Use RGDoubleValuator for range-selection widget.
457 Accept -mode cmd-line option as an alias for -revemode.
460 Added some padding for labels.
462 2006-06-02 Matevz Tadel <matevz.tadel@cern.ch>
466 Added method UndrawRenderElement().
470 Implemented dtor for RenderElement removing all instances from
475 Added method RGValuator::SetEnabled().
477 2006-06-01 Matevz Tadel <matevz.tadel@cern.ch>
484 Added preprocessor conditionals to support ROOT > 5.11.2.
486 2006-05-31 Matevz Tadel <matevz.tadel@cern.ch>
493 New valuator widget classes RGValuator and RGDoubleValuator.
495 2006-05-31 Matevz Tadel <matevz.tadel@cern.ch>
500 Added method ArrTrans().
503 Added setup of macro/include paths into function
506 * reve_main/reve_main.cxx:
507 Removed macro/include path setup.
509 2006-05-23 Matevz Tadel <matevz.tadel@cern.ch>
515 Use RenderElement* as user-data of list-tree entries (it was
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
530 Added function FindColorVar() to allow RenderElementObjPtr objects
531 to peek into appropriate color.
533 2006-05-23 Matevz Tadel <matevz.tadel@cern.ch>
539 Do not initialize bbox in ctor. Moved ctor to cxx file, removed
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.
549 2006-05-18 Matevz Tadel <matevz.tadel@cern.ch>
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.
558 2006-05-17 Matevz Tadel <matevz.tadel@cern.ch>
564 New class Reve::ReferenceCount; to be used as secondary base class.
566 2006-05-15 Matevz Tadel <matevz.tadel@cern.ch>
572 New function ColorFromIdx().
578 New files: a set of boxes with direct GL rendering.
581 Pragmas for BoxSet/GL.