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

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

Parent Directory Parent Directory


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

Revision 44507 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 4 12:30:41 2012 UTC (2 years, 7 months ago) by axel
File length: 25088 byte(s)
Diff to previous 35110
Remove
  using namespace std;
from Riostream.h, which has huge consequences for all of ROOT.
Riostream.h is now a simple wrapper for fstream, iostream, iomanip for backward compatibility; Riosfwd.h simply wraps iosfwd.

Because of templates and their inline functions, Riostream.h needed to be included in headers, too (e.g. TParameter.h), which violated the assumption that Riostream.h is not exposing its using namespace std to headers.
ROOT now requires R__ANSISTREAM, R__SSTREAM, which does not change the set of supported compilers.

Without "using namespace std", several identifiers are now prefixed by std::; e.g. roofit/* source files now have a using namespace std to keep their coding style.
TFile::MakeProject() now generates "using namespace std" to convert the CINT-style class names into C++ ones.

Revision 35110 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 1 15:45:48 2010 UTC (4 years, 4 months ago) by matevz
File length: 25003 byte(s)
Diff to previous 31652
Fix coverity warnings.

Revision 31652 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 8 13:17:57 2009 UTC (5 years, 1 month ago) by couet
File length: 25041 byte(s)
Diff to previous 31635
- initialize members (coverity)

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: 25013 byte(s)
Diff to previous 27157
- Initialize members (coverity).

Revision 27157 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 15 14:05:12 2009 UTC (6 years ago) by brun
File length: 24985 byte(s)
Diff to previous 23140
From Axel:
Replace all references to Text_t by char, still keeping the definition in Rtypes.h

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: 24991 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/TXTRU.cxx
File length: 24991 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/TXTRU.cxx
File length: 24991 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/TXTRU.cxx
File length: 25040 byte(s)
Diff to previous 17306
remove :$ from tag line

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/TXTRU.cxx
File length: 25050 byte(s)
Diff to previous 13351
   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 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/TXTRU.cxx
File length: 25030 byte(s)
Diff to previous 12559
- Coding conventions.

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/TXTRU.cxx
File length: 25002 byte(s)
Diff to previous 11272
Changes to make the rulechecker happy in directory g3d.

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/TXTRU.cxx
File length: 25002 byte(s)
Diff to previous 10556
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 10556 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 18 14:35:25 2004 UTC (10 years, 2 months ago) by brun
Original Path: trunk/g3d/src/TXTRU.cxx
File length: 24864 byte(s)
Diff to previous 10047
From Olivier:
- TXTRU::Paint is now like TGeoXtru::Paint. (to make it work with OpenGL)

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/TXTRU.cxx
File length: 26379 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/TXTRU.cxx
File length: 26352 byte(s)
Diff to previous 9665
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 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/TXTRU.cxx
File length: 26347 byte(s)
Diff to previous 5557
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 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/TXTRU.cxx
File length: 27526 byte(s)
Diff to previous 5518
Remove unnecessary references to TView.h

Revision 5518 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 31 07:27:37 2002 UTC (12 years, 2 months ago) by brun
Original Path: trunk/g3d/src/TXTRU.cxx
File length: 27545 byte(s)
Diff to previous 4560
Make const all Copy functions.
WARNING: If your class implements a Copy function deriving
from TObject or one of the ROOT classes, you must make
your Copy function const.

Revision 4560 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 17 20:33:15 2002 UTC (12 years, 8 months ago) by brun
Original Path: trunk/g3d/src/TXTRU.cxx
File length: 27538 byte(s)
Diff to previous 3748
Explicitly initialize base class in copy constructor (required on MAC OS X)

Revision 3748 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 24 11:39:31 2002 UTC (13 years ago) by rdm
Original Path: trunk/g3d/src/TXTRU.cxx
File length: 27522 byte(s)
Diff to previous 3742
rename IOSFwd.h and IOStream.h to Riosfwd.h and Riostream.h. The change
is necessary because on Windows which is case insensitive IOStream.h
hides the real iostream.h.

Revision 3742 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 23 17:52:52 2002 UTC (13 years ago) by rdm
Original Path: trunk/g3d/src/TXTRU.cxx
File length: 27522 byte(s)
Diff to previous 3629
use IOSFwd.h in headers instead of <iosfwd> or many other ifdef'ed variant
and IOStream.h in the source instead of <iostream[.h]>, <fstream[.h]> and
<iomanip[.h]>.

Revision 3629 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 9 17:14:32 2002 UTC (13 years ago) by brun
Original Path: trunk/g3d/src/TXTRU.cxx
File length: 27542 byte(s)
Diff to previous 3628
Remove more unused variables from TXTRU::Print

Revision 3628 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 9 17:05:02 2002 UTC (13 years ago) by brun
Original Path: trunk/g3d/src/TXTRU.cxx
File length: 27607 byte(s)
Diff to previous 2974
Remove unused variables

Revision 2974 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 4 16:52:47 2001 UTC (13 years, 3 months ago) by rdm
Original Path: trunk/g3d/src/TXTRU.cxx
File length: 27673 byte(s)
Diff to previous 2439
remove "const" qualifier from some non pointer and reference arguments.
When passing by value this qualifier is redundant and causes warnings in
the dictionary when CINT tries to cast to, e.g. a (const int).

Revision 2439 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 22 16:10:23 2001 UTC (13 years, 7 months ago) by rdm
Original Path: trunk/g3d/src/TXTRU.cxx
File length: 27685 byte(s)
Diff to previous 2136
make code more const char* correct (i.e. "strings" must be const char*) and
declare several functions extern "C". Mods by Dave Morrison.

Revision 2136 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 7 18:41:49 2001 UTC (13 years, 8 months ago) by rdm
Original Path: trunk/g3d/src/TXTRU.cxx
File length: 27653 byte(s)
Diff to previous 1205
additional MacOS X changes by Keisuke Fujii.

Revision 1205 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 13 15:13:57 2000 UTC (14 years, 1 month ago) by brun
Original Path: trunk/g3d/src/TXTRU.cxx
File length: 27697 byte(s)
Diff to previous 654
      W A R N I N G   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     ==================================================================
A very long list of changes in this pre-release of version 3.00.
We have modified the signature of many functions (in particular TObject)
to introduce more constness in the system.
You must change your code if your class derives from TObject and uses
one of the modified functions such as ls, Print, Compare, Hash, etc.
The modified functions in TObject have the following signature:
   virtual TObject    *Clone() const;
   virtual Int_t       Compare(const TObject *obj) const;
   virtual void        Delete(Option_t *option=""); // *MENU*
   virtual void        DrawClass() const; // *MENU*
   virtual void        DrawClone(Option_t *option="") const; // *MENU*
   virtual void        Dump() const; // *MENU*
   virtual TObject    *FindObject(const TObject *obj) const;
   virtual char       *GetObjectInfo(Int_t px, Int_t py) const;
   virtual ULong_t     Hash() const;
   virtual void        Inspect() const; // *MENU*
   virtual Bool_t      IsEqual(const TObject *obj) const;
   virtual void        ls(Option_t *option="") const;
   virtual void        Print(Option_t *option="") const;

A similar operation has been done with classes such as TH1, TVirtualPad,
TTree, etc.

Revision 654 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 14 07:03:44 2000 UTC (14 years, 4 months ago) by brun
Original Path: trunk/g3d/src/TXTRU.cxx
File length: 27691 byte(s)
Diff to previous 652
 minor changes to avoid some compiler warnings

Revision 652 - (view) (download) (as text) (annotate) - [select for diffs]
Added Thu Sep 14 06:30:19 2000 UTC (14 years, 4 months ago) by brun
Original Path: trunk/g3d/src/TXTRU.cxx
File length: 27700 byte(s)
A new shape has been introduced by Robert Hatcher.
// XTRU is an poly-extrusion with fixed outline shape in x-y,
// a sequence of z extents (segments) and two end faces perpendicular
// to the z axis.  The x-y outline is defined by an ordered list of
// points; the overall scale of the outline scales linearly between
// z points and the center can have an x-y offset specified
// at each segment end.

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