[root] / trunk / graf3d / eve / src / TEveScene.cxx Repository:
ViewVC logotype

Log of /trunk/graf3d/eve/src/TEveScene.cxx

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 42973 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 12 07:10:06 2012 UTC (2 years, 11 months ago) by matevz
File length: 13391 byte(s)
Diff to previous 36373
Add constructor taking TGLScenePad* as argument.
This allows users to use custom scene sub-classes with EVE.

Revision 36373 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 19 17:43:35 2010 UTC (4 years, 3 months ago) by matevz
File length: 12872 byte(s)
Diff to previous 35074
Merge the following revisions from branches/dev/fireworks:
35724, 35865, 35866, 35867, 36028, 36093, 36110, 36125, 36130, 36365, 36370


35724
=====

Author: matevz
Date: Fri Sep 24 22:08:36 2010
New Revision: 35724

URL: http://root.cern.ch/viewvc?rev=35724&root=root&view=rev
Log:
Preliminary version of camera auto-rotator.

Added:
    branches/dev/fireworks/graf3d/gl/inc/TGLAutoRotator.h   (with props)
    branches/dev/fireworks/graf3d/gl/src/TGLAutoRotator.cxx   (with props)
Modified:
    branches/dev/fireworks/graf3d/gl/inc/LinkDef.h

Propchange: branches/dev/fireworks/graf3d/gl/inc/TGLAutoRotator.h
            ('svn:eol-style' added)

Propchange: branches/dev/fireworks/graf3d/gl/inc/TGLAutoRotator.h
            ('svn:keywords' added)

Propchange: branches/dev/fireworks/graf3d/gl/src/TGLAutoRotator.cxx
            ('svn:eol-style' added)

Propchange: branches/dev/fireworks/graf3d/gl/src/TGLAutoRotator.cxx
            ('svn:keywords' added)


35865
=====

Author: alja
Date: Wed Sep 29 20:38:27 2010
New Revision: 35865

URL: http://root.cern.ch/viewvc?rev=35865&root=root&view=rev
Log:

Properly convert Et to E.

Modified:
    branches/dev/fireworks/graf3d/eve/src/TEveCaloData.cxx


35866
=====

Author: alja
Date: Wed Sep 29 20:39:58 2010
New Revision: 35866

URL: http://root.cern.ch/viewvc?rev=35866&root=root&view=rev
Log:
Fix compilation warning.

Modified:
    branches/dev/fireworks/graf3d/eve/src/TEveCaloData.cxx


35867
=====

Author: alja
Date: Wed Sep 29 21:12:04 2010
New Revision: 35867

URL: http://root.cern.ch/viewvc?rev=35867&root=root&view=rev
Log:

Use cell absolute value when update TEveCaloDataHist::fMaxValE and TEveCaloDataVec::fMaxValE.

Modified:
    branches/dev/fireworks/graf3d/eve/src/TEveCaloData.cxx


36028
=====

Author: alja
Date: Fri Oct  1 18:24:15 2010
New Revision: 36028

URL: http://root.cern.ch/viewvc?rev=36028&root=root&view=rev
Log:

Anti-alias frame lines.

Modified:
    branches/dev/fireworks/graf3d/eve/src/TEveBoxGL.cxx


36093
=====

Author: matevz
Date: Tue Oct  5 21:30:57 2010
New Revision: 36093

URL: http://root.cern.ch/viewvc?rev=36093&root=root&view=rev
Log:
Complete implementation.

Modified:
    branches/dev/fireworks/graf3d/gl/inc/TGLAutoRotator.h
    branches/dev/fireworks/graf3d/gl/src/TGLAutoRotator.cxx


36110
=====

Author: matevz
Date: Wed Oct  6 13:49:26 2010
New Revision: 36110

URL: http://root.cern.ch/viewvc?rev=36110&root=root&view=rev
Log:
Add camera rotator controls to gl-viewer editor.
Put it together with stereo controls in the "Extras" tab.

Modified:
    branches/dev/fireworks/graf3d/gl/inc/TGLAutoRotator.h
    branches/dev/fireworks/graf3d/gl/inc/TGLViewer.h
    branches/dev/fireworks/graf3d/gl/inc/TGLViewerEditor.h
    branches/dev/fireworks/graf3d/gl/src/TGLAutoRotator.cxx
    branches/dev/fireworks/graf3d/gl/src/TGLViewer.cxx
    branches/dev/fireworks/graf3d/gl/src/TGLViewerEditor.cxx


