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

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

Parent Directory Parent Directory


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

Revision 38817 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 13 09:32:44 2011 UTC (3 years, 9 months ago) by couet
File length: 23012 byte(s)
Diff to previous 36431
- From Timur:
  Fix the axis position and size when tree->Draw("x:y:z");
  is displayed in the GL viewer.

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: 20743 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: 20585 byte(s)
Diff to previous 33600
fix format errors related to TString::Form(), TString::Format(), Form()
and Printf().

Revision 33600 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 21 09:24:32 2010 UTC (4 years, 8 months ago) by rdm
File length: 20606 byte(s)
Diff to previous 33599
add svn:keyword Id.

Revision 33599 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 21 09:21:08 2010 UTC (4 years, 8 months ago) by rdm
File length: 20606 byte(s)
Diff to previous 30298
From Timur,
add missing svn Id line, author credit and copyright notice.

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: 20017 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: 19935 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: 19256 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: 19258 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: 19240 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: 19276 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/TGLBoxPainter.cxx
File length: 19276 byte(s)
Diff to previous 22548
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 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/src/TGLBoxPainter.cxx
File length: 17850 byte(s)
Diff to previous 22034
Fix coding convention violations.

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

Revision 22034 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 6 15:31:39 2008 UTC (6 years, 11 months ago) by couet
Original Path: trunk/gl/src/TGLBoxPainter.cxx
File length: 17874 byte(s)
Diff to previous 21992
- From Timur:
  * glbox - negative bins fixed, minus signs on negative bins were added.
  * tf3 - small fixes.

Revision 21992 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 5 13:53:10 2008 UTC (6 years, 11 months ago) by brun
Original Path: trunk/gl/src/TGLBoxPainter.cxx
File length: 14196 byte(s)
Diff to previous 21453
From Bertrand:
- Fix a typo causing the following warning on Windows:
  Warning: wrong member access operator '->' (0)

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/TGLBoxPainter.cxx
File length: 14194 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/TGLBoxPainter.cxx
File length: 14021 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/TGLBoxPainter.cxx
File length: 14020 byte(s)
Diff to previous 19153
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 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/TGLBoxPainter.cxx
File length: 14020 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/TGLBoxPainter.cxx
File length: 13851 byte(s)
Diff to previous 18963
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 18963 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 6 15:33:00 2007 UTC (7 years, 7 months ago) by brun
Original Path: trunk/gl/src/TGLBoxPainter.cxx
File length: 13863 byte(s)
Diff to previous 18426
From Timur:
1. This is experimental slicing for tf3.
2. Small fix in TGLHistPainter.
3. Small mods in TLGTH3Slice
4. small addition in gltf3 tutorial (commented by defualt) - nice "torus" shape instead of Klein.

Revision 18426 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 29 12:08:32 2007 UTC (7 years, 9 months ago) by couet
Original Path: trunk/gl/src/TGLBoxPainter.cxx
File length: 13862 byte(s)
Diff to previous 17525
- From Timur:
  First implementation of the 3D iso surfaces with GL. Example:

  {
     gStyle->SetCanvasPreferGL(true);
     TCanvas * canvas = new TCanvas("C","C",600,600);
     ntuple->Draw("px:py:pz>>h3");
     h3->SetContour(5);
     h3->Draw("gliso");
  }

  (Still needs improvments)

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/TGLBoxPainter.cxx
File length: 24981 byte(s)
Diff to previous 17355
- 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 17355 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 16 08:35:56 2007 UTC (8 years ago) by brun
Original Path: trunk/gl/src/TGLBoxPainter.cxx
File length: 25356 byte(s)
Diff to previous 17334
Remove dependency on TMath.h

Revision 17334 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 15 15:02:34 2007 UTC (8 years ago) by brun
Original Path: trunk/gl/src/TGLBoxPainter.cxx
File length: 25392 byte(s)
Diff to previous 16930
Add missing includes TROOT.h or TClass.h

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/TGLBoxPainter.cxx
File length: 25353 byte(s)
Diff to previous 16910
- From Timur:
  User interactions with cut modification

Revision 16910 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 24 10:45:13 2006 UTC (8 years, 2 months ago) by couet
Original Path: trunk/gl/src/TGLBoxPainter.cxx
File length: 25700 byte(s)
Diff to previous 16875
- From Timur:
  * Comments added.
  * Box movement fixed - box cannot leave plot's area now.
  * TF3 fixed (selection was incorrect after box cut stopped movement).

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/TGLBoxPainter.cxx
File length: 25292 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/TGLBoxPainter.cxx
File length: 24530 byte(s)
Diff to previous 16462
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 16462 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 6 09:44:57 2006 UTC (8 years, 3 months ago) by couet
Original Path: trunk/gl/src/TGLBoxPainter.cxx
File length: 24289 byte(s)
Diff to previous 16397
- coding conventions.

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/TGLBoxPainter.cxx
File length: 24134 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]
Added Thu Aug 31 13:44:37 2006 UTC (8 years, 4 months ago) by couet
Original Path: trunk/gl/src/TGLBoxPainter.cxx
File length: 19124 byte(s)
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.

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