[root] / trunk / graf3d / gl / src / TGLAnnotation.cxx Repository:
ViewVC logotype

Log of /trunk/graf3d/gl/src/TGLAnnotation.cxx

Parent Directory Parent Directory


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

Revision 41213 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 6 13:05:06 2011 UTC (3 years, 3 months ago) by tpochep
File length: 15638 byte(s)
Diff to previous 34006
Results of gROOT->GetColor were not checked.

Revision 34006 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 21 10:36:05 2010 UTC (4 years, 7 months ago) by matevz
File length: 15624 byte(s)
Diff to previous 32606
Merge the following revisions from branches/dev/fireworks:
33974, 33980, 33983, 33984, 33994


33974
=====

Author: alja
Date: Thu Jun 17 22:12:00 2010
New Revision: 33974

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

TEveCaloLegoGL:
Fix picking of rebinned 3D towers.

TEveCalo3DGL:
Fix highlight rendering.

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


33980
=====

Author: matevz
Date: Fri Jun 18 18:30:34 2010
New Revision: 33980

URL: http://root.cern.ch/viewvc?rev=33980&root=root&view=rev
Log:
* TGLOverlayElement
  Add state enum member to allow:
  - hiding of overlay elements;
  - preventing overlay events to reach them.
  TGLViewerBase::RenderOverlay() not takes bitfield of states that
  should be drawn.

* TGLCameraGuide
  New overlay element showing axis orientation.

* TGLRnrCtx
  Introduce standard functions to setup projection matrix for 2D /
  screen based operations and properly applying the selection matrix
  when it is active, too:
    void ProjectionMatrixPushIdentity();
    void ProjectionMatrixPop();

* TGLUtil
  Cleanup usage of static float arrays in surroundings of TGLUtil.

Added:
    branches/dev/fireworks/graf3d/gl/inc/TGLCameraGuide.h   (with props)
    branches/dev/fireworks/graf3d/gl/src/TGLCameraGuide.cxx   (with props)
Modified:
    branches/dev/fireworks/graf3d/gl/inc/LinkDef.h
    branches/dev/fireworks/graf3d/gl/inc/TGLCamera.h
    branches/dev/fireworks/graf3d/gl/inc/TGLManip.h
    branches/dev/fireworks/graf3d/gl/inc/TGLOverlay.h
    branches/dev/fireworks/graf3d/gl/inc/TGLRnrCtx.h
    branches/dev/fireworks/graf3d/gl/inc/TGLUtil.h
    branches/dev/fireworks/graf3d/gl/inc/TGLViewerBase.h
    branches/dev/fireworks/graf3d/gl/src/TGLAnnotation.cxx
    branches/dev/fireworks/graf3d/gl/src/TGLLightSet.cxx
    branches/dev/fireworks/graf3d/gl/src/TGLManip.cxx
    branches/dev/fireworks/graf3d/gl/src/TGLRnrCtx.cxx
    branches/dev/fireworks/graf3d/gl/src/TGLRotateManip.cxx
    branches/dev/fireworks/graf3d/gl/src/TGLScaleManip.cxx
    branches/dev/fireworks/graf3d/gl/src/TGLTransManip.cxx
    branches/dev/fireworks/graf3d/gl/src/TGLUtil.cxx
    branches/dev/fireworks/graf3d/gl/src/TGLViewer.cxx
    branches/dev/fireworks/graf3d/gl/src/TGLViewerBase.cxx

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

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

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

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


33983
=====

Author: matevz
Date: Fri Jun 18 19:19:47 2010
New Revision: 33983

URL: http://root.cern.ch/viewvc?rev=33983&root=root&view=rev
Log:
Add on/off state setter void SetBinaryState(Bool_t).

Modified:
    branches/dev/fireworks/graf3d/gl/inc/TGLOverlay.h


33984
=====

Author: matevz
Date: Fri Jun 18 19:35:51 2010
New Revision: 33984

URL: http://root.cern.ch/viewvc?rev=33984&root=root&view=rev
Log:
Replace logical and with binary one.

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


33994
=====

Author: matevz
Date: Sat Jun 19 14:09:04 2010
New Revision: 33994

URL: http://root.cern.ch/viewvc?rev=33994&root=root&view=rev
Log:
Add 3 new data-members to control mouse/arrow key handling:
   Float_t           fArrowKeyFactor;
   Float_t           fMouseDragFactor;
   Float_t           fMouseWheelFactor;

These are take from rootrc, eg:
OpenGL.EventHandler.ViewerCentricControls:  1
OpenGL.EventHandler.ArrowKeyFactor:        -1.0
OpenGL.EventHandler.MouseDragFactor:       -1.0
OpenGL.EventHandler.MouseWheelFactor:      -1.0

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

Revision 32606 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 14 20:40:53 2010 UTC (4 years, 10 months ago) by matevz
File length: 16008 byte(s)
Diff to previous 32596
Draw line connecting the annotation with the clicked point from the nearest
corner on the annotation box.

Revision 32596 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 12 18:12:32 2010 UTC (4 years, 10 months ago) by matevz
File length: 15715 byte(s)
Diff to previous 32572
Fix resize behaviour.

Revision 32572 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 11 20:25:52 2010 UTC (4 years, 10 months ago) by matevz
File length: 15716 byte(s)
Diff to previous 31664
From Alja.

Add interface to resize overlay font. Necessary to change font mode from pixmap to texture mode.

Revision 31664 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 8 15:00:36 2009 UTC (5 years, 1 month ago) by matevz
File length: 13178 byte(s)
Diff to previous 30994
Fix coverity warnings.

Revision 30994 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 5 17:20:24 2009 UTC (5 years, 2 months ago) by matevz
File length: 13148 byte(s)
Diff to previous 30564
Make sure annotation box stays within the window.
Use additional data members to store box properties during
rendering:
  Float_t    fDrawW, fDrawH, fDrawY;