36125
=====

Author: matevz
Date: Wed Oct  6 17:09:07 2010
New Revision: 36125

URL: http://root.cern.ch/viewvc?rev=36125&root=root&view=rev
Log:
Remove redundant arguments.

Modified:
    branches/dev/fireworks/graf3d/gl/src/TGLViewerEditor.cxx


36130
=====

Author: matevz
Date: Wed Oct  6 17:34:07 2010
New Revision: 36130

URL: http://root.cern.ch/viewvc?rev=36130&root=root&view=rev
Log:
* TGLAutoRotator
  Use TStopwatch to measure time between two redraws.
  Do not stop / restart the timer, keep it running.
  Improve defaults.

* TGLViewerEditor
  Allow 3 decimal digits for delta-time.

Modified:
    branches/dev/fireworks/graf3d/gl/inc/TGLAutoRotator.h
    branches/dev/fireworks/graf3d/gl/src/TGLAutoRotator.cxx
    branches/dev/fireworks/graf3d/gl/src/TGLViewerEditor.cxx


36365
=====

Author: alja
Date: Mon Oct 18 18:41:05 2010
New Revision: 36365

URL: http://root.cern.ch/viewvc?rev=36365&root=root&view=rev
Log:

TEveElement, TEveProjectionBases:
Add support for fast destruction of large number of elements (e.g. heavy ion data).

TEveRefBackPtr, TEveTrackPropagator:
Optimize TEveRefBackPtr::DecRefCount() for large number of references.

TEveElement, TEveScene, TEveGedEditor, TEveGeoNode, TEveDigitSet,
TEveArrow, TEvePointSet, TEveGeoShape:
Remove default parameter in GetObject(), GetEditorObject(), and GetRenderObject() to avoid
unnecessary creation/destruction of temporary TEveException object.

Modified:
    branches/dev/fireworks/graf3d/eve/inc/TEveArrow.h
    branches/dev/fireworks/graf3d/eve/inc/TEveDigitSet.h
    branches/dev/fireworks/graf3d/eve/inc/TEveElement.h
    branches/dev/fireworks/graf3d/eve/inc/TEveGeoNode.h
    branches/dev/fireworks/graf3d/eve/inc/TEveGeoShape.h
    branches/dev/fireworks/graf3d/eve/inc/TEvePointSet.h
    branches/dev/fireworks/graf3d/eve/inc/TEveProjectionBases.h
    branches/dev/fireworks/graf3d/eve/inc/TEveUtil.h
    branches/dev/fireworks/graf3d/eve/src/TEveElement.cxx
    branches/dev/fireworks/graf3d/eve/src/TEveGedEditor.cxx
    branches/dev/fireworks/graf3d/eve/src/TEveProjectionBases.cxx
    branches/dev/fireworks/graf3d/eve/src/TEveScene.cxx
    branches/dev/fireworks/graf3d/eve/src/TEveTrackPropagator.cxx
    branches/dev/fireworks/graf3d/eve/src/TEveUtil.cxx


36370
=====

Author: matevz
Date: Tue Oct 19 18:50:07 2010
New Revision: 36370

URL: http://root.cern.ch/viewvc?rev=36370&root=root&view=rev
Log:
* TEveTrackPropagator:
  Fix calculation of:
  - fractional step when approaching a reference point;
  - track length when using helix propagator.

* track.C:
  Add test-case from ILC display Druid that was causing problems.

Modified:
    branches/dev/fireworks/graf3d/eve/src/TEveTrackPropagator.cxx
    branches/dev/fireworks/tutorials/eve/track.C

Revision 35074 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 30 15:18:02 2010 UTC (4 years, 4 months ago) by matevz
File length: 12555 byte(s)
Diff to previous 30410
Merge the following revisions from branches/dev/fireworks:
34608, 34786, 34787, 34788, 34804, 34808, 34835, 34841, 34956, 35031, 35071


34608
=====

Author: matevz
Date: Tue Jul 27 13:04:00 2010
New Revision: 34608

URL: http://root.cern.ch/viewvc?rev=34608&root=root&view=rev
Log:
Add data-member 'Int_t fNumChildren' caching the number of children.
std::list<>::size() can become really expensive for large collections.
Observed when running on heavy-ion data.

Modified:
    branches/dev/fireworks/graf3d/eve/inc/TEveElement.h
    branches/dev/fireworks/graf3d/eve/src/TEveElement.cxx
    branches/dev/fireworks/graf3d/eve/src/TEveGeoNode.cxx


