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

Log of /trunk/graf3d/gl/src/TGLScenePad.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: 25668 byte(s)
Diff to previous 36884
- From Timur:
  Fix the axis position and size when tree->Draw("x:y:z");
  is displayed in the GL viewer.

Revision 36884 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 23 17:52:08 2010 UTC (4 years, 2 months ago) by matevz
File length: 23042 byte(s)
Diff to previous 36384
Remove extra includes.

Revision 36384 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 20 14:26:41 2010 UTC (4 years, 3 months ago) by matevz
File length: 23276 byte(s)
Diff to previous 32334
Rewrite dynamic casts in sub-classes of TGLObject, SetModel() virtual,
so as to avoid complaints from coverity.

Revision 32334 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 12 11:52:13 2010 UTC (4 years, 11 months ago) by matevz
File length: 23134 byte(s)
Diff to previous 29526
* TGLScene
  Optimize DestroyPhysicals() by looping over logical shapes and destroying
  all assigned physical shapes via TGLLogicalShape::DestroyPhysicals().
  This significantly speeds-up full scene repaints when many replicas of the
  same logical volume are present (e.g. when showing geometry).
  Change signature -- remove unused arguments.

* TGLScenePad
  Modify for changed signature of TGLScene::DestroyPhysicals().

* TGLLogicalShape
  In DestroyPhysicals() set fFirstPhysical to null.
  This used to be only called from destructor.

* TGLCameraOverlay
  Mark a rare bug (existing before) -- requires further investigation.
  White-space changes.

Revision 29526 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 20 17:41:53 2009 UTC (5 years, 6 months ago) by matevz
File length: 23194 byte(s)
Diff to previous 28378
gl/
===
- Introduce common base class TGLPlot3D for wrappers over plot-painters.
- Move code for plot-painter instantiation from TGLScenePad to into TGLPlot3D.
- TGLAxisPainter - add option to use markup color from the current color-set
  instead of axis/label/title colors from TAttAxis.

eve/
====
- Add class TEvePlot3D - it wraps a TH2/TH3/TF2 object and draws it with
  given option string. TEveTrans can be applied over it - so the plot
  can be positioned/scaled to fit into a more complex scene.
- There are still problems with usage of depth-buffer in plot-painters so
  the plots overlay each other in somewhat random fashion.
- See tutorials/eve/test_glplot.C.

Revision 28378 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 28 15:40:53 2009 UTC (5 years, 8 months ago) by matevz
File length: 24329 byte(s)
Diff to previous 27471
TGLRnrCtx
- Add function ColorOrForeground(Color_t col) which sets given color
or falls back to default foregorund in col is the background color.

TGLFontManager
- Rewrite GetFontSize(Float_t size, Int_t min, Int_t max) to use
TMath::BinarySearch().
- Add function GetFontSize(Float_t size) that uses min, max from the
available font-sizes.

TGLAxisPainterBox
- New class for painting of 3D axes around a box.

TF2GL, TH2GL
- Use TGLAxisPainterBox for painting of axes.

TH3GL
- New class for rendering of TH3 objects.

TGLScenePad
- Proper handling of TH3.

TGLViewer
- When constructed with a given TPad, set background and foreground
colors accordingly.

TGLUtilColor
- Add cache-variable fIndex that makes it easier / more optimal to
compare and retrieve color-indices.

TGLCameraOverlay
- Use TGLFontManager::GetFontSize() without limits.

TGLParametricEquationGL
- Gray-space changes.

Revision 27471 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 18 09:36:09 2009 UTC (5 years, 11 months ago) by couet
File length: 24100 byte(s)
Diff to previous 27173
From Timur:
- TH3xxx classes inherit TAtt3D, and TH3, but not TH2.
  So, changes in TH2GL: inheritance from TH3 must be checked separately,
  changes in TGLScenePad: inheritance from TH3 must be checked.
- Some cosmetic in the comments.

Revision 27173 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 16 18:48:33 2009 UTC (6 years ago) by matevz
File length: 23841 byte(s)
Diff to previous 26367
TF2GL, TH2GL
------------
Disable GL_COLOR_MATERIAL before drawing the plotters.

TGLUtil
-------
Add function Move3LF().
Remove some redundant comments.

TGLScenePad
-----------
Add comment about how I'd expect the histograms to be resized (but can
not be done at the moment).

Revision 26367 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 21 18:08:30 2008 UTC (6 years, 2 months ago) by matevz
File length: 23367 byte(s)
Diff to previous 25477
Merge revisions 26280:26327 from the fireworks branch.

26281
=====
- TGLScenePad: replace static variable with a data-member. Fix comments.

26304
=====
- TEveProjectionAxesGL: fix index out of bounds error reported by valgrind.

26306
=====
- TGLScene, TGLScenePad: better comments, consistent whitespace.
- TEveElement: add method DestroyOrWarn(): original Destroy() method is exception throwing.
- TEveScene: delete GL-scene and pad in destructor; add ownership information to class-docs.
- TEveSceneList: add method DestroyScenes().
- TEveViewer: add ownership information to class-docs.
- TEveManager: delete scenes, scene-list, viewers and viewer-list in destructor.