Revision 30564 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 5 19:26:23 2009 UTC (5 years, 3 months ago) by matevz
File length: 12539 byte(s)
Diff to previous 30553
From Alja.

Add option for text align.

Revision 30553 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 4 10:20:53 2009 UTC (5 years, 3 months ago) by matevz
File length: 12326 byte(s)
Diff to previous 30545
From Alja.

In the initialisation of static members do not use TColor static functions.
This fails if an executable is explicitely linked to libRGL.

Revision 30545 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 2 16:24:12 2009 UTC (5 years, 3 months ago) by matevz
File length: 12401 byte(s)
Diff to previous 30425
From Alja.

calorimeters.C:
Set light color-set.

TEveCaloLegoGL.cxx:
Bugfix: check rebin step not to exceed nuber of bins.

TEveProjectionAxes:
Use Pixmap font as a defult, since it look better at small sizes.
For example case window is docked.

TGLAnnotation:
Add option to use color-set values. Add setters and getters.

Revision 30425 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 24 19:45:11 2009 UTC (5 years, 4 months ago) by matevz
File length: 12163 byte(s)
Diff to previous 30418
In all classes using FTGL fonts:
Consistently use integer for FTGL font size.

TGLEventHandler, TEveLegoEventHandler, TGLSAViewer,TGLEmbeddedViewer:
Change construnctor of TGLEventHandler and TEveLegoEventHandler.

Revision 30418 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 24 17:10:11 2009 UTC (5 years, 4 months ago) by matevz
File length: 12130 byte(s)
Diff to previous 30384
From Alja.

GLRnrCtx:
Add possibility for automatic font scaling.

TGLFontManager:
In RegisterFont() check if font state has changed and check valid font size. Before,
this checks were done in the renders.

render classes:
Use optionally scaled or non-scaled fonts. Remove checks for FTGL fonts,
since they are now done in  TGLFontManager:RegisterFont().

Revision 30384 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 23 17:54:23 2009 UTC (5 years, 4 months ago) by matevz
File length: 12504 byte(s)
Diff to previous 30383
Merge from fworks branch the following revisions:

30297
=====

tutorials/eve/cms_calo.C:
Change elements names.

TGLViewer:
Add getter to see if use bright or dark colorset.

TGLCameraOverlay, TEveCaloLego, TEveProjectionAxes,TEveCaloLegoOverlay:
By default use markup colors from color set. This way color will be correct
in bright and dark background without any settings. 


30340
=====

TEveViewer:
Protect against misleading warnings (happened on mac only).


30376
=====

TGLFont:
Remove TGLFont::RenderBitmap() function and replace it with TGLFont::Render(),
which can be used more genericaly: for all font types and alignments.

TGLAxisPainter, TGLCameraOverlay, TGLAnnotation, TEveProjectionAxesGL:
Use TGLFont::Render() function to draw labels and titles.

TEveCaloLego, TEveCaloLegoEditor:
Remove obsolete members fTopViewUseMaxColor and fTopViewTowerColor.

TEveCaloLegoGL:
Draw tower vlues in all 2DModes.

TEveCaloLegoOverlay:
Draw palette scales in case TEveCaloLego is using palette (f2DMode = TEveCaloLego::kValColor).

TEveCalo3DGL:
Keep grid color same in outline and wirewrame render mode.

Revision 30383 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 23 16:52:00 2009 UTC (5 years, 4 months ago) by matevz
File length: 12478 byte(s)
Diff to previous 29676
Merge two revisions from fworks brach.
Rename cms_calo.C to calorimeters.C.

30231:
TGLAnnotation:
Move annotation to front.
Delete/Edit annotation on button release instead of button press.

TGLEventHandler:
Add check for overlay element in HandleMotion().

30309: 
TEveViewer:
Fix a possible crash on DeleteWindow(). Delete event handler before deleting gl-viewer. 

TGLViewer:
Add a comment in  TGLViewer::SetEventHandler().

Revision 29676 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 4 16:18:07 2009 UTC (5 years, 5 months ago) by matevz
File length: 12690 byte(s)
Diff to previous 28885
Add support for control over viewer-global point-size and line-width
scaling. Additionally, allow wireforame and outline line widths to be
specified separately (on viewer / scene / scene-info level).

This will allow for scaling of pixel-based objects (lines and points) when
saving of screenshots with very high resolution is
implemented.

Basic support is impemented across TGLViewer, TGLScene, TGLRnrCtx and
TGLUtil.

Classes that used glPointSize and glLineWidth were modified to call
corresponding static function in TGLUtil class.

Controls were added to TGLViewerEditor (under Style tab).

Revision 28885 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 10 15:51:12 2009 UTC (5 years, 7 months ago) by matevz
File length: 12676 byte(s)
Diff to previous 27564
From Alja.

Add missing overlay management.

Revision 27564 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 21 12:37:20 2009 UTC (5 years, 11 months ago) by matevz
File length: 12646 byte(s)
Diff to previous 27560
TGLFontManager
--------------
Rename GetBaseLineParams() to MeasureBaseLineParams() to distinguish
it from the base-line param getters that return the font design
values.

TGLAnnotation
-------------
Add title to the annotaion-editor window.

Revision 27560 - (view) (download) (as text) (annotate) - [select for diffs]
Added Fri Feb 20 21:41:28 2009 UTC (5 years, 11 months ago) by matevz
File length: 12586 byte(s)
TGLAnnotation
-------------
New class for rendering of GL labels.
User has the possibility to chanage text, drag it or delete it.


TGLEventHandler
TGLViewer
---------------
Add annotation pick mode.


TGLFontManager
--------------
Add getters for font description.

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