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

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

Parent Directory Parent Directory


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

Revision 31722 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 9 10:55:00 2009 UTC (5 years, 1 month ago) by couet
File length: 7761 byte(s)
Diff to previous 25088
- initialize members (coverity)

Revision 25088 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 8 06:59:01 2008 UTC (6 years, 5 months ago) by brun
File length: 7741 byte(s)
Diff to previous 23140
Remove redundant code.

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: 7844 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/TShape.cxx
File length: 7844 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/TShape.cxx
File length: 7844 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/TShape.cxx
File length: 7893 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/TShape.cxx
File length: 7903 byte(s)
Diff to previous 17458
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 17458 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 23 09:55:51 2007 UTC (8 years ago) by brun
Original Path: trunk/g3d/src/TShape.cxx
File length: 7895 byte(s)
Diff to previous 17306
Remove dependency from TFile (thanks to new function TBuffer::GetVersionOwner)
This changes removes all dependencies on the I/O system from directory g3d.

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/TShape.cxx
File length: 7966 byte(s)
Diff to previous 15169
   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 15169 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 24 15:31:40 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/g3d/src/TShape.cxx
File length: 7947 byte(s)
Diff to previous 15134
Fix coding conventions violations

Revision 15134 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 23 04:47:42 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/g3d/src/TShape.cxx
File length: 7888 byte(s)
Diff to previous 14336
From Federico Carminati:

"I have implemented all copy and equal operators needed to silence all
warnings in AliRoot, as requested. I have implemented shallow copies as
would do the default operators synthetized by the compiler.
Most operators are protected. If users complain, you just have to move
them into the public area, but class derivation is of course supported.
It has been a terrible job, I have modified 278 files, but the changes
are backward compabile, and this goes a long way to permitting user to
use the effc++ flag with root headers."

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/TShape.cxx
File length: 7251 byte(s)
Diff to previous 14095
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 14095 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 23 15:29:27 2006 UTC (8 years, 11 months ago) by couet
Original Path: trunk/g3d/src/TShape.cxx
File length: 7231 byte(s)
Diff to previous 13351
- TShape::Paint was dummy. This method is not needed for TShapes sitting in a
  TNode. But having it dummy prevent the TShapes outside a TNode to be painte.
  The following example shows the problem:

  {
    c1 = new TCanvas("c1","Geometry Shapes",200,10,700,500);
    view = new TView(1);
    view->SetRange(-200,-200,-200,200,200,200);
    brik = new TBRIK("BRIK","BRIK","void",200,150,150);
    brik->SetLineColor(kRed);
    brik->Draw();
    c1->Update();
 }

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/TShape.cxx
File length: 7014 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/TShape.cxx
File length: 6900 byte(s)
Diff to previous 12628
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 12628 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 4 14:53:18 2005 UTC (9 years, 4 months ago) by brun
Original Path: trunk/g3d/src/TShape.cxx
File length: 6677 byte(s)
Diff to previous 11301
Fix coding conventions violations.

Revision 11301 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 11 11:44:25 2005 UTC (9 years, 10 months ago) by brun
Original Path: trunk/g3d/src/TShape.cxx
File length: 6667 byte(s)
Diff to previous 11272
From Richard Maunder:
Remove enforcing of pure virtual GetBuffer3D, and move SetPoints back to
original definition to avoid external dep. problems.

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/TShape.cxx
File length: 6086 byte(s)
Diff to previous 9665
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 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/TShape.cxx
File length: 5082 byte(s)
Diff to previous 7147
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 7147 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Aug 23 00:08:13 2003 UTC (11 years, 5 months ago) by rdm
Original Path: trunk/g3d/src/TShape.cxx
File length: 6862 byte(s)
Diff to previous 7139
revert most cast issues reported by buggy gcc 3.4 snapshot of this week.
Checked with gcc 3.4 from cvs of today which does not report any
problems anymore.

Revision 7139 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 22 13:00:06 2003 UTC (11 years, 5 months ago) by brun
Original Path: trunk/g3d/src/TShape.cxx
File length: 6863 byte(s)
Diff to previous 3838
several fixes to avoid warnings with gcc3.4 when calling TMath::Sqrt.
explicit cast is required.

Revision 3838 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 2 11:56:14 2002 UTC (12 years, 11 months ago) by brun
Original Path: trunk/g3d/src/TShape.cxx
File length: 6862 byte(s)
Diff to previous 943
Replace gFile by the TBuffer::GetParent()

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

Protection against gGeomtry=0 (may happen with Clone).

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/TShape.cxx
File length: 6752 byte(s)
Copied from: branches/rdm/g3d/src/TShape.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/TShape.cxx
File length: 6752 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