[root] / trunk / graf3d / eve / inc / TEvePolygonSetProjected.h Repository:
ViewVC logotype

Log of /trunk/graf3d/eve/inc/TEvePolygonSetProjected.h

Parent Directory Parent Directory


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

Revision 37192 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 2 15:54:26 2010 UTC (4 years, 1 month ago) by matevz
File length: 3256 byte(s)
Diff to previous 36885
Add support for TGeoCompositeShapes in TEveGeoShape and in its 2D
projection class TEvePolygonSetProjected.

Revision 36885 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 23 19:09:41 2010 UTC (4 years, 2 months ago) by matevz
File length: 3197 byte(s)
Diff to previous 36853
Sub-class TEveGeoShape and TEveGeoShapeProjected from TEveShape.
Move 'Bool_t fMiniOutline' to TEveShape and remove it elsewhere.
Propagate its state it TEveShape::CopyVizParams().

Revision 36853 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 22 19:48:34 2010 UTC (4 years, 2 months ago) by matevz
File length: 3400 byte(s)
Diff to previous 35074
* TEvePolygonSetProjected:
  When searching for duplicate polygons, also check the reverse
  orientation.

* TEveGeoShape, TEveGeoShapeProjected, TEvePolygonSetProjected,
  TEveGeoShapeExtract:
  Introduce new flag 'Bool_t fMiniOutline' that instructs the renderer
  to minimize the shape outline.

  This still needs to be implemented for TEveGeoShape and
  TEvePolygonSetProjected.

* TEvePolygonSetProjectedGL:
  When mini-outline is requested, remove the inner lines.

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: 3181 byte(s)
Diff to previous 32931
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 32931 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 9 16:29:40 2010 UTC (4 years, 9 months ago) by matevz
File length: 3116 byte(s)
Diff to previous 32478
* TEveVector, TEveVector4
  Make TEveVector, TEveVectorF and TEveVectorD typedefs instead of
  classes derived from templated base.
  This derivation was causing trouble when trying to use it in
  TEveTrack and TEveTrackPropagator.

  The same for 4-dim version TEveVector4.

  Make the same with TEvePathMark -- template and typedef.

  Miraculously, schema evolution supports this transition!

* TEveTrans, TEvePolygonSetProjected
  Replace forward declaration of TEveVector with include.

Revision 32478 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 5 14:20:48 2010 UTC (4 years, 10 months ago) by matevz
File length: 3111 byte(s)
Diff to previous 31517
* TEveElement
  Introduce new function
    virtual void PaintStandard(TObject* id);
  that contains common code cut-n-pasted in Paint() method of several
  EVE classes. Many of them now simply call this method.
  Many includes became unnecessary and were removed in the processes.

* TEveShape
* TEvePolygonSetProjected
  TEveShape is a new abstract base-class for 2D/3D shapes that require
  fill color and outline color / line-width.
  This was extracted from TEvePolygonSetProjected class.
  TEvePolygonSetProjectedEditor was removed -- all functionality is in
  TEveShapeEditor.

All other changes are just simplifactions of the Paint() method.

Revision 31517 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 3 11:56:23 2009 UTC (5 years, 1 month ago) by matevz
File length: 4304 byte(s)
Diff to previous 30840
Move TEveVector declaratations to a separate file to avoid pulling in
TParticle.h throughout eve.

Revision 30840 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 23 09:03:14 2009 UTC (5 years, 3 months ago) by matevz
File length: 4332 byte(s)
Diff to previous 30752
Add support for 3D -> 3D projections. This also allows for
scaling (compression/extension) of certain space region as required by
NA62 to show the 200m long detector in a meaningful way.

Several generalizations of the projection infrastructure were
required:

1. TEveProjectable::ProjectedClass() takes an argument:
     virtual TClass* ProjectedClass(const TEveProjection* p) const = 0;
   thus allowing different projected classes for different projections.

2. All TEveProjection::ProjectPoint/Vector(...) functions have an
   additional "depth" argument thus allowing the projected classes to
   skip explicit setting of depth after the point has been projected
   -- this could damage the 3rd component.

   Pre-scaling now supports 3 dimensions.

