[root] / trunk / graf3d / g3d / src / TSPHE.cxx Repository:
ViewVC logotype

Log of /trunk/graf3d/g3d/src/TSPHE.cxx

Parent Directory Parent Directory


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

Revision 31635 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 8 10:35:17 2009 UTC (5 years, 1 month ago) by couet
File length: 15057 byte(s)
Diff to previous 23140
- Initialize members (coverity).

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: 15045 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/g3d/src/TSPHE.cxx
File length: 15045 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/g3d/src/TSPHE.cxx
File length: 15045 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/g3d/src/TSPHE.cxx
File length: 15093 byte(s)
Diff to previous 17728
remove :$ from tag line

Revision 17728 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 6 14:44:54 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/g3d/src/TSPHE.cxx
File length: 15103 byte(s)
Diff to previous 17306
In the Streamer functions replace the lines like
         TPad::Class()->ReadBuffer(b, this, v, R__s, R__c);
         TPad::Class()->WriteBuffer(b,this);
by
         b.ReadClassBuffer(TPad::Class(), this, v, R__s, R__c);
         b.WriteClassBuffer(TPad::Class(),this);

Revision 17306 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 12 16:03:17 2007 UTC (8 years ago) by brun
Original Path: trunk/g3d/src/TSPHE.cxx
File length: 15097 byte(s)
Diff to previous 14336
   TMath::Abs, TMath::Min, TMath::Max, TMath::Sign, TMath::Range
These functions are unfortunately not defined in a standard way in std::

This include is referenced by a new version of TMath.h.
As a result, TMath.h is back compatible with the previous version.

TMathBase.h is used in place of TMath.h in all the classes
that will go into the future miniCore library.
TMath.h and the TMath implementation will go into a new math sub-directory.

TString.h uses TMathBase.h instead of TMath.h.
As a result, it was necessary to include "TMath.h" in some classes
assuming that TMath was included via TString and using other functions
than the ones defined in TMathBase.h
 ----------------------------------------------------------------------

Revision 14336 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 20 21:43:44 2006 UTC (8 years, 10 months ago) by pcanal
Original Path: trunk/g3d/src/TSPHE.cxx
File length: 15077 byte(s)
Diff to previous 13351
Reduce direct dependencies on TClass.h, TROOT.h and TStreamerInfo.h.
Warning:  This means that some file that relied on the indirect
inclusion of these header file might now fail to compile with
an error message mention that gROOT is no known or that TClass,
TROOT or TStreamerInfo is incompletely defined.  Simply add the
proper include directive.

Revision 13351 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 24 17:28:07 2005 UTC (9 years, 2 months ago) by couet
Original Path: trunk/g3d/src/TSPHE.cxx
File length: 15056 byte(s)
Diff to previous 12939
- Coding conventions.

Revision 12939 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 12 14:55:09 2005 UTC (9 years, 3 months ago) by brun
Original Path: trunk/g3d/src/TSPHE.cxx
File length: 14965 byte(s)
Diff to previous 12559
From Richard:
Fix problem with g3d geometries in OGL viewer - logical ID was not being
correctly set on first attempt to add to viewer.

Revision 12559 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 30 09:11:39 2005 UTC (9 years, 4 months ago) by brun
Original Path: trunk/g3d/src/TSPHE.cxx
File length: 15776 byte(s)
Diff to previous 11866
Changes to make the rulechecker happy in directory g3d.

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/g3d/src/TSPHE.cxx
File length: 15776 byte(s)
Diff to previous 11365
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 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/g3d/src/TSPHE.cxx
File length: 15910 byte(s)
Diff to previous 11272
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 11272 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 9 18:19:27 2005 UTC (9 years, 10 months ago) by brun
Original Path: trunk/g3d/src/TSPHE.cxx
File length: 15771 byte(s)
Diff to previous 10454
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.

Revision 10454 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 2 16:55:20 2004 UTC (10 years, 2 months ago) by brun
Original Path: trunk/g3d/src/TSPHE.cxx
File length: 15338 byte(s)
Diff to previous 10047
From Olivier:
 In the OpenGL viewer, simple spheres are now drawn with the
  specialized OpenGL function gluSphere.