34786
=====

Author: alja
Date: Thu Aug 12 20:05:46 2010
New Revision: 34786

URL: http://root.cern.ch/viewvc?rev=34786&root=root&view=rev
Log:
CPU performance improvements:
Add virtual GetProjectedAsElement() in TEveProjected and its derived classes to avoid dynamic casts.

Modified:
    branches/dev/fireworks/graf3d/eve/inc/TEveBox.h
    branches/dev/fireworks/graf3d/eve/inc/TEveCompound.h
    branches/dev/fireworks/graf3d/eve/inc/TEveElement.h
    branches/dev/fireworks/graf3d/eve/inc/TEveGeoShape.h
    branches/dev/fireworks/graf3d/eve/inc/TEveLine.h
    branches/dev/fireworks/graf3d/eve/inc/TEvePointSet.h
    branches/dev/fireworks/graf3d/eve/inc/TEvePolygonSetProjected.h
    branches/dev/fireworks/graf3d/eve/inc/TEveProjectionBases.h
    branches/dev/fireworks/graf3d/eve/inc/TEveStraightLineSet.h
    branches/dev/fireworks/graf3d/eve/inc/TEveTrackProjected.h
    branches/dev/fireworks/graf3d/eve/src/TEveProjectionBases.cxx


34787
=====

Author: alja
Date: Thu Aug 12 20:36:52 2010
New Revision: 34787

URL: http://root.cern.ch/viewvc?rev=34787&root=root&view=rev
Log:

Bugfix:
In TEveCaloDataVec add missing check for periodic TwoPi flag (TEveCaloData::fWrapTwoPi).

Modified:
    branches/dev/fireworks/graf3d/eve/src/TEveCaloData.cxx


34788
=====

Author: matevz
Date: Thu Aug 12 20:38:50 2010
New Revision: 34788

URL: http://root.cern.ch/viewvc?rev=34788&root=root&view=rev
Log:
Protect Runge-Kutta propagator against division by zero when the field
object returns 0 as the maximum magnetic field.

Modified:
    branches/dev/fireworks/graf3d/eve/src/TEveTrackPropagator.cxx


34804
=====

Author: matevz
Date: Fri Aug 13 13:42:28 2010
New Revision: 34804

URL: http://root.cern.ch/viewvc?rev=34804&root=root&view=rev
Log:
* TEveManager
  Use TExMap instead of std::set to store changed elements.
  Set insertion becomes expensive for large collections all being
  changed at the same time.

* TEveSceneList
  In ProcessChanges() take TExMap* as argument. Here map of changed
  objects / elements still needs to be built as we iterate in parallel
  over logical shape maps of all scenes.

* Other classes
  Implement virtual TEveElement::GetObject() for frequently used
  classes to avoid unnecessary dynamic casts.

Modified:
    branches/dev/fireworks/graf3d/eve/inc/TEveArrow.h
    branches/dev/fireworks/graf3d/eve/inc/TEveDigitSet.h
    branches/dev/fireworks/graf3d/eve/inc/TEveElement.h
    branches/dev/fireworks/graf3d/eve/inc/TEveGeoNode.h
    branches/dev/fireworks/graf3d/eve/inc/TEveGeoShape.h
    branches/dev/fireworks/graf3d/eve/inc/TEveManager.h
    branches/dev/fireworks/graf3d/eve/inc/TEvePointSet.h
    branches/dev/fireworks/graf3d/eve/inc/TEveScene.h
    branches/dev/fireworks/graf3d/eve/src/TEveElement.cxx
    branches/dev/fireworks/graf3d/eve/src/TEveManager.cxx
    branches/dev/fireworks/graf3d/eve/src/TEveScene.cxx


34808
=====

Author: matevz
Date: Fri Aug 13 14:45:18 2010
New Revision: 34808

URL: http://root.cern.ch/viewvc?rev=34808&root=root&view=rev
Log:
White-space.

Modified:
    branches/dev/fireworks/graf3d/eve/inc/TEveProjectionBases.h


34835
=====

Author: matevz
Date: Tue Aug 17 18:21:43 2010
New Revision: 34835

URL: http://root.cern.ch/viewvc?rev=34835&root=root&view=rev
Log:
In CreateWindow(), also check if Display* is non-null.

Modified:
    branches/dev/fireworks/graf3d/gl/src/TGLWidget.cxx


34841
=====

