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

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

Parent Directory Parent Directory


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

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: 3689 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: 3689 byte(s)
Diff to previous 29714
From Timur,
add missing svn Id line, author credit and copyright notice.

Revision 29714 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 7 08:36:09 2009 UTC (5 years, 5 months ago) by brun
File length: 3100 byte(s)
Diff to previous 28517
From Timur:
New classes and mods to support analogue of "same" option for TH3 hists.

Revision 28517 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 11 12:23:45 2009 UTC (5 years, 8 months ago) by brun
File length: 3031 byte(s)
Diff to previous 28510
From Timur:
Implement new interface for 5-D

Revision 28510 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 11 07:52:29 2009 UTC (5 years, 8 months ago) by brun
File length: 2972 byte(s)
Diff to previous 28464
From Timur:
Small fix for gl-hist painters and two new classes - density estimator and TGL5D - to draw set of iso-surfaces.

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

Revision 25489 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 22 13:05:29 2008 UTC (6 years, 4 months ago) by brun
File length: 2906 byte(s)
Diff to previous 23140
From Lorenzo:
-move TVirtualFitter from core to mathcore.
-remove FitPanel method from THistPainter
-new plugins for Fumili and FitPanel. Use now plug-in manager to create FitPanel.

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: 2936 byte(s)
Diff to previous 20882
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 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/inc/TGLHistPainter.h
File length: 2936 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/inc/TGLHistPainter.h
File length: 2936 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/inc/TGLHistPainter.h
File length: 2843 byte(s)
Diff to previous 17525
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 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/inc/TGLHistPainter.h
File length: 2847 byte(s)
Diff to previous 16875
- 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 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/inc/TGLHistPainter.h
File length: 2717 byte(s)
Diff to previous 16183
- 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 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/inc/TGLHistPainter.h
File length: 2712 byte(s)
Diff to previous 15350
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 15350 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 6 11:49:01 2006 UTC (8 years, 7 months ago) by couet
Original Path: trunk/gl/inc/TGLHistPainter.h
File length: 6498 byte(s)
Diff to previous 14723
From Timur:

- Small changes, preparation for TGLHistPainter replacement/modification.

Revision 14723 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 18 06:58:59 2006 UTC (8 years, 9 months ago) by brun
Original Path: trunk/gl/inc/TGLHistPainter.h
File length: 6379 byte(s)
Diff to previous 14609
From Tim Tran (trimtran@jlab.org)
Full implementation of all cases of projections in TH3::ShowProjection3

Revision 14609 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 10 06:55:14 2006 UTC (8 years, 9 months ago) by brun
Original Path: trunk/gl/inc/TGLHistPainter.h
File length: 6363 byte(s)
Diff to previous 14379
-In TVirtualHistPainter.h replace the previous functions:
     virtual void       SetShowProjectionX() = 0;
     virtual void       SetShowProjectionY() = 0;
  by one single function working for TH2 and TH3
    virtual void       SetShowProjection(const char *option) = 0;

-In THistPainter add the following functions:
    virtual void       SetShowProjection(const char *option);
    virtual void       ShowProjectionX(Int_t px, Int_t py);
    virtual void       ShowProjectionY(Int_t px, Int_t py);
    virtual void       ShowProjection3(Int_t px, Int_t py);

-In THistPainter.cxx implement the new function
    void THistPainter::ShowProjection3(Int_t px, Int_t py)
        // Show projection (specified by fShowProjection) of a TH3
        // The drawing option for the projection is in fShowOption.

-In TH3, add the new function:
    void TH3::SetShowProjection(const char *option)
      // When the mouse is moved in a pad containing a 3-d view of this histogram
      // a second canvas shows a projection type given as option.
      // To stop the generation of the projections, delete the canvas
      // containing the projection.
      // option may contain a combination of the characters x,y,z,e
      // option = "x" return the x projection into a TH1D histogram
      // option = "y" return the y projection into a TH1D histogram
      // option = "z" return the z projection into a TH1D histogram
      // option = "xy" return the x versus y projection into a TH2D histogram
      // option = "yx" return the y versus x projection into a TH2D histogram
      // option = "xz" return the x versus z projection into a TH2D histogram
      // option = "zx" return the z versus x projection into a TH2D histogram
      // option = "yz" return the y versus z projection into a TH2D histogram
      // option = "zy" return the z versus y projection into a TH2D histogram
      // option can also include the drawing option for the projection, eg to draw
      // the xy projection using the draw option "box" do
      //   myhist.SetShowProjection("xy box");
      // This function is typically called from the context menu.

 Note that this function is only partially implemented. It works only for the option "xy".
 It is included in CVS as a framework for additional developments. see
       http://root.cern.ch/phpBB2/viewtopic.php?t=3289

Revision 14379 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 22 20:42:19 2006 UTC (8 years, 10 months ago) by brun
Original Path: trunk/gl/inc/TGLHistPainter.h
File length: 6384 byte(s)
Diff to previous 14357
Provide correct implementations of TVirtualHistPainter::SetShowProjectionX, Y functions

