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

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

Parent Directory Parent Directory


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

Revision 36431 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 27 10:16:50 2010 UTC (4 years, 2 months ago) by couet
File length: 43709 byte(s)
Diff to previous 34286
- From Timur: protection added in DrawPalette

Revision 34286 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 1 20:38:57 2010 UTC (4 years, 6 months ago) by rdm
File length: 43551 byte(s)
Diff to previous 30298
fix format errors related to TString::Form(), TString::Format(), Form()
and Printf().

Revision 30298 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 19 13:07:06 2009 UTC (5 years, 4 months ago) by matevz
File length: 43575 byte(s)
Diff to previous 28464
From Timur.

Draw all plots so that they are contained within a unit-box centered
at the origin.

This is the first step towards allowing mixing of plots with other
scene elements.

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: 43497 byte(s)
Diff to previous 28201
From Timur:
New GL interface for TPad (to be documented in next check-in)

Revision 28201 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 14 16:04:20 2009 UTC (5 years, 9 months ago) by matevz
File length: 42741 byte(s)
Diff to previous 24186
Move code for plot-painter camera out of TGLOrthoCamera and put it
into a new class TGLPlotCamera.

Revision 24186 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 9 11:34:54 2008 UTC (6 years, 7 months ago) by matevz
File length: 42743 byte(s)
Diff to previous 23869
Take phi/theta from gPad in TGLPlotPainter constructor and use
them when setting camera rotation.

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: 42725 byte(s)
Diff to previous 23140
Remove trailing whitespace.

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: 42728 byte(s)
Diff to previous 22595
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 22595 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 11 16:15:27 2008 UTC (6 years, 10 months ago) by brun
Original Path: trunk/gl/src/TGLLegoPainter.cxx
File length: 42728 byte(s)
Diff to previous 22488
From Timur:
Palette drawing for "surf", "lego" and "glbox" options (eg. "glsurf1z", etc.)
Changes in texturing - linear interpolation of colors was removed, so contours are more "sharp"
now.

Revision 22488 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 6 16:04:47 2008 UTC (6 years, 10 months ago) by rdm
Original Path: trunk/gl/src/TGLLegoPainter.cxx
File length: 41826 byte(s)
Diff to previous 21453
remove first batch of warning reported by gcc 4.3:
- warning: suggest parentheses around && within ||
- warning: suggest explicit braces to avoid ambiguous if else

Revision 21453 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 18 15:18:30 2007 UTC (7 years, 1 month ago) by matevz
Original Path: trunk/gl/src/TGLLegoPainter.cxx
File length: 41805 byte(s)
Diff to previous 21231
Add missing class descriptions.

Revision 21231 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 6 15:22:14 2007 UTC (7 years, 1 month ago) by rdm
Original Path: trunk/gl/src/TGLLegoPainter.cxx
File length: 41595 byte(s)
Diff to previous 20882
change all occurances where %x is used to format a pointer to %lx.

Revision 20882 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 11:31:26 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/gl/src/TGLLegoPainter.cxx
File length: 41594 byte(s)
Diff to previous 20363
Set property svn:eol-style LF on all source and Makefiles. This should avoid
problems with Win32 line endings ending up in the repository. All MS tools
support LF eols fine.

Revision 20363 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 16 08:23:27 2007 UTC (7 years, 3 months ago) by brun
Original Path: trunk/gl/src/TGLLegoPainter.cxx
File length: 41594 byte(s)
Diff to previous 19826
From Timur:
Fix problem reported at: http://root.cern.ch/phpBB2/viewtopic.php?t=5595&sid=6404e6f8698a5d871642febd9bd0636a

Revision 19826 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:56:11 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/gl/src/TGLLegoPainter.cxx
File length: 41391 byte(s)
Diff to previous 19825
imported svn:keywords Id property

Revision 19825 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:49:10 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/gl/src/TGLLegoPainter.cxx
File length: 41448 byte(s)
Diff to previous 19153
remove :$ from tag line

Revision 19153 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 23 21:23:22 2007 UTC (7 years, 7 months ago) by brun
Original Path: trunk/gl/src/TGLLegoPainter.cxx
File length: 41458 byte(s)
Diff to previous 19000
From Matevz:
1. TGLViewer performs internal loop on pad-primitives.
2. Timur: generalization of gl-plot-painters to allow external access.
3. Support usage of gl-plot-painters in gl-viewer.
4. Provide a default gl-sharing context for resource optimization.