3. Abstract TEveProjected::SetDepth() has been split into two parts:
   a) It has been implemented in the base class where it checks for
      the projection type (2d) before calling the local function;
   b) Abstract SetDepthLocal() has been added to provide the same
      functionality.
   This allows for the 2d/3d check to be done in place only.

4. New projection class has been introduced: TEve3DProjection.
   It performs pre-scaling and offsets the center.

5. To simplify the projection of lists TEveElementList has been made
   projectable and corresponding TEveElementListProjected class
   introduced. This also fixed the problem with render-state not being
   propagated to projected classes.
   The check whether to project a sub-tree of elements is still performed.

6. TEveGeoShapeProjected has been introduced to represent the 3D
   projection of a TEveGeoShape (2D projection is handled by
   TEvePolygonSetProjected).

   Points, lines and tracks use the same projected class for both 2D
   and 3D projections.

An example showing this functionality has been added as a new tab in
tutorials/eve/projection_prescale.C.

Revision 30752 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 15 18:55:34 2009 UTC (5 years, 3 months ago) by matevz
File length: 4329 byte(s)
Diff to previous 28366
From Alja & Matevz.

Make highlightning configurable on per class basis by introducing a
new virtual function in TGLLogicalShape:
   virtual void DrawHighlight(TGLRnrCtx& rnrCtx, const TGLPhysicalShape* pshp) const;

The main use of this functionality will be to support individual
selection of calo towers and potentially other container elements that
support secondary selection.

For now it is used in TEvePolygonSetProjected to highlight only
outline of the polygon.

Revision 28366 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 27 16:04:05 2009 UTC (5 years, 8 months ago) by matevz
File length: 4133 byte(s)
Diff to previous 27157
TGLRnrCtx
- Fix coding convention violations.

TEvePolygonSetProjected
- Remove superfluous forward declaration.

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: 4245 byte(s)
Diff to previous 26047
From Axel:
Replace all references to Text_t by char, still keeping the definition in Rtypes.h

Revision 26047 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 31 19:14:29 2008 UTC (6 years, 2 months ago) by matevz
File length: 4249 byte(s)
Diff to previous 26034
Merge rev 26045 from fireworks branch (and fix a warning).

Structural improvements. Fix memory leaks.

Revision 26034 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 31 14:01:05 2008 UTC (6 years, 2 months ago) by matevz
File length: 4517 byte(s)
Diff to previous 24047
TEveElement
-----------
Add 'UChar_t fMainTransparency' data-member and accessors.

TEveGeoNode
-----------
Properly override SetMainTransparency().
Do not allow color / transparency editing for TGeAssemblies.

TEveGeoNodeEditor
-----------------
Remove transparency controls - use the ones from base-classes.

TEveDigitSet
TEvePolygonSetProjected
-----------------------
Remove transparency member - use the one from TEveElement.

TEveStraightLineSet
TEveTriangleSet
-------------------
Use main-color & transparency in Paint().

TEveTrackEditor
---------------
Fix label string (replaced during migration to new class names).

TEveTriangleSetEditor
---------------------
Do not need explicit transformation editor - provided by base-class.
Show number of vertices and triangles.

tutorials/eve/view3ds.C
-----------------------
Set color & transparency with more appropriate functions.

Revision 24047 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 28 23:22:54 2008 UTC (6 years, 7 months ago) by matevz
File length: 4727 byte(s)
Diff to previous 23140
- TEveElement
  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).

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: 4740 byte(s)
Diff to previous 22539
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 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/inc/TEvePolygonSetProjected.h
File length: 4740 byte(s)
Diff to previous 21794
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 21794 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 21 21:11:46 2008 UTC (7 years ago) by matevz
Original Path: trunk/eve/inc/TEvePolygonSetProjected.h
File length: 4690 byte(s)
Diff to previous 21138
Fix effc++ warnings.
Whitespace.

Revision 21138 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 30 23:06:23 2007 UTC (7 years, 1 month ago) by matevz
Original Path: trunk/eve/inc/TEvePolygonSetProjected.h
File length: 4689 byte(s)
Diff to previous 21054
Alja: add documentation for the projection classes.

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/inc/TEvePolygonSetProjected.h
File length: 4521 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/inc/TEvePolygonSetProjected.h
File length: 4521 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