Revision 14357 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 21 15:40:56 2006 UTC (8 years, 10 months ago) by brun
Original Path: trunk/gl/inc/TGLHistPainter.h
File length: 6414 byte(s)
Diff to previous 14244
Add two new functions in TH2:
These new functions can be selected via the TH2 context menu.
They are a full implementation of the tutorial DynamicSlices.C

void TH2::SetShowProjectionX()
   // When the mouse is moved in a pad containing a 2-d view of this histogram
   // a second canvas shows the projection along X corresponding to the
   // mouse position along Y.
   // To stop the generation of the projections, delete the canvas
   // containing the projection.

void TH2::SetShowProjectionY()
   // When the mouse is moved in a pad containing a 2-d view of this histogram
   // a second canvas shows the projection along Y corresponding to the
   // mouse position along X.
   // To stop the generation of the projections, delete the canvas
   // containing the projection.

Revision 14244 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 13 15:04:58 2006 UTC (8 years, 10 months ago) by brun
Original Path: trunk/gl/inc/TGLHistPainter.h
File length: 6298 byte(s)
Diff to previous 14210
From Timur:
Small changes in TGLHistPainter to turn on/off gl-in-pad.

Revision 14210 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 9 11:18:31 2006 UTC (8 years, 10 months ago) by brun
Original Path: trunk/gl/inc/TGLHistPainter.h
File length: 6304 byte(s)
Diff to previous 14203
From Timur:
Panning in TGLHistPainter for win32 modified.

Revision 14203 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 8 21:09:43 2006 UTC (8 years, 10 months ago) by brun
Original Path: trunk/gl/inc/TGLHistPainter.h
File length: 6368 byte(s)
Diff to previous 14193
From Timur Pocheptsov:

-TGLPixmap - removed and replaced by TGLViewer (most of the TGLViewer
    functionality is available in pad now);
-TGLHistPainter - zooming/panning added for legoes/surfaces;
-TGLViewerEditor - TGLViewer's editor for pad (lights/clipping/guides
    manipulation).

-TRootCanvas :
  minor changes to support mouse wheel event in gl viewer in a pad

-TCanvas :
  a)changes to process keyboard events correctly
  b)changes to process mouse will events

-TVirtualViewer3D :
  changes in interface for TGLManager (win32 implementation of TGLManager
  requires some functions and cannot be dependant from TGLViewer)

-Added class TVirtualGLManipulator - base for TGLManip - again, required
 mostly by TGWin32GL.

Revision 14193 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 7 11:05:14 2006 UTC (8 years, 10 months ago) by couet
Original Path: trunk/gl/inc/TGLHistPainter.h
File length: 6103 byte(s)
Diff to previous 13999
- PS output for surfaces and lego plots using gl2ps

Revision 13999 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 7 14:18:46 2006 UTC (8 years, 11 months ago) by couet
Original Path: trunk/gl/inc/TGLHistPainter.h
File length: 6071 byte(s)
Diff to previous 13991
From Timur:

- Some mods for the rules checker

Revision 13991 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 6 16:15:13 2006 UTC (8 years, 11 months ago) by couet
Original Path: trunk/gl/inc/TGLHistPainter.h
File length: 6067 byte(s)
Diff to previous 13814
From Timur:

- Changes to replace rendering into DIB/pixmap with direct rendering
  (result will be read into pixmap/DIB and used by pad)

Revision 13814 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 10 16:34:07 2006 UTC (9 years ago) by couet
Original Path: trunk/gl/inc/TGLHistPainter.h
File length: 6029 byte(s)
Diff to previous 13649
From Timur:

- TF3 can be drawn using GL in Pad. See examples gltf3.C and glsurfaces.C

Revision 13649 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 12 13:40:02 2005 UTC (9 years, 1 month ago) by couet
Original Path: trunk/gl/inc/TGLHistPainter.h
File length: 7021 byte(s)
Diff to previous 13647
From Timur:
- New option LEGO2

Revision 13647 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 12 12:30:27 2005 UTC (9 years, 1 month ago) by couet
Original Path: trunk/gl/inc/TGLHistPainter.h
File length: 6697 byte(s)
Diff to previous 13501
From Timur:

- Small change: removed fTable and replace it with fX fY members.

Revision 13501 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 6 14:24:08 2005 UTC (9 years, 1 month ago) by brun
Original Path: trunk/gl/inc/TGLHistPainter.h
File length: 6697 byte(s)
Diff to previous 13389
From Timur:
Update for the surf1 and surf2 options

Revision 13389 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 29 09:25:51 2005 UTC (9 years, 1 month ago) by couet
Original Path: trunk/gl/inc/TGLHistPainter.h
File length: 5996 byte(s)
Diff to previous 13273
From Timur:
- Coding conventions fixes

Revision 13273 - (view) (download) (as text) (annotate) - [select for diffs]
Added Thu Nov 17 14:38:56 2005 UTC (9 years, 2 months ago) by couet
Original Path: trunk/gl/inc/TGLHistPainter.h
File length: 5978 byte(s)
From Timur:
- New class allowing to paint legos and surfaces in a TPad using OpenGL

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