Revision 19000 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 11 19:56:34 2007 UTC (7 years, 7 months ago) by brun
Original Path: trunk/gl/src/TGLLegoPainter.cxx
File length: 41319 byte(s)
Diff to previous 17561
From Matevz:

Major restructuring of GL viewer-scene relationship (Matevz)
===================================================

The main idea was to generalize current GL infrustructure so that the
following features can be done in the future:

1. Full pad rendering via GL including 3D histo/func painters and 2D graphics.

2. Implementation of GL canvas (with independent viewers serving as pads).

3. Multi-view event-visualization front-end.

4. Inclusion of external scenes (non-ROOT-gl) in ROOT viewer.
   Rendering of ROOT scenes in external GL frameworks.


Changes on the code level
-------------------------

0. Extend current scene/viewer classes into a 2-level class hierarchy.
   New classes TGLViewerBase and TGLSceneBase.

1. Allow scenes to be shared among viewers. View-specific scene-cache
   needs to be kept at the viewer side.

2. Viewer now manages a list of scenes. It is possible to put together
   a combination of scenes (e.g. one showing geometry, another one tracks
   and yet another clusters). Each scene can define its own clipping object.

3. Provide API for fine-grained control over rendered object removal,
   creation and update. This allows for efficient scene-updates.

4. Disentangle selection, clipping and other markup objects from
   within viewer-scene singleton.
   New classes TGLClipSet, TGLManipSet.

6. Disentangle selection management.

7. Separate overlay rendering to allow any number of active GL-GUI
   elements (like manipulators are now).
   New classes TGLOverlayElement.

8. Trailing white space has been removed in all files.


Restructure low-level interface to OpenGL (Timur)
=========================================

1. Allow sharing GL resources among viewers.

2. Do not bind GL-output (windowed or offscreen) to ROOT GUI.

New classes TGLContext, TGLFormat, TGLWidget.

This oboletes TGLKernel and TVirtualGL classes.

Revision 17561 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 29 15:10:49 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/gl/src/TGLLegoPainter.cxx
File length: 41494 byte(s)
Diff to previous 17525
-Add include "TROOT.h" in all implementation files that were assuming
that TROOT was included via TClass.h


-In TClass.h:
 --Remove the include of TROOT.h
 --add the following static member
   static IdMap_t    *fgIdMap;          //Map from typeid to TClass pointer

 --add the following functions:
   static void           AddClass(TClass *cl);
   static void           RemoveClass(TClass *cl);

 --Replace the inline definitions of GetClass functions by
   template <typename T> TClass* GetClass(      T**       /* dummy */) { return GetClass((T*)0); }
   template <typename T> TClass* GetClass(const T**       /* dummy */) { return GetClass((T*)0); }

-In TClass.cxx:
 --Instead of forwarding the calls to gROOT->GetClass, move the code
  originally in TROOT in the TClass::GetClass functions
 --Move class TMapTypeToTClass from TROOT to TClass.

Revision 17525 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 26 14:06:54 2007 UTC (7 years, 11 months ago) by couet
Original Path: trunk/gl/src/TGLLegoPainter.cxx
File length: 41475 byte(s)
Diff to previous 16930
- From Timur:

1. TGLParametricEquation. New class to define parametric surface. It can be
   defined by a) three equation in a "string form" (mathematical expression,
   the same as TF2) and as a pointer to function.
2. TGLParametricPlot. Painter to draw parametric surface. It has most of
   features other gl-painters have - box cut, zooming etc. + 21 color
   "schemes": you can change the color of surface (which is under cursor)
   by pressing 's' or 'S' - the same as TGLTF3Painter + wireframe mode ('w' or
   'W' key - temporary solution).

Revision 16930 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 24 15:57:45 2006 UTC (8 years, 2 months ago) by couet
Original Path: trunk/gl/src/TGLLegoPainter.cxx
File length: 41864 byte(s)
Diff to previous 16875
- From Timur:
  User interactions with cut modification

