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

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

Parent Directory Parent Directory


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

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: 24908 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: 24946 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: 24946 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: 24357 byte(s)
Diff to previous 29602
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 29602 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 28 10:23:20 2009 UTC (5 years, 5 months ago) by brun
File length: 25301 byte(s)
Diff to previous 28464
From Timur:
-Add new gui for "gl5d" - modifications in TGL5DDataSetPainter.
-New class TKDEAdapter - to instantiate TGLMarchingCubes
 for kernel density estimator as a data source.
-TGL5D - TGL5DPainter removed into its own TGL5DPainter.h/.cxx files.
-TGL5D - modified to convert data into unit cube.
-TKDEFGT - specialized version of BuildModel added
 to work with TGL5DDataSet (to avoid copying of data from TTree).
-TGLTF3Painter - mesh drawing functions were removed.
-TGLIsoMesh.cxx added - auxilary mesh drawing functions are here now.

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: 30361 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: 28941 byte(s)
Diff to previous 27091
Move code for plot-painter camera out of TGLOrthoCamera and put it
into a new class TGLPlotCamera.

Revision 27091 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 6 10:21:56 2009 UTC (6 years ago) by brun
File length: 28944 byte(s)
Diff to previous 27090
Fix some compiler warnings

Revision 27090 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 6 10:09:43 2009 UTC (6 years ago) by brun
File length: 28926 byte(s)
Diff to previous 23140
From Timur:
TGLTF3Painter.h/.cxx
1. Marching cubes algoritm removed from TGLTF3Painter and TGLIsoPainter.
2. Iso-surface representation replaced by TIsoMesh class.
3. Functions to draw TIsoMesh with different options were added.
4. Due to several bugs (inherent and lately acquired) slicing was temporarily
disabled in TF3 and iso (fix will follow ASAP).

TGLIsoMesh.h
5. Mesh for iso-surface - set of vertices, normals, triangles.

TGLMarchingCubes.h/.cxx
6. New classes implementing marching cubes algorithm were introduced:
TCell and TSlice classes to reduce number of calculations ("Eval" for TF3 and future 
local density estimator). TMeshBuilder is new implementation of marching cubes algorithm.
TMeshBuilder - mesh builder class, based on marching cubes algoritm.

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: 68784 byte(s)
Diff to previous 22034
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 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/TGLTF3Painter.cxx
File length: 68784 byte(s)
Diff to previous 21702
- From Timur:
  * glbox - negative bins fixed, minus signs on negative bins were added.
  * tf3 - small fixes.

Revision 21702 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 14 18:55:14 2008 UTC (7 years ago) by matevz
Original Path: trunk/gl/src/TGLTF3Painter.cxx
File length: 68806 byte(s)
Diff to previous 21453
In TGLScene/TGLViewer add two timeouts for high-quality and
low-quality (during rotation etc) scene rendering. Expose both time
limits via TGLViewerEditor.

In TGLCamera::OfInterest() remove redundant test for physical-shape
bbox volume and optimize the remaining bbox diagonal length test.

Remove blanks from the eols.

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/TGLTF3Painter.cxx
File length: 68807 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/TGLTF3Painter.cxx
File length: 68626 byte(s)
Diff to previous 20962
change all occurances where %x is used to format a pointer to %lx.

Revision 20962 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 21 15:48:57 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/gl/src/TGLTF3Painter.cxx
File length: 68624 byte(s)
Diff to previous 20893
Fix gcc 4.2 compiler warnings.

Revision 20893 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 13:36:36 2007 UTC (7 years, 2 months ago) by couet
Original Path: trunk/gl/src/TGLTF3Painter.cxx
File length: 68571 byte(s)
Diff to previous 20882
- Fix compilation's warning on Solaris.

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/TGLTF3Painter.cxx
File length: 68555 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/TGLTF3Painter.cxx
File length: 68555 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/TGLTF3Painter.cxx
File length: 68303 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/TGLTF3Painter.cxx
File length: 68664 byte(s)
Diff to previous 18487
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 18487 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 10 13:23:08 2007 UTC (7 years, 9 months ago) by couet
Original Path: trunk/gl/src/TGLTF3Painter.cxx
File length: 65933 byte(s)
Diff to previous 18426
- From Timur:
  Fix a scaling problem.

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/TGLTF3Painter.cxx
File length: 65933 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/TGLTF3Painter.cxx
File length: 37841 byte(s)
Diff to previous 17334
- 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 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/TGLTF3Painter.cxx
File length: 38242 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/TGLTF3Painter.cxx
File length: 38223 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/TGLTF3Painter.cxx
File length: 38604 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/TGLTF3Painter.cxx
File length: 38571 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/TGLTF3Painter.cxx
File length: 33088 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/TGLTF3Painter.cxx
File length: 33064 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/TGLTF3Painter.cxx
File length: 33058 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