Log of /trunk/graf3d/gl/inc/TGLHistPainter.h
Parent Directory
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
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
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
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
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.
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.