1 2006-11-21 Matevz Tadel <matevz.tadel@cern.ch>
9 New files: line representation with per-point selection.
13 New files: allow interaction with the track, more configurability
14 (render as line, points or both).
18 Derive Track from Line (before was TPolyLine3D, RenderElement);
19 this allowed me to remove a lot of code actually shared with
26 Some points were duplicated during track construction.
33 Use better names for QuadTypes (enum and internal structs).
37 Style/comment changes.
39 2006-11-17 Matevz Tadel <matevz.tadel@cern.ch>
43 Removed unnecessary constructor.
45 2006-11-17 Matevz Tadel <matevz.tadel@cern.ch>
48 Bugfix: loop variable was not increased in case of a continue
53 Rename over/undershoot to over/underflow.
55 * RGBAPaletteEditor.cxx:
56 * RGBAPaletteEditor.h:
57 Beautify editor; rename over/undershoot to over/underflow.
59 2006-11-16 Matevz Tadel <matevz.tadel@cern.ch>
65 From Ludovic, new files for visualization of cascades.
68 From Ludovic: register new classes. Reorganize some entries so
69 that a class, editor and gl-renderer are listed together.
74 From Ludovic: updates for V0 visualization.
78 Main color now set from frame-box (instead of default palette
82 Use new color-query function from RGBAPalette; validity of digit
83 value was not honoured in line-drawing modes.
87 * RGBAPaletteEditor.cxx:
88 * RGBAPaletteEditor.h:
89 Reimplementation of over/undershoot handling with separate modes
90 for both ends (cut, mark, clip and wrap); this works marvelously.
94 New files, editor for QuadSet gluing together translation and
99 Added int version of SetLimits for RGDoubleValuator; added
100 getters for value limits (Ludovic).
106 2006-11-14 Matevz Tadel <matevz.tadel@cern.ch>
114 * RGBAPaletteEditor.cxx:
128 2006-11-14 Matevz Tadel <matevz.tadel@cern.ch>
131 Added getters for limits of the RGValuator.
133 2006-11-14 Matevz Tadel <matevz.tadel@cern.ch>
136 Removed support for old ROOT versions.
140 Added base-interface ReferenceBackPtr (reference-counted object
141 with back references to render elements); to be used for shared
142 markup classes (color-palettes, frames) that need to update their
143 consumers once their state is changed.
147 Removed code for RGBAPalette; now in its own file.
151 Cleaned-up by using RGValuators instead of raw ROOT GUI (partial).
157 Very optimized in sense of speed / memory usage as it supports
158 several orientations of rectangles and all possible variants of
159 default sizes / third coordinate; also added pointers to
160 color-palette and frame-box/rectangle so that these elements can
161 be shared among instances of the same type (eg. silicon strip
162 detectors). Means more code in this class ... but hopefully much
166 Register new classes FrameBox, Plex, RGBAPalette and V0 stuff.
172 New files: provide a surrounding box/rectangle with a given
173 size/color; can be shared among many instances of render-elements
174 (eg. silicon strip detectors).
178 New files: container with chunked memory allocation (to avoid
179 frequent re-allocation on creation time) and ability to refit
180 itself into a contiguous array.
184 * RGBAPaletteEditor.cxx:
185 * RGBAPaletteEditor.h:
186 New files: a generic color palette with value to color mapping; to
187 be used by most digit/raw-data classes; can be shared among many
188 instances of render-elements (eg. silicon strip detectors).
194 From Ludovic: new files for visualization of V0s.
196 * RenderElementEditor.cxx:
200 2006-10-31 Matevz Tadel <matevz.tadel@cern.ch>
207 Started to work on reimplementation of the quad-set, renamed the
208 old one to OldQuadSet; i'm checking this in because another change is
209 needed for the new muon code and i already changed several things.
211 2006-10-27 Matevz Tadel <matevz.tadel@cern.ch>
215 In Line render-mode really render boxes as lines to allow
216 selection to proceed through the box walls; removed pre-processor
217 ifs for old root version.
219 2006-10-26 Matevz Tadel <matevz.tadel@cern.ch>
222 Fixed operator+ functions for exceptions (forgot to change them
223 when migrated from std::string to TString as exception base-class).
225 2006-10-25 Matevz Tadel <matevz.tadel@cern.ch>
229 Changed inheritance to include Reve::RenderElement;
230 use ZTrans to store transformation matrix;
231 added render-mode state (to force line/fill drawing).
233 In class Box added ctor and function MakeAxisAlignedBox() to
234 facilitate creation of regular boxes.
237 Support different render modes.
242 New class Reve::RGBAPalette: allow easier creation of color
243 paletts mapped to integer-value range.
249 Added parameter 'Width_t fWidth' to TrackRnrStyle and a method to
250 change width of all tracks in TrackList.
254 Added method method GenerateZNormalColors() that uses
255 Reve::RGBAPalette to set-up triangle color based on z-component of
258 2006-10-18 Matevz Tadel <matevz.tadel@cern.ch>
264 New files: implementation of homogeneous transformation matrix
265 with accompanying geditor.
269 * TriangleSetEditor.cxx:
270 * TriangleSetEditor.h:
273 New files: arbitrary triangulated surface.
276 Create a dummy event directory if none exists on AddRenderElement.
280 Added class RGTriVecValuator, a composite widget for editing
281 three-vectors. Used by ZTransEditor.
286 2006-10-13 Matevz Tadel <matevz.tadel@cern.ch>
290 Added contructor from TPartice.
292 2006-10-12 Matevz Tadel <matevz.tadel@cern.ch>
297 Fix wrong numerical constant in transformation assignment.
300 Added comment about problems with getting context-menu for
305 Added data-members for important GUI elements (master-frame,
306 master-tab); added method 'AddCanvasTab(const char* name)'.
310 Use TString as exception base instead of std::string.
314 Brought in sync with changes in render-element
315 management/conventions.
317 2006-10-04 Matevz Tadel <matevz.tadel@cern.ch>
323 Made RenderElement::ExportToCINT() virtual and reimplemented it in
328 Added optional TrackRnrStyle* argument to TrackList constructors;
329 renamed mRnrStyle to fRnrStyle.
331 2006-10-02 Matevz Tadel <matevz.tadel@cern.ch>
340 Changes for new geditor and gl two-level selection; added
341 delarations of private copy-ctor and assignment-op.
344 Added method GetRnrElement().
349 Added RGTopFrame::PreDeleteRenderElement() and calls to it; so far
350 it checks if the object is being displayed in the editor but can
351 in principle check other things as well.
353 * RenderElementEditor.cxx:
354 Assgined RenderElementEditor fPriority 0 (to appear on top).
356 2006-09-27 Matevz Tadel <matevz.tadel@cern.ch>
361 Made GLCanvas un-editable to prevent users from drawing things
362 over 3D scene; renamed the canvas data member from fCC to
363 fGLCanvas. Renamed local variables not to dress-up as
366 2006-09-26 Matevz Tadel <matevz.tadel@cern.ch>
369 Hack to fix RenderElementObjPtr's colors in tree-view is no longer
374 Properly update items of render-elements; call gReve::Redraw3D()
375 instead of pad modified/update. Added separate method
376 DisplayRenderElement() that caches the render-element in a
377 data-member to update it on change (needed for RenderElementObjPtr).
380 Use RGEditor::DisplayRenderElement() instead of
381 DisplayObject(). Removed some never-used static structures.
384 Removed Redraw3D() from UpdateItems() as it can now be called from
385 RGEditor::Update(); optimized item-updates in SetRnrElement() and
388 * PointSetArrayEditor.cxx:
390 Added call to Update() in SetRange() methods.
392 2006-09-26 Matevz Tadel <matevz.tadel@cern.ch>
397 Use new functionality from TGedEditor.
399 * PointSetArrayEditor.cxx:
400 * PointSetArrayEditor.h:
401 * RGeoNodeEditors.cxx:
403 * RenderElementEditor.cxx:
404 * RenderElementEditor.h:
407 Conform to new TGedFrame paradigm in ROOT.
409 2006-09-04 Matevz Tadel <matevz.tadel@cern.ch>
412 Fix effc++ warnings and most blatant coding-convention violations.
414 2006-08-30 Matevz Tadel <matevz.tadel@cern.ch>
420 * PointSetArrayEditor.cxx:
421 * PointSetArrayEditor.h:
427 * RGeoNodeEditors.cxx:
431 * RenderElementEditor.cxx:
432 * RenderElementEditor.h:
450 Removed code for gled-like object editors (obsolete, somewhat
451 decayed); fix effc++ warnings.
453 2006-08-29 Matevz Tadel <matevz.tadel@cern.ch>
459 Added ifdefs for post root-5.11.0 prototype of SetModelCheckClass().
462 In Reset: added call to PointSet3D::ClearIds().
466 Added support for control of camera-reset to Redraw3D(); when
467 opening GL window disable automatic camera reset on update and on
470 2006-08-04 Matevz Tadel <matevz.tadel@cern.ch>
474 Commented-out info print statements.
476 2006-07-11 Matevz Tadel <matevz.tadel@cern.ch>
480 Bypass buggy TMacro ctor (caused problems on paths including '.',
483 2006-07-11 Matevz Tadel <matevz.tadel@cern.ch>
487 Added method RenderElementListBase::DestroyElements().
489 2006-07-10 Matevz Tadel <matevz.tadel@cern.ch>
493 Removed files: the contents moved to VSDEvent and renamed
498 New files: common base class for an event object (VSDEvent and
503 New files: rename of class Reve::Event, now subclassed from
507 Reflect changes in event classes.
510 Added include TError.h.
514 Changed current-event pointer from TObject to EventBase; made
515 global-store and event-stores render elements; improved interface
516 for adding/removing render-elements.
520 Implemented proper reference management accross render-elements,
521 render-element-lists and tree-items; implemented methods for
522 removal and destruction of render-elements.
528 * RGeoNodeEditors.cxx:
531 Proper management of dependent render-elements, renamed
532 FullUpdate() to UpdateItems() and changed inheritance order
533 (derive RenderElement first).
535 2006-07-03 Matevz Tadel <matevz.tadel@cern.ch>
540 Added new classes TPointSelector and TPointSelectorConsumer
541 allowing more natural extraction of point-data from trees.
545 Implemented the TPointSelectorConsumer interface for PointSet and
546 PointSetArray; in PointSetArray removed obsolete methods
547 MakeScrollbar() and HandleScrollEvent().
549 2006-06-27 Matevz Tadel <matevz.tadel@cern.ch>
552 Skip render-state initialization if no boxes present.
556 Added option to render GeoTopNodeRnrEl at a given global position
557 (requires ROOT > 5.11.7).
562 Fixed creation of editor frame so that it uses X client's
563 SetRoot() functionality. This should (finally) close the issue.
566 Check for macro via full-path (fTitle); save macro as '.C' not
570 In CheckMacro() use TInterpreter::IsLoaded(mac) instead of
571 searching the list of global functions.
574 Fixed code for hit and cluster import to work with 'new' render
575 element registration mechanism.
577 2006-06-21 Matevz Tadel <matevz.tadel@cern.ch>
582 New class Reve::RMacro: a sub-class of TMacro that tries to unload
583 the macros properly before/after the operation.
587 Provide TFoler fMacroFolder to all consumers, register
588 Reve::RMacro mime type on start-up.
592 Added global function Bool_t Reve:CheckMacro().
594 2006-06-20 Matevz Tadel <matevz.tadel@cern.ch>
598 In TrackList: added ImportHits/Clusters(); removed obsolete
601 2006-06-19 Matevz Tadel <matevz.tadel@cern.ch>
605 In PointSetArray: added member for default daughter PointSet
606 capacity (fDefPointSetCapacity) and method DeleteBins(). Set
607 daughter polymarker stuff in InitBins() instead of CloseBins().
611 Consistently use nuber of slider positions in RGValuator.
614 Added method RenderElementListBase::RemoveElements().
616 2006-06-14 Matevz Tadel <matevz.tadel@cern.ch>
619 Added non-protected wrapper Render() for DirectDraw().
623 Subclassed point-set-array from TAttMarker, propagate changes to
626 * PointSetArrayEditor.cxx:
627 Removed stale printout.
630 Print exceptions to terminal also.
632 2006-06-13 Matevz Tadel <matevz.tadel@cern.ch>
635 Draw charged tracks as straight lines when magnetic field is near
638 2006-06-12 Matevz Tadel <matevz.tadel@cern.ch>
645 Renamed RenderElement::SetMainColorByPixel(Pixel_t) back to
646 RenderElement::SetMainColor(Pixel_t); there seemed to be a problem
647 when dependencies were not generated properly.
651 Added methods Track::ImportHits() and Track::ImportClusters();
652 fixed a charge value inconsistency yielding reconstructed
653 track charge to be 1/3.
655 2006-06-09 Matevz Tadel <matevz.tadel@cern.ch>
658 Added friend PointSetArrayEditor.
660 * PointSetArrayEditor.cxx:
661 * PointSetArrayEditor.h:
664 Use RGDoubleValuator for range-selection widget.
667 Accept -mode cmd-line option as an alias for -revemode.
670 Added some padding for labels.
672 2006-06-02 Matevz Tadel <matevz.tadel@cern.ch>
676 Added method UndrawRenderElement().
680 Implemented dtor for RenderElement removing all instances from
685 Added method RGValuator::SetEnabled().
687 2006-06-01 Matevz Tadel <matevz.tadel@cern.ch>
694 Added preprocessor conditionals to support ROOT > 5.11.2.
696 2006-05-31 Matevz Tadel <matevz.tadel@cern.ch>
703 New valuator widget classes RGValuator and RGDoubleValuator.
705 2006-05-31 Matevz Tadel <matevz.tadel@cern.ch>
710 Added method ArrTrans().
713 Added setup of macro/include paths into function
716 * reve_main/reve_main.cxx:
717 Removed macro/include path setup.
719 2006-05-23 Matevz Tadel <matevz.tadel@cern.ch>
725 Use RenderElement* as user-data of list-tree entries (it was
731 Added class RenderElementObjPtr to allow display and control of
732 pure TObjects (see alice-macros/region_marker.C for an
733 example). This is not perfect as there is no way to get
734 color-change updates from the editor (can fix this when i get
735 control over TGedEditor::Update()). RenderElement::GetObject() is
740 Added function FindColorVar() to allow RenderElementObjPtr objects
741 to peek into appropriate color.
743 2006-05-23 Matevz Tadel <matevz.tadel@cern.ch>
749 Do not initialize bbox in ctor. Moved ctor to cxx file, removed
754 Fix for editor window not appearing under some window
755 managers. For me it was working OK under fvwm and KDE (any focus
756 policy) but not at all under Gnome. This fixed my gnome problem
757 but it's quite likely the problem is not completely solved.
759 2006-05-18 Matevz Tadel <matevz.tadel@cern.ch>
764 Added missing initializations. In particular, fCurrentEvent,
765 fCurrentEventLTI and fGeometryLTI were not initialized and this
766 caused segvs for usage without bootstrap with alieve_init.C macro.
768 2006-05-17 Matevz Tadel <matevz.tadel@cern.ch>
774 New class Reve::ReferenceCount; to be used as secondary base class.
776 2006-05-15 Matevz Tadel <matevz.tadel@cern.ch>
782 New function ColorFromIdx().
788 New files: a set of boxes with direct GL rendering.
791 Pragmas for BoxSet/GL.