2006-10-12 Matevz Tadel EVE-dev * BoxSet.h: Fix wrong numerical constant in transformation assignment. * RGBrowser.cxx: Added comment about problems with getting context-menu for pointed-to object. * RGTopFrame.cxx: * RGTopFrame.h: Added data-members for important GUI elements (master-frame, master-tab); added method 'AddCanvasTab(const char* name)'. * Reve.cxx: * Reve.h: Use TString as exception base instead of std::string. * VSDSelector.cxx: * VSDSelector.h: Brought in sync with changes in render-element management/conventions. 2006-10-04 Matevz Tadel EVE-dev * RenderElement.cxx: * RenderElement.h: Made RenderElement::ExportToCINT() virtual and reimplemented it in RenderElementObjPtr. * Track.cxx: * Track.h: Added optional TrackRnrStyle* argument to TrackList constructors; renamed mRnrStyle to fRnrStyle. 2006-10-02 Matevz Tadel EVE-dev * .SKEL-ged.cxx: * .SKEL-ged.h: * .SKEL-gl.cxx: * .SKEL-gl.h: * .SKEL.h: Changes for new geditor and gl two-level selection; added delarations of private copy-ctor and assignment-op. * RGEditor.h: Added method GetRnrElement(). * RGTopFrame.cxx: * RGTopFrame.h: * RenderElement.cxx: Added RGTopFrame::PreDeleteRenderElement() and calls to it; so far it checks if the object is being displayed in the editor but can in principle check other things as well. * RenderElementEditor.cxx: Assgined RenderElementEditor fPriority 0 (to appear on top). 2006-09-27 Matevz Tadel * RGTopFrame.cxx: * RGTopFrame.h: * VSDSelector.cxx: Made GLCanvas un-editable to prevent users from drawing things over 3D scene; renamed the canvas data member from fCC to fGLCanvas. Renamed local variables not to dress-up as data-members. 2006-09-26 Matevz Tadel * RGBrowser.cxx: Hack to fix RenderElementObjPtr's colors in tree-view is no longer needed. * RGEditor.cxx: * RGEditor.h: Properly update items of render-elements; call gReve::Redraw3D() instead of pad modified/update. Added separate method DisplayRenderElement() that caches the render-element in a data-member to update it on change (needed for RenderElementObjPtr). * RGTopFrame.cxx: Use RGEditor::DisplayRenderElement() instead of DisplayObject(). Removed some never-used static structures. * RenderElement.cxx: Removed Redraw3D() from UpdateItems() as it can now be called from RGEditor::Update(); optimized item-updates in SetRnrElement() and SetMainColor(). * PointSetArrayEditor.cxx: * TrackEditors.cxx: Added call to Update() in SetRange() methods. 2006-09-26 Matevz Tadel * RGBrowser.cxx: * RGEditor.cxx: * RGEditor.h: Use new functionality from TGedEditor. * PointSetArrayEditor.cxx: * PointSetArrayEditor.h: * RGeoNodeEditors.cxx: * RGeoNodeEditors.h: * RenderElementEditor.cxx: * RenderElementEditor.h: * TrackEditors.cxx: * TrackEditors.h: Conform to new TGedFrame paradigm in ROOT. 2006-09-04 Matevz Tadel * MCHelixLine.hi: Fix effc++ warnings and most blatant coding-convention violations. 2006-08-30 Matevz Tadel * GeoNode.h: * PODs.h: * PointSet.cxx: * PointSet.h: * PointSetArrayEditor.cxx: * PointSetArrayEditor.h: * QuadSet.cxx: * QuadSet.h: * RGTopFrame.cxx: * RGTopFrame.h: * RGValuators.h: * RGeoNodeEditors.cxx: * RGeoNodeEditors.h: * RenderElement.cxx: * RenderElement.h: * RenderElementEditor.cxx: * RenderElementEditor.h: * Reve.h: * TTreeTools.h: * Track.cxx: * Track.h: * TrackEditors.cxx: * TrackEditors.h: * VSD.cxx: * VSD.h: * VSDEvent.cxx: * VSDEvent.h: * VSDSelector.cxx: * VSDSelector.h: Fix effc++ warnings. * LinkDef.h: * RGBrowser.cxx: * RGBrowser.h: Removed code for gled-like object editors (obsolete, somewhat decayed); fix effc++ warnings. 2006-08-29 Matevz Tadel EVE-dev * BoxSetGL.cxx: * QuadSetGL.cxx: Added ifdefs for post root-5.11.0 prototype of SetModelCheckClass(). * PointSet.cxx: In Reset: added call to PointSet3D::ClearIds(). * RGTopFrame.cxx: * RGTopFrame.h: Added support for control of camera-reset to Redraw3D(); when opening GL window disable automatic camera reset on update and on double-click. 2006-08-04 Matevz Tadel * PointSet.cxx: * RGBrowser.cxx: Commented-out info print statements. 2006-07-11 Matevz Tadel * RMacro.cxx: * RMacro.h: Bypass buggy TMacro ctor (caused problems on paths including '.', like /afs/cern.ch/). 2006-07-11 Matevz Tadel * RenderElement.cxx: * RenderElement.h: Added method RenderElementListBase::DestroyElements(). 2006-07-10 Matevz Tadel * Event.cxx: * Event.h: Removed files: the contents moved to VSDEvent and renamed accordingly. * EventBase.cxx: * EventBase.h: New files: common base class for an event object (VSDEvent and Alieve::Event). * VSDEvent.cxx: * VSDEvent.h: New files: rename of class Reve::Event, now subclassed from EventBase. * LinkDef.h: Reflect changes in event classes. * Reve.h: Added include TError.h. * RGTopFrame.cxx: * RGTopFrame.h: Changed current-event pointer from TObject to EventBase; made global-store and event-stores render elements; improved interface for adding/removing render-elements. * RenderElement.cxx: * RenderElement.h: Implemented proper reference management accross render-elements, render-element-lists and tree-items; implemented methods for removal and destruction of render-elements. * GeoNode.cxx: * GeoNode.h: * PointSet.cxx: * PointSet.h: * RGeoNodeEditors.cxx: * Track.cxx: * Track.h: Proper management of dependent render-elements, renamed FullUpdate() to UpdateItems() and changed inheritance order (derive RenderElement first). 2006-07-03 Matevz Tadel * TTreeTools.cxx: * TTreeTools.h: * LinkDef.h: Added new classes TPointSelector and TPointSelectorConsumer allowing more natural extraction of point-data from trees. * PointSet.cxx: * PointSet.h: Implemented the TPointSelectorConsumer interface for PointSet and PointSetArray; in PointSetArray removed obsolete methods MakeScrollbar() and HandleScrollEvent(). 2006-06-27 Matevz Tadel * BoxSetGL.cxx: Skip render-state initialization if no boxes present. * GeoNode.cxx: * GeoNode.h: Added option to render GeoTopNodeRnrEl at a given global position (requires ROOT > 5.11.7). * RGBrowser.cxx: * RGBrowser.h: * RGTopFrame.cxx: Fixed creation of editor frame so that it uses X client's SetRoot() functionality. This should (finally) close the issue. * RMacro.cxx: Check for macro via full-path (fTitle); save macro as '.C' not '.Cexec'. * Reve.cxx: In CheckMacro() use TInterpreter::IsLoaded(mac) instead of searching the list of global functions. * VSDSelector.cxx: Fixed code for hit and cluster import to work with 'new' render element registration mechanism. 2006-06-21 Matevz Tadel * LinkDef.h: * RMacro.cxx: * RMacro.h: New class Reve::RMacro: a sub-class of TMacro that tries to unload the macros properly before/after the operation. * RGTopFrame.cxx: * RGTopFrame.h: Provide TFoler fMacroFolder to all consumers, register Reve::RMacro mime type on start-up. * Reve.cxx: * Reve.h: Added global function Bool_t Reve:CheckMacro(). 2006-06-20 Matevz Tadel * Track.cxx: * Track.h: In TrackList: added ImportHits/Clusters(); removed obsolete MkPtScrollBar(). 2006-06-19 Matevz Tadel * PointSet.cxx: * PointSet.h: In PointSetArray: added member for default daughter PointSet capacity (fDefPointSetCapacity) and method DeleteBins(). Set daughter polymarker stuff in InitBins() instead of CloseBins(). * RGValuators.cxx: * RGValuators.h: Consistently use nuber of slider positions in RGValuator. * RenderElement.h: Added method RenderElementListBase::RemoveElements(). 2006-06-14 Matevz Tadel * BoxSetGL.h: Added non-protected wrapper Render() for DirectDraw(). * PointSet.cxx: * PointSet.h: Subclassed point-set-array from TAttMarker, propagate changes to all children. * PointSetArrayEditor.cxx: Removed stale printout. * RGTopFrame.cxx: Print exceptions to terminal also. 2006-06-13 Matevz Tadel * Track.cxx: Draw charged tracks as straight lines when magnetic field is near zero. 2006-06-12 Matevz Tadel * MCHelixLine.hi: Formatting changes. * RenderElement.cxx: * RenderElement.h: Renamed RenderElement::SetMainColorByPixel(Pixel_t) back to RenderElement::SetMainColor(Pixel_t); there seemed to be a problem when dependencies were not generated properly. * Track.cxx: * Track.h: Added methods Track::ImportHits() and Track::ImportClusters(); fixed a charge value inconsistency yielding reconstructed track charge to be 1/3. 2006-06-09 Matevz Tadel * PointSet.h: Added friend PointSetArrayEditor. * PointSetArrayEditor.cxx: * PointSetArrayEditor.h: * TrackEditors.cxx: * TrackEditors.h: Use RGDoubleValuator for range-selection widget. * RGTopFrame.cxx: Accept -mode cmd-line option as an alias for -revemode. * RGValuators.cxx: Added some padding for labels. 2006-06-02 Matevz Tadel * RGTopFrame.cxx: * RGTopFrame.h: Added method UndrawRenderElement(). * RenderElement.cxx: * RenderElement.h: Implemented dtor for RenderElement removing all instances from browsers. * RGValuators.cxx: * RGValuators.h: Added method RGValuator::SetEnabled(). 2006-06-01 Matevz Tadel * BoxSet.cxx: * BoxSetGL.cxx: * QuadSet.cxx: * QuadSet.h: * QuadSetGL.cxx: Added preprocessor conditionals to support ROOT > 5.11.2. 2006-05-31 Matevz Tadel EVE-dev branch * LinkDef.h: * RGValuators.cxx: * RGValuators.h: New valuator widget classes RGValuator and RGDoubleValuator. 2006-05-31 Matevz Tadel EVE-dev branch * BoxSet.h: Added method ArrTrans(). * Reve.cxx: Added setup of macro/include paths into function SetupEnvironment(). * reve_main/reve_main.cxx: Removed macro/include path setup. 2006-05-23 Matevz Tadel EVE-dev branch * RGBrowser.cxx: * RGTopFrame.cxx: Use RenderElement* as user-data of list-tree entries (it was TObject* before). * LinkDef.h: * RenderElement.cxx: * RenderElement.h: Added class RenderElementObjPtr to allow display and control of pure TObjects (see alice-macros/region_marker.C for an example). This is not perfect as there is no way to get color-change updates from the editor (can fix this when i get control over TGedEditor::Update()). RenderElement::GetObject() is now virtual. * Reve.cxx: * Reve.h: Added function FindColorVar() to allow RenderElementObjPtr objects to peek into appropriate color. 2006-05-23 Matevz Tadel EVE-dev branch * BoxSet.cxx: * BoxSet.h: Do not initialize bbox in ctor. Moved ctor to cxx file, removed Init(). * RGBrowser.cxx: * RGBrowser.h: Fix for editor window not appearing under some window managers. For me it was working OK under fvwm and KDE (any focus policy) but not at all under Gnome. This fixed my gnome problem but it's quite likely the problem is not completely solved. 2006-05-18 Matevz Tadel EVE-dev branch * RGTopFrame.cxx: Added missing initializations. In particular, fCurrentEvent, fCurrentEventLTI and fGeometryLTI were not initialized and this caused segvs for usage without bootstrap with alieve_init.C macro. 2006-05-17 Matevz Tadel EVE-dev branch * LinkDef.h: * Reve.h: New class Reve::ReferenceCount; to be used as secondary base class. 2006-05-15 Matevz Tadel EVE-dev branch * Reve.cxx: * Reve.h: New function ColorFromIdx(). * BoxSet.cxx: * BoxSet.h: * BoxSetGL.cxx: * BoxSetGL.h: New files: a set of boxes with direct GL rendering. * LinkDef.h: Pragmas for BoxSet/GL. * ChangeLog: New file.