Skip to content
Snippets Groups Projects
  1. Jun 11, 2008
    • Matevz Tadel's avatar
      From Alja. · 510c1a55
      Matevz Tadel authored
      TEveBoxSet classes:
      Introduce new structure to draw cone set. 
      
      tutorials/eve/boxset_test.C
      Add function cone_test() to test cone set.
      
      TEveDigitSet, TEveQuadSet:
      Fix member in ERenderMode_e, to draw properly in wire-frame rendering mode.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@24210 27541ba8-7e3a-0410-8455-c3a389f83636
      510c1a55
  2. Jun 10, 2008
    • Matevz Tadel's avatar
      - TGLContext, TGLWidget · 3c80bf3c
      Matevz Tadel authored
        Fix creation of TGLWidget so that it also works with software
        rendering where few visuals are available.
        This means that we have to break TGLWidget construction into three
        phases (required for software rendering on X11):
        1. find appropriate visual and create window;
        2. create widget using the above window;
        3. create gl-context binding them together.
        To avoid unexpected behaviour the construction is now done via
        static constructor 'TGLWidget* TGLWidget::Create()' and the
        actual constructor has been made protected.
      
      - TGLEmbeddedViewer, TGLSAViewer
        Use new TGLWidget construction syntax.
      
      - TGLPShapeObjEditor
        Use new TGLWidget construction syntax.
        Fix rendering and update of color-sphere.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@24204 27541ba8-7e3a-0410-8455-c3a389f83636
      3c80bf3c
  3. Jun 09, 2008
  4. Jun 07, 2008
    • Matevz Tadel's avatar
      - cms_calo.C · 128caa76
      Matevz Tadel authored
        Use tower-size as default representation for projected view.
      
      - TEveGeoNode
        Use default constructor of TGeoManager so that it does not attempt to
        register itselg to gROOT which might not be initialized yet.
        (Thanks to Bertrand for tracing this down.)
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@24180 27541ba8-7e3a-0410-8455-c3a389f83636
      128caa76
    • Rene Brun's avatar
      From Bertrand: · 78c4de66
      Rene Brun authored
      - Solve uninitialized variable in TGLWidget
        (thanks to Timur for the report)
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@24178 27541ba8-7e3a-0410-8455-c3a389f83636
      78c4de66
  5. Jun 06, 2008
    • Matevz Tadel's avatar
      From Alja. · cfc55034
      Matevz Tadel authored
      TEveGValuators:
      Sub-class from TGWidget and add optional widget-id argument in
      constructors.
      
      TEveCalo-classes, cms_calo.C:
      Add nested structure SliceInfo_t to hold data for each slice in
      histogram stack: name, threshold and color.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@24173 27541ba8-7e3a-0410-8455-c3a389f83636
      cfc55034
    • Matevz Tadel's avatar
      From Bertrand: · 8de15e73
      Matevz Tadel authored
      Remove TGLWidgetContainer class and change inheritance of
      TGLWidget as following:
      before: class TGLWidget : public TGCanvas, public TGLPaintDevice
      now:    class TGLWidget : public TGFrame,  public TGLPaintDevice
       
      Now TGFrame base class is used directly to tie with the GL Context,
      instead of creating an external window and registering it in TVirtualX
      window list.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@24162 27541ba8-7e3a-0410-8455-c3a389f83636
      8de15e73
  6. Jun 05, 2008
    • Matevz Tadel's avatar
      From Alja. · 4ed1e614
      Matevz Tadel authored
      TEveCaloData:
      Change GetCellData() to const.
      
      TEveCalo:
      Set threshold in SetData().
      
      TEveCaloLegoGL:
      Fix tick-marks and change rendering order of cells and plane.
      
      TGLCamera:
      
      Coordinate-system conversion functions ViewportDeltaToWorld(),
      ViewportToWorld() and WorldToViewport now take an optional argument
      specifying model-view matrix to be used in calculation.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@24158 27541ba8-7e3a-0410-8455-c3a389f83636
      4ed1e614
  7. Jun 04, 2008
    • Matevz Tadel's avatar
      - TEveProjectionManager: · 04d79db8
      Matevz Tadel authored
        Added member 'Bool_t fImportEmpty' - this forces the projection manager
        to also import sub-trees without any projectable elements.
        Useful if one expects a completely parallel element structure in
        projected replica.
      
      - TEveSelection:
        Added method 'void RemoveImpliedSelected(TEveElement* el)' needed for
        deregistration of implied-selected elements during their destruction.
      
      - TEveManager:
        - In PreDeleteElement() check if the element is implied selected or
          highlighted and deregister it from there.
        - In function InsertVizDBEntry():
          a) added argument 'Bool_t update';
          b) when replacing the model-element copy its children to the new
             model and optionally update their viz-params.
      
      - TEveElement:
        - Add methods to simplify propagation of visualization-parameters
          between model-elements and their clients
        - Add members 'Int_t fParentIgnoreCnt, fTopItemCnt' that allow
          better tracking of references in view of automatic destruction.
        - Consolidate Has/Num|Children/Parents() methods.
      
      - TEveGeoNode:
        Use TEveElement::HasChildren() instead of checking container size.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@24147 27541ba8-7e3a-0410-8455-c3a389f83636
      04d79db8
    • Matevz Tadel's avatar
      - TEveCalo-classes: · ba46ac77
      Matevz Tadel authored
        Add possibility to plot E/Et values and enable absolute/relative
        scaling.
      
      - TEveUtil:
        Add utility functions to check if a phi interval lies within or
        overlaps with another interval taking into account the U(1)
        wrap-around.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@24146 27541ba8-7e3a-0410-8455-c3a389f83636
      ba46ac77
    • Matevz Tadel's avatar
      Forgot to include LinkDef.h in last commit. · 2a008c18
      Matevz Tadel authored
      git-svn-id: http://root.cern.ch/svn/root/trunk@24123 27541ba8-7e3a-0410-8455-c3a389f83636
      2a008c18
  8. Jun 03, 2008
  9. May 30, 2008
    • Matevz Tadel's avatar
      From Alja: · 3a6f8a50
      Matevz Tadel authored
      - TEveCalo, TEveCaloLegoGL, TEveCalo2DGL, TEveCaloVizEditor:
        Add possibility to auto scale calorimeters.
        In class TEveCaloViz rename member fPhiRng to fPhiOffset.
      
      - cms_calo.C:
        Demonstrate auto scale and eta/phi range.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@24076 27541ba8-7e3a-0410-8455-c3a389f83636
      3a6f8a50
    • Matevz Tadel's avatar
      Fix compilation warning and some whitespace. · 134288fe
      Matevz Tadel authored
      git-svn-id: http://root.cern.ch/svn/root/trunk@24071 27541ba8-7e3a-0410-8455-c3a389f83636
      134288fe
    • Matevz Tadel's avatar
      - TEveGeoShape · d105b4d6
      Matevz Tadel authored
        Add static data-member holding a pointer to a default geo-manager
        that allows us to capture dangling geo-shapes as they are created for
        or imported into TEveGeoShape.
      
      - TGLCamera
        Fix AdjustAndClampVal() fix poorly implementd logarithmic scaling of
        the value step.
      
      - TGLOrthoCamera
        Add get/set methods for fZoomMin/Max.
      
      - TGLViewer, TGLSAViewer
        Move SavePicture() from TGLSAViewer to TGLViewer and improve
        structure of the code. This allows also images from TGLEmbedded
        viewer to be saved to a file.
      
      - projection_test.C
        Set min/max-zoom of the camera.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@24059 27541ba8-7e3a-0410-8455-c3a389f83636
      d105b4d6
  10. May 29, 2008
    • Matevz Tadel's avatar
      From Alja: · b949eb44
      Matevz Tadel authored
      - TEveCaloVizEditor:
        Read eta limits from data.
      
      - TEveCaloData, TEveCalo, TEveCalo3DGL, TEveCaloLegoGL, TEveCalo2DGL:
        Enable variable eta and phi range.
      
      - TEveLegoOverlay:
        Draw axis using THLimits finder.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@24052 27541ba8-7e3a-0410-8455-c3a389f83636
      b949eb44
  11. May 28, 2008
    • Matevz Tadel's avatar
      - TEveElement · e7191589
      Matevz Tadel authored
        Add member 'TEveElement *fVizModel' that points to VizDB entry used
        for determination of element's visual properties.
        When setting the VizModel add it as a child to the model-element.
        This will allow for two-way communication between client and model
        elements.
      
      - TEveManager
        When adding a model-element into VizDB increase its deny-destroy
        count. Use Destroy() not direct delete when removing it.
      
      - TEvePolygonSetProjected
        - Override TEveElement::SetMainColor() so that we can keep line and
          fill colors in sync if this is desired.
        - Remove SetLine/FillColor(Pixel_t).
      
      - TEveGeoNode
        Add some info and warning messages for unexpected conditions (which
        I now suspect might actually happen in some rare cases).
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@24047 27541ba8-7e3a-0410-8455-c3a389f83636
      e7191589
  12. May 26, 2008
  13. May 24, 2008
  14. May 23, 2008
    • Matevz Tadel's avatar
      Optimize updates of element visibility by introducing a new stamp-type · 0083546c
      Matevz Tadel authored
      and preprocessing the changed elements in TEveManager::DoRedraw3D().
      
      Make TEveElement::AddStamp() virtual. This allows sub-classes to react
      to different changes within the element.
      This also simplifes handling of visibility for TEveGeoNode and
      TEveSceneInfo.
      
      TEveProjection manager properly maintains compound-element relation.
      
      Finalize propagation of visibility and color from compounds to
      compound elements and from projectables to projecteds.
      
      Add three new selection propagation modes (compound, compound and
      projectable, master).
      
      Remove obsolete method TEveElement::UpdateItems() and all its
      incarnations.
      
      Replace asserts in TEveTrackPropagator::HelixToBounds() with a warning
      as this case can actually occur due to numerical errors for tracks with
      pZ close to zero.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@24001 27541ba8-7e3a-0410-8455-c3a389f83636
      0083546c
  15. May 22, 2008
  16. May 21, 2008
  17. May 20, 2008
  18. May 19, 2008
  19. May 18, 2008
  20. May 16, 2008
  21. May 15, 2008
  22. May 14, 2008
Loading