- Jun 11, 2008
-
-
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
-
- Jun 10, 2008
-
-
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
-
- Jun 09, 2008
-
-
Matevz Tadel authored
TEveCaloLegoGL: Fix a crash when going from 3D to 2D lego view. SmallFixes: - CaloLegoGL, CaloLego Change offset of XY axis titles. Check gap between projected bin lines around average eta and phi values. - cms_calo.C Change color of towers to make towers more visible in 2D view. git-svn-id: http://root.cern.ch/svn/root/trunk@24193 27541ba8-7e3a-0410-8455-c3a389f83636
-
Matevz Tadel authored
them when setting camera rotation. git-svn-id: http://root.cern.ch/svn/root/trunk@24186 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jun 07, 2008
-
-
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
-
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
-
- Jun 06, 2008
-
-
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
-
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
-
- Jun 05, 2008
-
-
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
-
- Jun 04, 2008
-
-
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
-
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
-
Matevz Tadel authored
git-svn-id: http://root.cern.ch/svn/root/trunk@24123 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jun 03, 2008
-
-
Matevz Tadel authored
git-svn-id: http://root.cern.ch/svn/root/trunk@24122 27541ba8-7e3a-0410-8455-c3a389f83636
-
Matevz Tadel authored
destructor and check it in TGLViewer destructor. git-svn-id: http://root.cern.ch/svn/root/trunk@24114 27541ba8-7e3a-0410-8455-c3a389f83636
-
- May 30, 2008
-
-
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
-
Matevz Tadel authored
git-svn-id: http://root.cern.ch/svn/root/trunk@24071 27541ba8-7e3a-0410-8455-c3a389f83636
-
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
-
- May 29, 2008
-
-
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
-
- May 28, 2008
-
-
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
-
- May 26, 2008
-
-
Matevz Tadel authored
---------- Implement basic visual-parameter database management using TMap (load/save not supported yet). Use TMap instead of std::map for geometry management. TEveElement ----------- Implement CopyVizParamsFromDB(). test_compound.C --------------- Add minimal example showing usage of visual-parameter database. git-svn-id: http://root.cern.ch/svn/root/trunk@24026 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@24020 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@24007 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
some efffc++ fixes git-svn-id: http://root.cern.ch/svn/root/trunk@24006 27541ba8-7e3a-0410-8455-c3a389f83636
-
- May 24, 2008
-
-
Matevz Tadel authored
following classes: TEvePointSet, TEveLine, TEveTrack, TEveTrackList and TEveStraightLineSet. Implemented TEveProjectable::PropagateVizParams(). In TEveGedEditor::Update() call PropagateVizParamsToProjecteds() so that all representation of given element receive the potential updates. git-svn-id: http://root.cern.ch/svn/root/trunk@24004 27541ba8-7e3a-0410-8455-c3a389f83636
-
Matevz Tadel authored
git-svn-id: http://root.cern.ch/svn/root/trunk@24003 27541ba8-7e3a-0410-8455-c3a389f83636
-
- May 23, 2008
-
-
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
-
- May 22, 2008
-
-
Matevz Tadel authored
a) compounds to compound-members; b) projectables to projected elements. New tutorial to test/demonstrate compounds (not complete). git-svn-id: http://root.cern.ch/svn/root/trunk@23979 27541ba8-7e3a-0410-8455-c3a389f83636
-
- May 21, 2008
-
-
Matevz Tadel authored
TEveCalo2DGL, EveCalo3DGL - fix quad normals. TEveCalo, TEveCaloLegoGL - use THLimitFider for XY axis. TEveCaloData - simplify CellData_t handling. git-svn-id: http://root.cern.ch/svn/root/trunk@23958 27541ba8-7e3a-0410-8455-c3a389f83636
-
- May 20, 2008
-
-
Matevz Tadel authored
git-svn-id: http://root.cern.ch/svn/root/trunk@23927 27541ba8-7e3a-0410-8455-c3a389f83636
-
- May 19, 2008
-
-
Matevz Tadel authored
git-svn-id: http://root.cern.ch/svn/root/trunk@23915 27541ba8-7e3a-0410-8455-c3a389f83636
-
Matevz Tadel authored
From Alja: TEveCaloLegoGL - Set z-coordinate of 2D cells to the same value as in 3d case to allow for thresholding with a transparent plane. git-svn-id: http://root.cern.ch/svn/root/trunk@23914 27541ba8-7e3a-0410-8455-c3a389f83636
-
- May 18, 2008
-
-
Matevz Tadel authored
to Color_t is not needed. git-svn-id: http://root.cern.ch/svn/root/trunk@23896 27541ba8-7e3a-0410-8455-c3a389f83636
-
- May 16, 2008
-
-
Matevz Tadel authored
TEveCalo,TEveCaloLegoEditor: Add interface for horizontal plane color and transparency. TEveCaloLegoGL: Structural improvements. git-svn-id: http://root.cern.ch/svn/root/trunk@23893 27541ba8-7e3a-0410-8455-c3a389f83636
-
- May 15, 2008
-
-
Matevz Tadel authored
git-svn-id: http://root.cern.ch/svn/root/trunk@23869 27541ba8-7e3a-0410-8455-c3a389f83636
-
Matevz Tadel authored
TGLFontManager: Add utility function GetFontSize(). TEveCaloData: Fix wrong usage of THStack. TEveCalo, TEveCaloLegoEditor: Remove obsolete memeber. TEveLegoOverlay, LinkDef: New class. TEveCaloLegoGL: Draw a semi-transparent plane parallel to the grid and have an interactive marker on the scale which a user can drag to cause the plane to move. cms_calo.C: Add overlay to the GL scene. git-svn-id: http://root.cern.ch/svn/root/trunk@23868 27541ba8-7e3a-0410-8455-c3a389f83636
-
Matevz Tadel authored
- Add class TEveVector4. - Add new type of path-mark - a 2D-cluster. 2. TEveTrack, TEveTrackPropagator - Properly handle 2D-cluster path-marks. - Use TEveVector4 for propagation instead of inner struct Vertex4D_t (now removed). git-svn-id: http://root.cern.ch/svn/root/trunk@23867 27541ba8-7e3a-0410-8455-c3a389f83636
-
Matevz Tadel authored
git-svn-id: http://root.cern.ch/svn/root/trunk@23866 27541ba8-7e3a-0410-8455-c3a389f83636
-
Matevz Tadel authored
git-svn-id: http://root.cern.ch/svn/root/trunk@23865 27541ba8-7e3a-0410-8455-c3a389f83636
-
Matevz Tadel authored
git-svn-id: http://root.cern.ch/svn/root/trunk@23864 27541ba8-7e3a-0410-8455-c3a389f83636
-
- May 14, 2008
-
-
Rene Brun authored
Rename the name of the canvas used in the example macro from c1 to cV3D to avoid a clash between two concurrent canvases with the same name. git-svn-id: http://root.cern.ch/svn/root/trunk@23852 27541ba8-7e3a-0410-8455-c3a389f83636
-