Revision 10047 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 14 15:56:15 2004 UTC (10 years, 4 months ago) by brun
Original Path: trunk/g3d/src/TSPHE.cxx
File length: 14492 byte(s)
Diff to previous 10043
Minor change in the color algorithm such that the previous behaviour of X3D
is not affected.

Revision 10043 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 14 15:15:46 2004 UTC (10 years, 4 months ago) by brun
Original Path: trunk/g3d/src/TSPHE.cxx
File length: 14464 byte(s)
Diff to previous 9692
Modify all the 3-d primitives to set the true color in the new data member
of TBuffer3D:;fColor. This color is now used directly by the GL viewer.

Revision 9692 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 9 15:22:28 2004 UTC (10 years, 5 months ago) by brun
Original Path: trunk/g3d/src/TSPHE.cxx
File length: 14459 byte(s)
Diff to previous 9665
From Timur Pocheptsov
Modified some old geometry classes to run with the new 3-D viewers

Revision 9665 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 3 16:01:19 2004 UTC (10 years, 5 months ago) by brun
Original Path: trunk/g3d/src/TSPHE.cxx
File length: 13466 byte(s)
Diff to previous 8332
From Olivier, Timur Pocheptsov , Andrei Gheata and Rene
Mega patch to introduce the new 3-d interface (to be described later).
The new interface has been tested with both X3D and OpenGL under Linux.
Being tested under Windows.
Note that several changes are expected in these classes (OpenGL in particular)
in the coming days.

Revision 8332 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 5 17:48:30 2004 UTC (10 years, 10 months ago) by brun
Original Path: trunk/g3d/src/TSPHE.cxx
File length: 16469 byte(s)
Diff to previous 6339
Memner fNdiv was potentially uninitialized when calling SetNumberOfDivisions
from the constructor with floats.

Revision 6339 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 21 20:57:05 2003 UTC (11 years, 10 months ago) by brun
Original Path: trunk/g3d/src/TSPHE.cxx
File length: 16448 byte(s)
Diff to previous 5557
Initialize fNdiv in the non-default constructor.
GetNumberOfDivisions returns directly fNdiv
(thanks Brett Viren)

Revision 5557 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 11 11:21:16 2002 UTC (12 years, 2 months ago) by brun
Original Path: trunk/g3d/src/TSPHE.cxx
File length: 16427 byte(s)
Diff to previous 2427
Remove unnecessary references to TView.h

Revision 2427 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 19 15:45:24 2001 UTC (13 years, 7 months ago) by brun
Original Path: trunk/g3d/src/TSPHE.cxx
File length: 16446 byte(s)
Diff to previous 1719
fNZ was not recomputed when reading (Streaming a TSPHE object).
the function SetNumberOfDivisions was called by Streamer, but this function returned
immediatly if fNdiv was equal to the argument.

Revision 1719 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 28 11:04:07 2001 UTC (13 years, 10 months ago) by brun
Original Path: trunk/g3d/src/TSPHE.cxx
File length: 16398 byte(s)
Diff to previous 985
More changes (hopefully last cleanup) introducing constness in the API.

Revision 985 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 21 20:51:23 2000 UTC (14 years, 2 months ago) by brun
Original Path: trunk/g3d/src/TSPHE.cxx
File length: 16395 byte(s)
Diff to previous 3
Function Streamer now in the implementation file.
Add code for the new automatic schema evolution algorithm

Revision 3 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 16 17:00:58 2000 UTC (14 years, 8 months ago) by rdm
Original Path: trunk/g3d/src/TSPHE.cxx
File length: 16438 byte(s)
Copied from: branches/rdm/g3d/src/TSPHE.cxx revision 2
Diff to previous 2
This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches.

Revision 2 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue May 16 17:00:58 2000 UTC (14 years, 8 months ago) by rdm
Original Path: branches/rdm/g3d/src/TSPHE.cxx
File length: 16438 byte(s)
Initial import of ROOT into CVS

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