Revision 16875 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 22 16:19:55 2006 UTC (8 years, 2 months ago) by couet
Original Path: trunk/gl/src/TGLLegoPainter.cxx
File length: 41814 byte(s)
Diff to previous 16607
- From Timur:
  Box cut added for TF3, surface and box painters. To activate it - press c. To
  move this box - select it (it's highligted when selected), press shift and left
  mouse button and move it. Box can move along one of axes - X/Y/Z. Direction is
  shown as a red line. To select direction - press X or Y or Z keys.

Revision 16607 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 24 14:20:41 2006 UTC (8 years, 3 months ago) by brun
Original Path: trunk/gl/src/TGLLegoPainter.cxx
File length: 41196 byte(s)
Diff to previous 16397
From Timur,
Extend the TVirtualGL interface to support 16 & 32 bit display mode.
This is required for the new slicing algorithm (eg to run the tutorial
glbox.C under Windows in 16 bits display mode)

Revision 16397 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 2 12:55:47 2006 UTC (8 years, 3 months ago) by couet
Original Path: trunk/gl/src/TGLLegoPainter.cxx
File length: 40576 byte(s)
Diff to previous 16183
From Timur:
-  Mods for box painter, adding dynamic slicing for TH3 hist.
   try $ROOTSYS/tutorials/glbox.C

Revision 16183 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 31 13:44:37 2006 UTC (8 years, 4 months ago) by couet
Original Path: trunk/gl/src/TGLLegoPainter.cxx
File length: 40526 byte(s)
Diff to previous 15467
From Timur:

New classes:

1.
TGLBoxPainter - implements "glbox" option for TH3, shows bin contents as
boxes, which sizes are proportional to bin content. "glbox1" is the same,
as previous, but with spheres instead of boxes. Slices (XOY/YOZ/XOZ)
are now drawn as sets of rectangles.

2.
TGLLegoPainter. Changes: removed all stuff, which works with gl
projections, modelview transformations, textures, etc.

3.
TGLPlotPainter. Added common parts of different painters:
generic Paint function, PlotSelected, etc.

4.
TGLOrthoCamera. Added operations, required by gl hist painters.

5.
TGLHistPainter. Class completely changed (previously known as
TGLPadHistPainter).

6.
TGLPlotBox. New class, draws back box for different kinds of plots,
highlights planes which are under cursor, makes some sizes calculations
(converts 3d into 2d coords) etc.

7.
TGLSurfacePainter. New class, for different surf options.
Supports cartesian, polar, cylindrical and spherical coords.
Slices (XOY, YOZ, XOZ), projections.

8.
TGLTF3. New class, draws TF3. No slices available now.

9.
TGLUtil. Added new auxilary classes
TGLLevelPalette, TGL2DArray, functions, required by different plot
painters,
TGLEnableGuard and TGLDisableGuard removed from RootGL namespace into
global namespace.

Revision 15467 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 19 09:10:25 2006 UTC (8 years, 7 months ago) by couet
Original Path: trunk/gl/src/TGLLegoPainter.cxx
File length: 63317 byte(s)
Diff to previous 15417
- From Timur:

TGLLegoPainter
   "e" option added for cartesian
   bar width/offset added for cartesian
TGLPlotPainter
   normals for trapezoids in polar/cylindrical/spherical
   coordinates are better now, so lego is "smoother".

Revision 15417 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 14 08:33:23 2006 UTC (8 years, 7 months ago) by couet
Original Path: trunk/gl/src/TGLLegoPainter.cxx
File length: 61757 byte(s)
Diff to previous 15406
- Add the proper cvs tags lines ($Id$ and Author) and the standard copyright
  notice.

Revision 15406 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue Jun 13 15:43:39 2006 UTC (8 years, 7 months ago) by couet
Original Path: trunk/gl/src/TGLLegoPainter.cxx
File length: 61021 byte(s)
From Timur:

TGLPadHistpainter/TGLAxisPainter/TGLLegoPainter - new hist-painter
infrastructure.

First version of TGLLegoPainter, the new class to support different types
of legos:
gl + lego(1)/lego2 + pol/cyl/sph
gl + lego3

TGLUtil : Small auxilary classes.

IMPORTANT: this lego painter is still experimantal and works only if
it's enabled in system.rootrc. By default, TGLHistPainter is used now.
To enable this new system the line:

Plugin.TGLHistPainter: * TGLHistPainter RGL "TGLHistPainter(TH1*)"

Must be replaced with

Plugin.TGLHistPainter: * TGLPadHistPainter RGL "TGLPadHistPainter(TH1*)"

in $ROOTSYS/etc/system.rootrc

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