[root] / trunk / graf2d / graf / src / TPolyLine.cxx Repository:
ViewVC logotype

Log of /trunk/graf2d/graf/src/TPolyLine.cxx

Parent Directory Parent Directory


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

Revision 48425 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 25 19:44:53 2013 UTC (23 months, 4 weeks ago) by pcanal
File length: 22956 byte(s)
Diff to previous 44507
Be more consistent with declartion in SavePrimitive

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: 22953 byte(s)
Diff to previous 43961
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 43961 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 26 13:35:34 2012 UTC (2 years, 8 months ago) by couet
File length: 22923 byte(s)
Diff to previous 37753
Protection added in Execute:Event in case somebody double click on a 
TPolyLine.

Revision 37753 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 10 13:28:24 2011 UTC (4 years ago) by couet
File length: 22862 byte(s)
Diff to previous 36100
- Fix coverity #11176: UNINIT_CTOR

Revision 36100 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 6 08:17:12 2010 UTC (4 years, 3 months ago) by brun
File length: 22840 byte(s)
Diff to previous 36081
Better fix in TPolyLine::Merge

Revision 36081 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 5 11:08:32 2010 UTC (4 years, 3 months ago) by brun
File length: 22835 byte(s)
Diff to previous 36050
Fix previous wrong fix for coverity CID 21813

Revision 36050 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 4 08:46:30 2010 UTC (4 years, 3 months ago) by couet
File length: 22849 byte(s)
Diff to previous 35163
- cov #11756

Revision 35163 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 6 10:39:25 2010 UTC (4 years, 4 months ago) by couet
File length: 22827 byte(s)
Diff to previous 30542
- init missing (coverity)

Revision 30542 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 2 08:01:52 2009 UTC (5 years, 3 months ago) by couet
File length: 22796 byte(s)
Diff to previous 23140
- Improve help

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: 21825 byte(s)
Diff to previous 21884
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 21884 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 28 17:01:42 2008 UTC (6 years, 11 months ago) by couet
Original Path: trunk/graf/src/TPolyLine.cxx
File length: 21825 byte(s)
Diff to previous 20882
- Implement the possibility to draw TPolyLine in NDC coordinates (it was 
  partially done but the code was not used).

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/graf/src/TPolyLine.cxx
File length: 21374 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/graf/src/TPolyLine.cxx
File length: 21374 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/graf/src/TPolyLine.cxx
File length: 21426 byte(s)
Diff to previous 17727
remove :$ from tag line

Revision 17727 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 6 14:35:45 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/graf/src/TPolyLine.cxx
File length: 21436 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/graf/src/TPolyLine.cxx
File length: 21428 byte(s)
Diff to previous 15742
   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 15742 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 9 05:27:55 2006 UTC (8 years, 6 months ago) by brun
Original Path: trunk/graf/src/TPolyLine.cxx
File length: 21409 byte(s)
Diff to previous 15672
From Eddy:
Fix many typos in comments

Revision 15672 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 3 16:10:46 2006 UTC (8 years, 6 months ago) by brun
Original Path: trunk/graf/src/TPolyLine.cxx
File length: 21404 byte(s)
Diff to previous 15171
from Axel:
Change the signature of SavePrimitive from

  void SavePrimitive(ofstream &out, Option_t *option);
to
  void SavePrimitive(ostream &out, Option_t *option = "");

With this change one can do, eg
   myhist.SavePrimitive(std::cout);

