[root] / trunk / graf2d / gpad / src / TViewer3DPad.cxx Repository:
ViewVC logotype

Log of /trunk/graf2d/gpad/src/TViewer3DPad.cxx

Parent Directory Parent Directory


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

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: 5392 byte(s)
Diff to previous 21346
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 21346 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 12 16:18:29 2007 UTC (7 years, 1 month ago) by couet
Original Path: trunk/gpad/src/TViewer3DPad.cxx
File length: 5392 byte(s)
Diff to previous 20882
- Class header

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/gpad/src/TViewer3DPad.cxx
File length: 5787 byte(s)
Diff to previous 19826
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 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/gpad/src/TViewer3DPad.cxx
File length: 5787 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/gpad/src/TViewer3DPad.cxx
File length: 5842 byte(s)
Diff to previous 17998
remove :$ from tag line

Revision 17998 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 18 14:58:56 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/gpad/src/TViewer3DPad.cxx
File length: 5852 byte(s)
Diff to previous 11866
-Replace all calls to the TView constructor by a call to the new static
function  TView::CreateView.

Revision 11866 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 25 14:25:17 2005 UTC (9 years, 8 months ago) by brun
Original Path: trunk/gpad/src/TViewer3DPad.cxx
File length: 5839 byte(s)
Diff to previous 11646
From Richard Maunder:
Major changes to GL viewer to support:

i) Logical/Physical shape pairings
ii) Level of detail (LOD) scheme (TGLSphere only using at present)
iii) Common display list cache
iv) Scene rebuilds for large geometries
v) Some basic interactivity improvements - draw timeouts, drop low LOD
shapes etc
vi) New camara interactions:

Left Mouse: Rotate
Middle Mouse: Truck (pan parallel to camera film plane)
Right Mouse: Side-side drag dolly/zoom
Double click any button to reset the camera.

The previous pan with arrow keys, and zoom on mouse wheel are still
supported.

Camera interaction is default in viewer. These extra camera modes mean
there are not enough mouse buttons for previous right context/select.
To select / invoke context menu use Shift+Left Button and Shift+Right
Button respectively.

Revision 11646 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 21 08:13:25 2005 UTC (9 years, 9 months ago) by brun
Original Path: trunk/gpad/src/TViewer3DPad.cxx
File length: 5820 byte(s)
Diff to previous 11542
From Richard Maunder:
Fix problem with pad zooming (j/k keys). Set AutoRange (frame) once on
TView at creation, not repeatedly each time TViewer3DPad draws via it.

Revision 11542 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 11 08:40:59 2005 UTC (9 years, 9 months ago) by brun
Original Path: trunk/gpad/src/TViewer3DPad.cxx
File length: 5912 byte(s)
Diff to previous 11479
From Richard Maunder:
 Added missing ClassImp/ClassDefs.

Revision 11479 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 4 07:06:32 2005 UTC (9 years, 9 months ago) by brun
Original Path: trunk/gpad/src/TViewer3DPad.cxx
File length: 5287 byte(s)
Diff to previous 11370
Move the dummy implementation of the following functions to TViewerPad3D.cxx
   virtual void   OpenComposite(const TBuffer3D & buffer, Bool_t * addChildren = 0);
   virtual void   CloseComposite();
   virtual void   AddCompositeOp(UInt_t operation);

Revision 11370 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 18 16:19:16 2005 UTC (9 years, 10 months ago) by brun
Original Path: trunk/gpad/src/TViewer3DPad.cxx
File length: 4713 byte(s)
Diff to previous 11365
From Richard:
 - modified TView to be perspective by default. Revert to
cartesian as in v1.3

Revision 11365 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 18 08:03:27 2005 UTC (9 years, 10 months ago) by brun
Original Path: trunk/gpad/src/TViewer3DPad.cxx
File length: 4716 byte(s)
Diff to previous 11305
From Richard:
Fixes for

i) Incorrect bounding boxes for g3d shapes and spheres in OGL viewer.
ii) Missed case of TGetCTub - cut tube. Now supported natively in OGL
viewer as before.

Revision 11305 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 11 17:22:21 2005 UTC (9 years, 10 months ago) by brun
Original Path: trunk/gpad/src/TViewer3DPad.cxx
File length: 4713 byte(s)
Diff to previous 11303
From Richard Maunder:
Incorrect TView projection settings - cartesian by default. Set to
perspective if TGeoPainter/TNode as required by 3D geometry.

x3d: Raise dialog if no valid content and shutdown the viewer again.

Revision 11303 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 11 15:02:43 2005 UTC (9 years, 10 months ago) by brun
Original Path: trunk/gpad/src/TViewer3DPad.cxx
File length: 4713 byte(s)
Diff to previous 11279
From Richard Maunder
Fixes to TViewer3DPad and TView creation - causing 3D histogram plots
etc in pad to be incorrectly scaled.

Also added brief class descriptions etc.

Revision 11279 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 10 14:06:44 2005 UTC (9 years, 10 months ago) by rdm
Original Path: trunk/gpad/src/TViewer3DPad.cxx
File length: 4133 byte(s)
Diff to previous 11272
added cvs tag lines.

Revision 11272 - (view) (download) (as text) (annotate) - [select for diffs]
Added Wed Mar 9 18:19:27 2005 UTC (9 years, 10 months ago) by brun
Original Path: trunk/gpad/src/TViewer3DPad.cxx
File length: 4076 byte(s)
From Richard Maunder:

Changes to viewer infrastructure (TBuffer3D,TVirtualViewer3D) to
support:

i) Proper shape specific (sphere, tube, etc) descriptions in TBuffer3D
derived classes - c.f. abuse of raw tesselation blocks before.
ii) On demand filling of buffer sections as required by viewer.
iii) Support for local/master frame shapes descriptions & child object
rejection.
iv) Template/placed shapes ids - enabling viewer to detect/receive
common shapes once and just obtain the new position and id of the
duplicate.

Cleans up all producer (g3d/geom) code so no longer has an viewer
specific knowledge - Paint() methods replaced with
GetBuffer3D/FillBuffer3D methods which complete requested sections of
the buffer.

All viewer specific code now sits on the viewer implementation side of
TVirtualViewer3D. Added a TViewer3DPad class for performing the 3D draws
into pad. In future this should be merged with TView/TView3D possibly.

TBuffer3D is now stripped of functional code (aside from memory
management) and various viewer passback options there previously.
Enforced one way passing a const & to viewer.

Buffers (various types) are held as single static inside producer
function e.g. TGeoShape::GetBuffer3D (c.f. single generic buffer type
fetched from pad previously).

For g3d and geom shapes the top level geometry painter (TNode /
TGeoPainter) controlls painting process, requesting shapes to fill
buffer and passing to 3D viewer.

Exceptions are g3d's TPolyLine3D, TPolyMarker3D & TMarker3DBox. These
are 'standalone' shapes - no controlling 'painter' object. They still
implement Paint(), fill buffer and add to viewer directly.

3D viewer still held / created by pad - and pad has it's own viewer
object (TViewer3DPad).

NOTE:

1. Current scheme supports one 3D viewer only - pad, x3d or OpenGL. This
means that pad goes blank when x3d/OGL is spawned, and is updated again
when it is closed. To be revisited - need to support multiple viewers,
of multiple types - which implies explicit naming or pad controlling
enumeration.

2. OGL viewer now responds correct to modifications in pad, without
having to be reinvoked (as previously). x3d is still decoupled (as
previously) so does not rebuild - too difficult to get working.

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