Author: alja
Date: Wed Aug 18 15:20:26 2010
New Revision: 34841

URL: http://root.cern.ch/viewvc?rev=34841&root=root&view=rev
Log:
Use TEveProjected::GetProjectedAsElement() instead of dynamic_cast of TEveProjected to TEveElement.

Modified:
    branches/dev/fireworks/graf3d/eve/src/TEveElement.cxx


34956
=====

Author: alja
Date: Mon Aug 23 19:38:40 2010
New Revision: 34956

URL: http://root.cern.ch/viewvc?rev=34956&root=root&view=rev
Log:

In TEveCalo2DGL::DrawRPhi() fix offset-by-one  error (last bin in RPhi was not rendered).

Modified:
    branches/dev/fireworks/graf3d/eve/src/TEveCalo2DGL.cxx


35031
=====

Author: alja
Date: Thu Aug 26 18:25:31 2010
New Revision: 35031

URL: http://root.cern.ch/viewvc?rev=35031&root=root&view=rev
Log:

Fix rendering of endcap cellc in stack at negative eta.

Modified:
    branches/dev/fireworks/graf3d/eve/inc/TEveCalo3DGL.h
    branches/dev/fireworks/graf3d/eve/src/TEveCalo3DGL.cxx


35071
=====

Author: matevz
Date: Mon Aug 30 15:53:24 2010
New Revision: 35071

URL: http://root.cern.ch/viewvc?rev=35071&root=root&view=rev
Log:
* TEveCalo3D
  Add calo-grid line-width control.
  Add individual getters / setters for drawing of endcap / barrel
  grid.

* TEveCalo3DGL
  Honour settings for grid line-width and visibility.

* TEveElement
  Mark some data-members as transient.

Modified:
    branches/dev/fireworks/graf3d/eve/inc/TEveCalo.h
    branches/dev/fireworks/graf3d/eve/inc/TEveElement.h
    branches/dev/fireworks/graf3d/eve/src/TEveCalo3DGL.cxx

Revision 30410 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 24 15:24:03 2009 UTC (5 years, 4 months ago) by matevz
File length: 11974 byte(s)
Diff to previous 29695
In TGLViewer revert to old default - do not use anti-aliased points and lines.

Revision 29695 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 6 11:10:55 2009 UTC (5 years, 5 months ago) by matevz
File length: 11893 byte(s)
Diff to previous 29499
Reduce dependence on TPad:
- remove include where redundant;
- replace with TVirtualPad where sufficient.

Revision 29499 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 16 16:51:38 2009 UTC (5 years, 6 months ago) by matevz
File length: 11872 byte(s)
Diff to previous 27157
- TEveElement: add 'virtual Bool_t GetRnrAnything()' to facilitate
  painting traversal.

- TEveScene: add support for hierarchical scenes. By setting the
  fHierarchical flag, positions of children get calculated by
  multiplying the transformation matrices of all parents within the
  scene.

- hierarchical_scene.C: demo of a hierarchical scene.

Revision 27157 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 15 14:05:12 2009 UTC (6 years ago) by brun
File length: 10289 byte(s)
Diff to previous 26397
From Axel:
Replace all references to Text_t by char, still keeping the definition in Rtypes.h

Revision 26397 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Nov 23 18:25:50 2008 UTC (6 years, 2 months ago) by matevz
File length: 10299 byte(s)
Diff to previous 26367
Merge revs 26369 and 26395 from the fireworks branch.

26369
#####

TEveElement
===========
In CheckReferenceCount() do nothing if the element is already destructing.

TEveScene
=========
In destructor mark beginning of destruction and remove this from the
scene-list.

26395
#####
TEveManager
===========
In destructor set fScenes and fViewers to 0 after calling DEstroy() on them.

In PreDeleteElement() check if fScenes is 0 before calling
DestroyElementRenderers().

Revision 26367 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 21 18:08:30 2008 UTC (6 years, 2 months ago) by matevz
File length: 10230 byte(s)
Diff to previous 23140
Merge revisions 26280:26327 from the fireworks branch.

26281
=====
- TGLScenePad: replace static variable with a data-member. Fix comments.

26304
=====
- TEveProjectionAxesGL: fix index out of bounds error reported by valgrind.

26306
=====
- TGLScene, TGLScenePad: better comments, consistent whitespace.
- TEveElement: add method DestroyOrWarn(): original Destroy() method is exception throwing.
- TEveScene: delete GL-scene and pad in destructor; add ownership information to class-docs.
- TEveSceneList: add method DestroyScenes().
- TEveViewer: add ownership information to class-docs.
- TEveManager: delete scenes, scene-list, viewers and viewer-list in destructor.

