[root] / trunk / graf3d / gl / inc / TGLFontManager.h Repository:
ViewVC logotype

Log of /trunk/graf3d/gl/inc/TGLFontManager.h

Parent Directory Parent Directory


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

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: 5279 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: 5494 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: 5490 byte(s)
Diff to previous 28464
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 28464 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 6 12:37:21 2009 UTC (5 years, 8 months ago) by brun
File length: 5220 byte(s)
Diff to previous 28378
From Timur:
New GL interface for TPad (to be documented in next check-in)

Revision 28378 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 28 15:40:53 2009 UTC (5 years, 8 months ago) by matevz
File length: 5126 byte(s)
Diff to previous 27564
TGLRnrCtx
- Add function ColorOrForeground(Color_t col) which sets given color
or falls back to default foregorund in col is the background color.

TGLFontManager
- Rewrite GetFontSize(Float_t size, Int_t min, Int_t max) to use
TMath::BinarySearch().
- Add function GetFontSize(Float_t size) that uses min, max from the
available font-sizes.

TGLAxisPainterBox
- New class for painting of 3D axes around a box.

TF2GL, TH2GL
- Use TGLAxisPainterBox for painting of axes.

TH3GL
- New class for rendering of TH3 objects.

TGLScenePad
- Proper handling of TH3.

TGLViewer
- When constructed with a given TPad, set background and foreground
colors accordingly.

TGLUtilColor
- Add cache-variable fIndex that makes it easier / more optimal to
compare and retrieve color-indices.

TGLCameraOverlay
- Use TGLFontManager::GetFontSize() without limits.

TGLParametricEquationGL
- Gray-space changes.

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: 5088 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]
Modified Fri Feb 20 21:41:28 2009 UTC (5 years, 11 months ago) by matevz
File length: 5023 byte(s)
Diff to previous 27157
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.

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

Revision 26772 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 9 19:57:49 2008 UTC (6 years, 1 month ago) by matevz
File length: 4835 byte(s)
Diff to previous 26566
Merge revs between 26664 and 26771 from the fireworks branch.

26664
=====
TEveCalo3DGL - Check if data empty in draw function.


26681
=====
TEveCalo.cxx:
Check if Data is empty if use relative scaling.

TEveCalo3DGL.cxx:
Remove unnecessary if statement.


26683
=====
TGLFontManager:
Add maping from TTF ID to font name.

TEveCaloLegoGL:
Remove hard coded axis title, read from TAxis.

cms_calo.C, cms_calo_detail.C:
Set axis title.


26685
=====
Draw frame from eta, pgi axis in TEveCalo3D.


26687
=====
TEveCalo3DGL - Do not use DLcache in case of highlight and selection.


26688
=====
TEveCalo3DGL - Draw phi bins exactly from front endcap to back endcap.


26756
=====
TEveCalo3DGL - Draw frame within eta, phi limits.


26771
=====
TEveCaloX - Fix compilation warnings.

Revision 26566 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 1 20:03:55 2008 UTC (6 years, 1 month ago) by rdm
File length: 4781 byte(s)
Diff to previous 25431
From Christian Holm:
changes needed to let Makefile play nice with debian and redhat
build tools.

Revision 25431 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 17 08:35:34 2008 UTC (6 years, 4 months ago) by matevz
File length: 4196 byte(s)
Diff to previous 24448
Merge Alja's development since the release from the fireworks branch.

25284
-----
TEveCaloLegoGL, TGLAxisPainter, TGLCameraOverlay:
Fix tick-mark and font offsets.

25291
-----
TGLViewerEditor, TGLViewer, TGLCamera, TGLOrthoCamera,
TGLCameraOverlay, LinkDef.h:
Remove TGLCameraMarkupStyle. Functionality is moved to TGLCameraOverlay.

TGLFontManager:
Add utility function TGLFont::RenderBitmap() to draw pixmap
and bitmap fonts on given location.

TEveProjectionAxesGL:
Use TGLFont::RenderBitmap() function.

cms_calo.C, projection_test_prescale.C, projection_test.C, test_compound.C:
Camera markup is not drawn by default in orthographic projection.