26325
=====
TEveTrackPropagator: implement the following overrides of virtual functions:
 - TEveElement::CheckReferenceCount() - take into account references from TEveRefBackPtr;
 - TEveRefBackPtr::OnZeroRefCount()   - call CheckReferenceCount().

26327
=====
Remove trailing whitespace in eve/ and gl/.

Revision 25477 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 19 20:22:04 2008 UTC (6 years, 4 months ago) by matevz
File length: 23739 byte(s)
Diff to previous 23140
TEveGeoManagerHolder
--------------------
Allow to also specify n-segments to be set to current geo-manager.

TEveGeoShape
------------
Add member 'Int_t fNSegments' to be passed to geo-manager when
painting the shape.
When it is set, enforce filling of raw section of buffer3d.

TGLScenePad
-----------
When raw section of buffer3d is filled for natively supported shapes
(spheres and tubes) prefer the passed tessellation over native shapes.

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: 23152 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/src/TGLScenePad.cxx
File length: 23152 byte(s)
Diff to previous 20292
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 20292 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 10 14:08:48 2007 UTC (7 years, 3 months ago) by brun
Original Path: trunk/gl/src/TGLScenePad.cxx
File length: 23152 byte(s)
Diff to previous 19826
From Matevz & Alja

	* base/inc/TVirtualViewer3D.h:
	Add function virtual void ObjectPaint(TObject*, Option_t*).


/**************************************************************************/

	* ged/src/TGedEditor.cxx:
	When adding top-level TGFrame for the extra tabs specify layout
	hints with kLHintsExpandX.


/**************************************************************************/

	* gl/inc/TGLScenePad.h:
	* gl/src/TGLScenePad.cxx:
	Implement virtual TVirtualViewer3D::ObjectPaint().

	* gl/src/TGLCamera.cxx:
	* gl/inc/TGLCamera.h:	
	* gl/src/TGLPerspectiveCamera.cxx:
	* gl/inc/TGLPerspectiveCamera.h:	
	* gl/src/TGLOrthoCamera.cxx:
	* gl/inc/TGLOrthoCamera.h:
	Introduce two transformation matrices to clearly define movement
	of camera around the center point. The first transformation matrix
	fCamBase defines the coordinate system placed at the camera center
	point with camera up-vector as the third base vector. The second
	transformation matrix fCamTrans defines the camera transformation
	relative to fCamBase.

        Implement a common Truck(), Rotate() and Dolly() function for
	orthographic and perspective camera.

	Implement an option to define camera center point
	externally. Center can also be determined via picking.

	* gl/src/TGLUtil.cxx:
	* gl/inc/TGLUtil.h:
	TGLMatrix: add new functions to get/set the base vectors
	directly.

	TGLUtil: add member UInt_t fgDefaultDrawQuality.

	TGLRect: bugfix in Diagonal(), integer calculation overflowed.

	* gl/src/TGLViewer.cxx:
	* gl/inc/TGLViewer.h:
	Make interface to draw camera center point.
	Add option to disable/enable depth test when drawing axis guides. 

	* gl/src/TGLViewerEditor.cxx:
	* gl/inc/TGLViewerEditor.h:
	Add GUI to manipulate camera center and to disable/enable depth
	test when drawing axis guides.

	* gl/src/TGLClipSetEditor.cxx:
	Change layout of labeled number entries.

	* gl/src/TGLLightSet.cxx:
	Fix positioning of front light. White-space consolidation.

	* gl/src/TGLLightSetEditor.cxx:
	* gl/inc/TGLLightSetEditor.h:
        Put GUI for the 6 lights in two columns.


/**************************************************************************/

	* tutorials/gl/glViewerExercise.C:
	Follow-up on changes in TGLCamera. Enable rotation on
	orthographic camera.

	* tutorials/gl/glViewerLOD.C:
	Workourond for cint bug with switch statements.

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/TGLScenePad.cxx
File length: 23041 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/TGLScenePad.cxx
File length: 23093 byte(s)
Diff to previous 19643
remove :$ from tag line

Revision 19643 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 19 10:06:40 2007 UTC (7 years, 5 months ago) by rdm
Original Path: trunk/gl/src/TGLScenePad.cxx
File length: 23103 byte(s)
Diff to previous 19531
From Matevz:
Use Begin/EndUpdate() instead of repeating the code in Begin/EndScene().

Revision 19531 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 2 14:47:45 2007 UTC (7 years, 5 months ago) by rdm
Original Path: trunk/gl/src/TGLScenePad.cxx
File length: 23125 byte(s)
Diff to previous 19427
From Matevz:
Propagate smart-refresh state from viewer to scene-pad, fix usage of an
uninitialized variable.

Revision 19427 - (view) (download) (as text) (annotate) - [select for diffs]
Added Mon Jul 23 15:02:39 2007 UTC (7 years, 6 months ago) by rdm
Original Path: trunk/gl/src/TGLScenePad.cxx
File length: 22918 byte(s)
From Matevz:
New class - implements TVirtualViewer3D interface for filling of
GL-scenes from TPad. Code mostly moved from TGLViewer.

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