26325
=====
TEveTrackPropagator: implement the following overrides of virtual functions:
 - TEveElement::CheckReferenceCount() - take into account references from TEveRefBackPtr;
 - TEveRefBackPtr::OnZeroRefCount()   - call CheckReferenceCount().

26327
=====
Remove trailing whitespace in eve/ and gl/.

Revision 23140 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 11 11:01:39 2008 UTC (6 years, 9 months ago) by rdm
File length: 9686 byte(s)
Diff to previous 23087
move the following directories to "graf2d":

asimage, freetype, gpad, graf, postscript, qt, win32gdk, x11, x11ttf

move the following directories to "graf3d":

eve, ftgl, g3d, gl, x3d

Revision 23087 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 9 14:10:56 2008 UTC (6 years, 9 months ago) by rdm
Original Path: trunk/eve/src/TEveScene.cxx
File length: 9686 byte(s)
Diff to previous 22548
From Alja, Bertrand and Matevz - merged branches/dev/fireworks 22550:23082.


Major changes imported by this merge are:

gl/
====
- reorganization of scene rendering in TGLViewer - render opaque
  objects from all scenes first, then all transparent ones;

- improve saving of images from the GL-viewer so that the dialog boxes
  and other windows do not result in black areas on the saved image;

- improved management of FTGL fonts accross GL contexts.

eve/
====
- new classes for visualization of calorimeter data in lego mode;

- allow fixed scale beyond given radius for fish-eye projections.

Revision 22548 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 9 11:54:01 2008 UTC (6 years, 10 months ago) by rdm
Original Path: trunk/eve/src/TEveScene.cxx
File length: 9670 byte(s)
Diff to previous 22539
Fix coding convention violations.

Remove trailing white-space for all files in eve/ and gl/.

Revision 22539 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 8 14:36:37 2008 UTC (6 years, 10 months ago) by rdm
Original Path: trunk/eve/src/TEveScene.cxx
File length: 9293 byte(s)
Diff to previous 21812
From Alja, Bertrand & Matevz: merged branches/dev/fireworks 21757:22514.

This includes:

- development for event-displays of ALICE and CMS since 5.18 in eve/,
  gl/ and gui/;

- many new tutorials and demos for eve/;

- fix in TQObject to support class-signals from all base-classes.

Revision 21812 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 22 20:52:31 2008 UTC (7 years ago) by matevz
Original Path: trunk/eve/src/TEveScene.cxx
File length: 4401 byte(s)
Diff to previous 21566
From Alja:

New class TFTGLManager for management of FTGL fonts.

New classes TEveText, TEveTextEditor and TEveTextGL for display and
configuration of a 3D text.

New test macro 'tutorials/eve/text_test.C'.


From Matevz:

Reenable smart-refresh during redraw of TEveScenes.

Minor code-layout changes.

Revision 21566 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 28 16:15:28 2007 UTC (7 years ago) by brun
Original Path: trunk/eve/src/TEveScene.cxx
File length: 4042 byte(s)
Diff to previous 21310
Move functions referencing static global variables from inline to implementation file.

Revision 21310 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 10 19:05:45 2007 UTC (7 years, 1 month ago) by matevz
Original Path: trunk/eve/src/TEveScene.cxx
File length: 3838 byte(s)
Diff to previous 21054
Fix coding convention violations.

Revision 21054 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 26 18:00:41 2007 UTC (7 years, 1 month ago) by matevz
Original Path: trunk/eve/src/TEveScene.cxx
File length: 3774 byte(s)
Diff to previous 21044
When including ROOT header files use "" instead of <>.

Replace NULL with 0 in TEveGLText.

TEveTrackPropagator: make public data-members protected and provide
get/set methods. Second attempt at fixing Solaris cc errors: make
Helix and Vertex4d struct declarations public.

Revision 21044 - (view) (download) (as text) (annotate) - [select for diffs]
Added Mon Nov 26 14:31:05 2007 UTC (7 years, 1 month ago) by rdm
Original Path: trunk/eve/src/TEveScene.cxx
File length: 3774 byte(s)
from Matevz:
add the TEve classes to the svn trunk. Code compiles without warnings on
MacOS X, Linux and Windows XP. Tutorials still don't work, as init code
is still missing (coming later today).

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9