25319
-----
TGLCameraOverlay.cxx:
Fix gl pick matrix.

TEveLegoOverlay:
Move inheritance from TGLOverlayElement to TGLCameraOverlay.

25395
-----
TGLFontManager, TGLAxisPainter, TGLCameraOverlay,TEveLegoOverlay, TEveCaloLegoGL:
Modify utility function TGLFont::RenderBitmap() to render text with given alignment.

TEveProjectionAxes:
Render axis on the edges of viewport instead of on edges of bounding box.

25405
-----
TEveProjectionAxesGL:
Draw axis from start to end of frustum corners if frustum inside projection limits,
else draw axis from low to high projection limit.
Set tick-mark size relative to viewport size.

Revision 24448 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 20 21:06:12 2008 UTC (6 years, 7 months ago) by matevz
File length: 4028 byte(s)
Diff to previous 23927
From Alja:

Introduce trash count to prevent too frequent creation and
destruction of FTFont objects.

Revision 23927 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 20 10:19:01 2008 UTC (6 years, 8 months ago) by matevz
File length: 3487 byte(s)
Diff to previous 23869
Add dummy member initializers for effc++.

Revision 23869 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 15 19:48:00 2008 UTC (6 years, 8 months ago) by matevz
File length: 3460 byte(s)
Diff to previous 23868
Remove trailing whitespace.

Revision 23868 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 15 19:32:43 2008 UTC (6 years, 8 months ago) by matevz
File length: 3465 byte(s)
Diff to previous 23140
From Alja.

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.

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: 3378 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/gl/inc/TGLFontManager.h
File length: 3378 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/gl/inc/TGLFontManager.h
File length: 2829 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/gl/inc/TGLFontManager.h
File length: 2831 byte(s)
Copied from: branches/dev/fireworks/gl/inc/TGLFontManager.h revision 22525
Diff to previous 22090
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 22090 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 11 16:30:54 2008 UTC (6 years, 11 months ago) by matevz
Original Path: branches/dev/fireworks/gl/inc/TGLFontManager.h
File length: 2831 byte(s)
Diff to previous 22050
Implement selection and highlight based on GL pick/hoover events.

By default escalate selection to projectable elements.

A minimal fix in TQObject::Emit() allowing proper emission of
class-signals from base-classes.

Revision 22050 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 7 21:10:30 2008 UTC (6 years, 11 months ago) by alja
Original Path: branches/dev/fireworks/gl/inc/TGLFontManager.h
File length: 2642 byte(s)
Copied from: branches/dev/fireworks/gl/inc/TFTGLManager.h revision 22029
Diff to previous 21894
Introduce new class TGLFont to avoid any other dependencies to FTGL.
Rename TFTGLManager to TGLFontManager.

Revision 21894 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 28 20:30:56 2008 UTC (6 years, 11 months ago) by matevz
Original Path: branches/dev/fireworks/gl/inc/TFTGLManager.h
File length: 2336 byte(s)
Copied from: trunk/gl/inc/TFTGLManager.h revision 21893
Diff to previous 21881
Merged changes since release 5.18 for the following directories:
eve/
gl/
gui/
icons/
tutorials/eve/

Used the following strategy:
cd $ROOTSYS/<dir>
svn merge -r 21745:HEAD https://root.cern.ch/svn/root/trunk/<dir>

Revision 21881 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 28 16:24:14 2008 UTC (6 years, 11 months ago) by matevz
Original Path: trunk/gl/inc/TFTGLManager.h
File length: 2336 byte(s)
Diff to previous 21812
From Alja:

Move rendering of axes from TEveProjectionManager to new class
TEveProjectionAxes. Use TEveText functionality for rendering of
tick-mark labels.

Add new members for FTFont configuration in TEveText.

New demo: tutorials/eve/projection_test.C.

Revision 21812 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue Jan 22 20:52:31 2008 UTC (7 years ago) by matevz
Original Path: trunk/gl/inc/TFTGLManager.h
File length: 1999 byte(s)
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.

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