WARNING: do rm -f tree/src/*.o

Revision 15171 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 24 16:44:33 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/graf/src/TPolyLine.cxx
File length: 21396 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/graf/src/TPolyLine.cxx
File length: 21364 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/graf/src/TPolyLine.cxx
File length: 20998 byte(s)
Diff to previous 14060
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 14060 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 18 12:40:22 2006 UTC (8 years, 11 months ago) by brun
Original Path: trunk/graf/src/TPolyLine.cxx
File length: 20979 byte(s)
Diff to previous 13304
Protect TPolyLine::DistancetoPrimitive in case of a polyline
with 0 points.

Revision 13304 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 21 13:57:42 2005 UTC (9 years, 2 months ago) by couet
Original Path: trunk/graf/src/TPolyLine.cxx
File length: 20941 byte(s)
Diff to previous 12551
- Last mods (in graf) to make the rules checker happy.

Revision 12551 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 29 14:43:30 2005 UTC (9 years, 4 months ago) by brun
Original Path: trunk/graf/src/TPolyLine.cxx
File length: 22465 byte(s)
Diff to previous 11813
hanges to make the rulechecker happy in directory graf
(except TGaxis and TGraph)

Revision 11813 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 18 12:31:10 2005 UTC (9 years, 8 months ago) by brun
Original Path: trunk/graf/src/TPolyLine.cxx
File length: 22465 byte(s)
Diff to previous 10859
From Valeriy Onuchin:

this patch fixes all compilation problems for
ROOT under windows with VC6 compiler.

- The main problem is that VC6 compiler does not recognize
"long long" type in rootcint generated dictionaries,
To fix this, wherever "long long" type was writen in dictionary file it was
replaced with native win32 "long long" type_string "__int64".
Modified files are: cint/src/val2a.c, cint/src/newlink.c, cint/src/Class.cxx

Other changes:
- many  classes contained "list" variables.
  That produced name_clash with  std::list class name.
- many classes contained
 for (int i=0; ..) {..}
 for (int i=0; ..) {..}
 which caused "duplication of initialisation" bug.

- gl/src/CsgOps.cxx had outside declared templated parameter used inside
  internal function.
- TString Atoi, Atof - std namespace was removed.

_ TASimage - custom Streamer was changed. Reading/writing class version
   was added. That allows to keep "future compatibility"/"schema evolution"
   Demo files galaxy.root, gallery.root were rewritten.

- I rolled back changes in TGPicture class which are related to reading
   of XPM files because of problems under win32.

- TASImage::GetMask method was reimplemented.

- libAfterImage.tar.gz - fix all compilation problem under win32 (vc6)

Revision 10859 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 3 10:49:58 2005 UTC (10 years ago) by brun
Original Path: trunk/graf/src/TPolyLine.cxx
File length: 22471 byte(s)
Diff to previous 10765
Add support for lin/log scales in TPolyLine and TPolyMarker.
Implement TPolyMarker::DistancetoPrimitive.

Revision 10765 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 13 16:56:22 2004 UTC (10 years, 1 month ago) by brun
Original Path: trunk/graf/src/TPolyLine.cxx
File length: 22098 byte(s)
Diff to previous 10764
In case the first argument is null delete the previous arrays of points.

Protect the copy constructor against a number of points null.

Revision 10764 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 13 16:32:00 2004 UTC (10 years, 1 month ago) by brun
Original Path: trunk/graf/src/TPolyLine.cxx
File length: 21991 byte(s)
Diff to previous 8750
Modify TPolyMarker::Set and TPolyLine::Set functions.
In case the first argument 'n" is <= 0 the current arrays X and Y are deleted.

Revision 8750 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 30 06:34:58 2004 UTC (10 years, 8 months ago) by brun
Original Path: trunk/graf/src/TPolyLine.cxx
File length: 21161 byte(s)
Diff to previous 7510
From Otto Schaile
a better implementation of TPolyLine::SetPolyLine that fixes a problem with the
derived class TCurlyLine

Revision 7510 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Nov 2 10:32:17 2003 UTC (11 years, 2 months ago) by brun
Original Path: trunk/graf/src/TPolyLine.cxx
File length: 21062 byte(s)
Diff to previous 5545
Modify TPolyLine::DistancetoPrimitive to support the case of a filled and closed
polyline. In this case the object is picked when the mouse is inside
the polygone, otherwise the object is picked only when the mouse is closed
to one of lines of the polyline.

Revision 5545 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 5 16:09:15 2002 UTC (12 years, 2 months ago) by brun
Original Path: trunk/graf/src/TPolyLine.cxx
File length: 20791 byte(s)
Diff to previous 5518
Add some comments and an example of a pad with the contour of
a polyline and also its fill area.

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/graf/src/TPolyLine.cxx
File length: 20446 byte(s)
Diff to previous 4564
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 4564 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 18 08:22:01 2002 UTC (12 years, 8 months ago) by brun
Original Path: trunk/graf/src/TPolyLine.cxx
File length: 20439 byte(s)
Diff to previous 3961
Add explicit calls to the base classes copy constructors in the copy constructors.
This is required by gcc on MacOS X

Revision 3961 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 12 17:40:15 2002 UTC (12 years, 11 months ago) by rdm
Original Path: trunk/graf/src/TPolyLine.cxx
File length: 20379 byte(s)
Diff to previous 3748
Set fLastPoint correctly in Double_t ctor.

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/graf/src/TPolyLine.cxx
File length: 20359 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/graf/src/TPolyLine.cxx
File length: 20358 byte(s)
Diff to previous 3713
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 3713 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 20 10:06:38 2002 UTC (13 years ago) by brun
Original Path: trunk/graf/src/TPolyLine.cxx
File length: 20407 byte(s)
Diff to previous 3674
Add new data member fLastPoint.
Add the following new functions:
   virtual Int_t   GetLastPoint() const { return fLastPoint;}
   virtual Int_t   Merge(TCollection *list);
   virtual Int_t   SetNextPoint(Double_t x, Double_t y); // *MENU*
   virtual void    SetPolyLine(Int_t n);
   virtual void    SetPolyLine(Int_t n, Float_t *x, Float_t *y,
                               Option_t *option="");
   virtual void    SetPolyLine(Int_t n, Double_t *x, Double_t *y3,
                               Option_t *option="");
   virtual Int_t   Size() const {return fLastPoint+1;}

Revision 3674 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 15 15:40:01 2002 UTC (13 years ago) by brun
Original Path: trunk/graf/src/TPolyLine.cxx
File length: 17909 byte(s)
Diff to previous 2346
In SavePrimitive, save the draw option.

Revision 2346 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 31 21:36:22 2001 UTC (13 years, 7 months ago) by brun
Original Path: trunk/graf/src/TPolyLine.cxx
File length: 17870 byte(s)
Diff to previous 1940
In case TPolyLine::SetOption hasbeen called and the Draw function
is called with a blank option, the internal fOption is used.

Revision 1940 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 10 06:25:13 2001 UTC (13 years, 9 months ago) by brun
Original Path: trunk/graf/src/TPolyLine.cxx
File length: 17776 byte(s)
Diff to previous 1205
Set the number of points fN=0 in the default constructor.
Objects of these classes created via the default constructor crashed when drawing.
(thanks to Robert Hatcher for reporting).

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/graf/src/TPolyLine.cxx
File length: 17765 byte(s)
Diff to previous 985
      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 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/graf/src/TPolyLine.cxx
File length: 17753 byte(s)
Diff to previous 568
Function Streamer now in the implementation file.
Add code for the new automatic schema evolution algorithm

Revision 568 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 5 09:21:24 2000 UTC (14 years, 4 months ago) by brun
Original Path: trunk/graf/src/TPolyLine.cxx
File length: 17896 byte(s)
Diff to previous 162
The following headers and classes have been modified to take into account;
  - the new signature of IsFolder (now const)
  - the new TObject::FindObject
  - the fact that the static functions of TObject have been moved to TROOT.

Revision 162 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 13 11:16:56 2000 UTC (14 years, 7 months ago) by brun
Original Path: trunk/graf/src/TPolyLine.cxx
File length: 17892 byte(s)
Diff to previous 3
- Mods in TPolyline: Upgrade from Float_t to Double_t
  The members (arrays of coordinates) fX and fY upgraded to Double_t.
  New signature for the following functions:
        TPolyLine(Int_t n, Double_t *x, Double_t *y, Option_t *option="");
        virtual void    DrawPolyLine(Int_t n, Double_t *x, Double_t *y, Option_t *option="");
        Double_t       *GetX() {return fX;}
        Double_t       *GetY() {return fY;}
        virtual void    PaintPolyLine(Int_t n, Double_t *x, Double_t *y, Option_t *option="");
        virtual void    PaintPolyLineNDC(Int_t n, Double_t *x, Double_t *y, Option_t *option="");
        virtual void    SetPoint(Int_t point, Double_t x, Double_t y); // *MENU*
        virtual void    SetPolyLine(Int_t n, Double_t *x=0, Double_t *y=0, Option_t *option="");

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/graf/src/TPolyLine.cxx
File length: 17005 byte(s)
Copied from: branches/rdm/graf/src/TPolyLine.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/graf/src/TPolyLine.cxx
File length: 17005 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