1 2007-02-19 Alja Mrak-Tadel <Alja.Mrak.Tadel@cern.ch>
4 Add member time to class PathMark. Set values in enum
8 Add callbacks to set path marks. In Track::MakeTrack() implement
9 fitting of track references and daughter particles.
12 Add Getters and Setters in TrackRnrStyle and TrackList to define
13 rendering of path marks.
17 Add widgets to control rendering and fiting of pathmarks.
21 Override LineGL::DirectDraw() to draw path marks.
23 2007-01-19 Matevz Tadel <matevz.tadel@cern.ch>
26 Added nested class RedrawDisabler allowing exception-safe
27 disabling of 3d-redraw.
29 2007-01-17 Matevz Tadel <matevz.tadel@cern.ch>
33 TrackCounterEditor: add number-entry to directly set the event
36 2007-01-12 Matevz Tadel <matevz.tadel@cern.ch>
40 TrackCounter: added method OutputEventTracks() for storing
45 TrackCounterEditor: added buttons to print/file scanning results
46 and to display current histograms.
48 2006-12-19 Matevz Tadel <matevz.tadel@cern.ch>
52 Added method Track::PrintKineStack(); added global TrackCounter
53 pointer to overcome resets of CINT globals in macros.
55 2006-12-18 Matevz Tadel <matevz.tadel@cern.ch>
58 Added getters for frame-point details.
61 If frame-box is set, use it for determination of bounding-box.
63 2006-12-15 Matevz Tadel <matevz.tadel@cern.ch>
66 Subclass from ReferenceBackPtr instead of ReferenceCount.
73 Moved declaration/definition of ReferenceBackPtr from
74 RenderElement.h/cxx to Reve.h/cxx.
77 Added index data-member to MC/RecTrack.
81 Added signal-emitting 'void CtrlClicked()' and 'Bool_t
82 fEmitSignals' that controls if signals are emitted on secondary
84 Fixed handling of main-color which is in fact
85 forwarded to shared frame.
89 Added method 'void ImportClustersFromIndex()' and data-member
93 Increase range of track extrapolation precision.
95 2006-12-13 Matevz Tadel <matevz.tadel@cern.ch>
99 Added per-quad TRef, implemented virtual callback QuadSelected()
100 for secondary selection from GL.
104 Added support for secondary selection. Sacrificed some speed for
105 simplicity / clarity.
107 2006-12-08 Matevz Tadel <matevz.tadel@cern.ch>
111 Added inner struct VoidCPlex::iterator; increase constness.
116 Slight simplification of heavy-duty loops over elements.
118 2006-12-06 Matevz Tadel <matevz.tadel@cern.ch>
124 Added support for rendering hexagons (needed by PMD).
126 2006-12-04 Matevz Tadel <matevz.tadel@cern.ch>
130 Renamed typedef lpRE_t/i to List_t/i.
131 Added method groups Begin/End/GetN-Parents/Children().
137 Renamed typedef lpRE_t/i to List_t/i.
140 New class TrackCounter[Editor]; added RenderElement typedefs.
143 Render frame before checking if QuadSet is empty and exiting.
147 Added a hack that restores CINT state if macro execution ends with
152 Added class TrackCounter;
153 Track now inherits from TQObject and emits a Clicked() signal;
154 Renamed typedef lpRE_t/i to List_t/i.
158 Added class TrackCounterEditor.
161 In TrackGL::ProcessSelection(): make model-track emit Clicked signal.
163 2006-11-21 Matevz Tadel <matevz.tadel@cern.ch>
171 New files: line representation with per-point selection.
175 New files: allow interaction with the track, more configurability
176 (render as line, points or both).
180 Derive Track from Line (before was TPolyLine3D, RenderElement);
181 this allowed me to remove a lot of code actually shared with
185 Register new classes.
188 Some points were duplicated during track construction.
195 Use better names for QuadTypes (enum and internal structs).
199 Style/comment changes.
201 2006-11-17 Matevz Tadel <matevz.tadel@cern.ch>
205 Removed unnecessary constructor.
207 2006-11-17 Matevz Tadel <matevz.tadel@cern.ch>
210 Bugfix: loop variable was not increased in case of a continue
215 Rename over/undershoot to over/underflow.
217 * RGBAPaletteEditor.cxx:
218 * RGBAPaletteEditor.h:
219 Beautify editor; rename over/undershoot to over/underflow.
221 2006-11-16 Matevz Tadel <matevz.tadel@cern.ch>
225 * CascadeEditors.cxx:
227 From Ludovic, new files for visualization of cascades.
230 From Ludovic: register new classes. Reorganize some entries so
231 that a class, editor and gl-renderer are listed together.
236 From Ludovic: updates for V0 visualization.
240 Main color now set from frame-box (instead of default palette
244 Use new color-query function from RGBAPalette; validity of digit
245 value was not honoured in line-drawing modes.
249 * RGBAPaletteEditor.cxx:
250 * RGBAPaletteEditor.h:
251 Reimplementation of over/undershoot handling with separate modes
252 for both ends (cut, mark, clip and wrap); this works marvelously.
256 New files, editor for QuadSet gluing together translation and
261 Added int version of SetLimits for RGDoubleValuator; added
262 getters for value limits (Ludovic).
268 2006-11-14 Matevz Tadel <matevz.tadel@cern.ch>
276 * RGBAPaletteEditor.cxx:
290 2006-11-14 Matevz Tadel <matevz.tadel@cern.ch>
293 Added getters for limits of the RGValuator.
295 2006-11-14 Matevz Tadel <matevz.tadel@cern.ch>
298 Removed support for old ROOT versions.
302 Added base-interface ReferenceBackPtr (reference-counted object
303 with back references to render elements); to be used for shared
304 markup classes (color-palettes, frames) that need to update their
305 consumers once their state is changed.
309 Removed code for RGBAPalette; now in its own file.
313 Cleaned-up by using RGValuators instead of raw ROOT GUI (partial).
319 Very optimized in sense of speed / memory usage as it supports
320 several orientations of rectangles and all possible variants of
321 default sizes / third coordinate; also added pointers to
322 color-palette and frame-box/rectangle so that these elements can
323 be shared among instances of the same type (eg. silicon strip
324 detectors). Means more code in this class ... but hopefully much
328 Register new classes FrameBox, Plex, RGBAPalette and V0 stuff.
334 New files: provide a surrounding box/rectangle with a given
335 size/color; can be shared among many instances of render-elements
336 (eg. silicon strip detectors).
340 New files: container with chunked memory allocation (to avoid
341 frequent re-allocation on creation time) and ability to refit
342 itself into a contiguous array.
346 * RGBAPaletteEditor.cxx:
347 * RGBAPaletteEditor.h:
348 New files: a generic color palette with value to color mapping; to
349 be used by most digit/raw-data classes; can be shared among many
350 instances of render-elements (eg. silicon strip detectors).
356 From Ludovic: new files for visualization of V0s.
358 * RenderElementEditor.cxx:
362 2006-10-31 Matevz Tadel <matevz.tadel@cern.ch>
369 Started to work on reimplementation of the quad-set, renamed the
370 old one to OldQuadSet; i'm checking this in because another change is
371 needed for the new muon code and i already changed several things.
373 2006-10-27 Matevz Tadel <matevz.tadel@cern.ch>
377 In Line render-mode really render boxes as lines to allow
378 selection to proceed through the box walls; removed pre-processor
379 ifs for old root version.
381 2006-10-26 Matevz Tadel <matevz.tadel@cern.ch>
384 Fixed operator+ functions for exceptions (forgot to change them
385 when migrated from std::string to TString as exception base-class).
387 2006-10-25 Matevz Tadel <matevz.tadel@cern.ch>
391 Changed inheritance to include Reve::RenderElement;
392 use ZTrans to store transformation matrix;
393 added render-mode state (to force line/fill drawing).
395 In class Box added ctor and function MakeAxisAlignedBox() to
396 facilitate creation of regular boxes.
399 Support different render modes.
404 New class Reve::RGBAPalette: allow easier creation of color
405 paletts mapped to integer-value range.
411 Added parameter 'Width_t fWidth' to TrackRnrStyle and a method to
412 change width of all tracks in TrackList.
416 Added method method GenerateZNormalColors() that uses
417 Reve::RGBAPalette to set-up triangle color based on z-component of
420 2006-10-18 Matevz Tadel <matevz.tadel@cern.ch>
426 New files: implementation of homogeneous transformation matrix
427 with accompanying geditor.
431 * TriangleSetEditor.cxx:
432 * TriangleSetEditor.h:
435 New files: arbitrary triangulated surface.
438 Create a dummy event directory if none exists on AddRenderElement.
442 Added class RGTriVecValuator, a composite widget for editing
443 three-vectors. Used by ZTransEditor.
448 2006-10-13 Matevz Tadel <matevz.tadel@cern.ch>
452 Added contructor from TPartice.
454 2006-10-12 Matevz Tadel <matevz.tadel@cern.ch>
459 Fix wrong numerical constant in transformation assignment.
462 Added comment about problems with getting context-menu for
467 Added data-members for important GUI elements (master-frame,
468 master-tab); added method 'AddCanvasTab(const char* name)'.
472 Use TString as exception base instead of std::string.
476 Brought in sync with changes in render-element
477 management/conventions.
479 2006-10-04 Matevz Tadel <matevz.tadel@cern.ch>
485 Made RenderElement::ExportToCINT() virtual and reimplemented it in
490 Added optional TrackRnrStyle* argument to TrackList constructors;
491 renamed mRnrStyle to fRnrStyle.
493 2006-10-02 Matevz Tadel <matevz.tadel@cern.ch>
502 Changes for new geditor and gl two-level selection; added
503 delarations of private copy-ctor and assignment-op.
506 Added method GetRnrElement().
511 Added RGTopFrame::PreDeleteRenderElement() and calls to it; so far
512 it checks if the object is being displayed in the editor but can
513 in principle check other things as well.
515 * RenderElementEditor.cxx:
516 Assgined RenderElementEditor fPriority 0 (to appear on top).
518 2006-09-27 Matevz Tadel <matevz.tadel@cern.ch>
523 Made GLCanvas un-editable to prevent users from drawing things
524 over 3D scene; renamed the canvas data member from fCC to
525 fGLCanvas. Renamed local variables not to dress-up as
528 2006-09-26 Matevz Tadel <matevz.tadel@cern.ch>
531 Hack to fix RenderElementObjPtr's colors in tree-view is no longer
536 Properly update items of render-elements; call gReve::Redraw3D()
537 instead of pad modified/update. Added separate method
538 DisplayRenderElement() that caches the render-element in a
539 data-member to update it on change (needed for RenderElementObjPtr).
542 Use RGEditor::DisplayRenderElement() instead of
543 DisplayObject(). Removed some never-used static structures.
546 Removed Redraw3D() from UpdateItems() as it can now be called from
547 RGEditor::Update(); optimized item-updates in SetRnrElement() and
550 * PointSetArrayEditor.cxx:
552 Added call to Update() in SetRange() methods.
554 2006-09-26 Matevz Tadel <matevz.tadel@cern.ch>
559 Use new functionality from TGedEditor.
561 * PointSetArrayEditor.cxx:
562 * PointSetArrayEditor.h:
563 * RGeoNodeEditors.cxx:
565 * RenderElementEditor.cxx:
566 * RenderElementEditor.h:
569 Conform to new TGedFrame paradigm in ROOT.
571 2006-09-04 Matevz Tadel <matevz.tadel@cern.ch>
574 Fix effc++ warnings and most blatant coding-convention violations.
576 2006-08-30 Matevz Tadel <matevz.tadel@cern.ch>
582 * PointSetArrayEditor.cxx:
583 * PointSetArrayEditor.h:
589 * RGeoNodeEditors.cxx:
593 * RenderElementEditor.cxx:
594 * RenderElementEditor.h:
612 Removed code for gled-like object editors (obsolete, somewhat
613 decayed); fix effc++ warnings.
615 2006-08-29 Matevz Tadel <matevz.tadel@cern.ch>
621 Added ifdefs for post root-5.11.0 prototype of SetModelCheckClass().
624 In Reset: added call to PointSet3D::ClearIds().
628 Added support for control of camera-reset to Redraw3D(); when
629 opening GL window disable automatic camera reset on update and on
632 2006-08-04 Matevz Tadel <matevz.tadel@cern.ch>
636 Commented-out info print statements.
638 2006-07-11 Matevz Tadel <matevz.tadel@cern.ch>
642 Bypass buggy TMacro ctor (caused problems on paths including '.',
645 2006-07-11 Matevz Tadel <matevz.tadel@cern.ch>
649 Added method RenderElementListBase::DestroyElements().
651 2006-07-10 Matevz Tadel <matevz.tadel@cern.ch>
655 Removed files: the contents moved to VSDEvent and renamed
660 New files: common base class for an event object (VSDEvent and
665 New files: rename of class Reve::Event, now subclassed from
669 Reflect changes in event classes.
672 Added include TError.h.
676 Changed current-event pointer from TObject to EventBase; made
677 global-store and event-stores render elements; improved interface
678 for adding/removing render-elements.
682 Implemented proper reference management accross render-elements,
683 render-element-lists and tree-items; implemented methods for
684 removal and destruction of render-elements.
690 * RGeoNodeEditors.cxx:
693 Proper management of dependent render-elements, renamed
694 FullUpdate() to UpdateItems() and changed inheritance order
695 (derive RenderElement first).
697 2006-07-03 Matevz Tadel <matevz.tadel@cern.ch>
702 Added new classes TPointSelector and TPointSelectorConsumer
703 allowing more natural extraction of point-data from trees.
707 Implemented the TPointSelectorConsumer interface for PointSet and
708 PointSetArray; in PointSetArray removed obsolete methods
709 MakeScrollbar() and HandleScrollEvent().
711 2006-06-27 Matevz Tadel <matevz.tadel@cern.ch>
714 Skip render-state initialization if no boxes present.
718 Added option to render GeoTopNodeRnrEl at a given global position
719 (requires ROOT > 5.11.7).
724 Fixed creation of editor frame so that it uses X client's
725 SetRoot() functionality. This should (finally) close the issue.
728 Check for macro via full-path (fTitle); save macro as '.C' not
732 In CheckMacro() use TInterpreter::IsLoaded(mac) instead of
733 searching the list of global functions.
736 Fixed code for hit and cluster import to work with 'new' render
737 element registration mechanism.
739 2006-06-21 Matevz Tadel <matevz.tadel@cern.ch>
744 New class Reve::RMacro: a sub-class of TMacro that tries to unload
745 the macros properly before/after the operation.
749 Provide TFoler fMacroFolder to all consumers, register
750 Reve::RMacro mime type on start-up.
754 Added global function Bool_t Reve:CheckMacro().
756 2006-06-20 Matevz Tadel <matevz.tadel@cern.ch>
760 In TrackList: added ImportHits/Clusters(); removed obsolete
763 2006-06-19 Matevz Tadel <matevz.tadel@cern.ch>
767 In PointSetArray: added member for default daughter PointSet
768 capacity (fDefPointSetCapacity) and method DeleteBins(). Set
769 daughter polymarker stuff in InitBins() instead of CloseBins().
773 Consistently use nuber of slider positions in RGValuator.
776 Added method RenderElementListBase::RemoveElements().
778 2006-06-14 Matevz Tadel <matevz.tadel@cern.ch>
781 Added non-protected wrapper Render() for DirectDraw().
785 Subclassed point-set-array from TAttMarker, propagate changes to
788 * PointSetArrayEditor.cxx:
789 Removed stale printout.
792 Print exceptions to terminal also.
794 2006-06-13 Matevz Tadel <matevz.tadel@cern.ch>
797 Draw charged tracks as straight lines when magnetic field is near
800 2006-06-12 Matevz Tadel <matevz.tadel@cern.ch>
807 Renamed RenderElement::SetMainColorByPixel(Pixel_t) back to
808 RenderElement::SetMainColor(Pixel_t); there seemed to be a problem
809 when dependencies were not generated properly.
813 Added methods Track::ImportHits() and Track::ImportClusters();
814 fixed a charge value inconsistency yielding reconstructed
815 track charge to be 1/3.
817 2006-06-09 Matevz Tadel <matevz.tadel@cern.ch>
820 Added friend PointSetArrayEditor.
822 * PointSetArrayEditor.cxx:
823 * PointSetArrayEditor.h:
826 Use RGDoubleValuator for range-selection widget.
829 Accept -mode cmd-line option as an alias for -revemode.
832 Added some padding for labels.
834 2006-06-02 Matevz Tadel <matevz.tadel@cern.ch>
838 Added method UndrawRenderElement().
842 Implemented dtor for RenderElement removing all instances from
847 Added method RGValuator::SetEnabled().
849 2006-06-01 Matevz Tadel <matevz.tadel@cern.ch>
856 Added preprocessor conditionals to support ROOT > 5.11.2.
858 2006-05-31 Matevz Tadel <matevz.tadel@cern.ch>
865 New valuator widget classes RGValuator and RGDoubleValuator.
867 2006-05-31 Matevz Tadel <matevz.tadel@cern.ch>
872 Added method ArrTrans().
875 Added setup of macro/include paths into function
878 * reve_main/reve_main.cxx:
879 Removed macro/include path setup.
881 2006-05-23 Matevz Tadel <matevz.tadel@cern.ch>
887 Use RenderElement* as user-data of list-tree entries (it was
893 Added class RenderElementObjPtr to allow display and control of
894 pure TObjects (see alice-macros/region_marker.C for an
895 example). This is not perfect as there is no way to get
896 color-change updates from the editor (can fix this when i get
897 control over TGedEditor::Update()). RenderElement::GetObject() is
902 Added function FindColorVar() to allow RenderElementObjPtr objects
903 to peek into appropriate color.
905 2006-05-23 Matevz Tadel <matevz.tadel@cern.ch>
911 Do not initialize bbox in ctor. Moved ctor to cxx file, removed
916 Fix for editor window not appearing under some window
917 managers. For me it was working OK under fvwm and KDE (any focus
918 policy) but not at all under Gnome. This fixed my gnome problem
919 but it's quite likely the problem is not completely solved.
921 2006-05-18 Matevz Tadel <matevz.tadel@cern.ch>
926 Added missing initializations. In particular, fCurrentEvent,
927 fCurrentEventLTI and fGeometryLTI were not initialized and this
928 caused segvs for usage without bootstrap with alieve_init.C macro.
930 2006-05-17 Matevz Tadel <matevz.tadel@cern.ch>
936 New class Reve::ReferenceCount; to be used as secondary base class.
938 2006-05-15 Matevz Tadel <matevz.tadel@cern.ch>
944 New function ColorFromIdx().
950 New files: a set of boxes with direct GL rendering.
953 Pragmas for BoxSet/GL.