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

Log of /trunk/graf3d/g3d/src/TAxis3D.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: 24221 byte(s)
Diff to previous 36245
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 36245 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 10 10:07:28 2010 UTC (4 years, 3 months ago) by brun
File length: 24216 byte(s)
Diff to previous 35110
use strlcpy, strlcat

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: 24192 byte(s)
Diff to previous 34858
Fix coverity warnings.

Revision 34858 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 19 10:40:02 2010 UTC (4 years, 5 months ago) by brun
File length: 24191 byte(s)
Diff to previous 23140
Add several protections when calling the function AxisChoice

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: 23974 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/TAxis3D.cxx
File length: 23974 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/TAxis3D.cxx
File length: 23974 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/TAxis3D.cxx
File length: 24024 byte(s)
Diff to previous 17612
remove :$ from tag line

Revision 17612 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 1 14:58:44 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/g3d/src/TAxis3D.cxx
File length: 24034 byte(s)
Diff to previous 17358
Use a forward declaration of TList instead of including TList.h

Revision 17358 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 16 09:37:03 2007 UTC (8 years ago) by brun
Original Path: trunk/g3d/src/TAxis3D.cxx
File length: 24015 byte(s)
Diff to previous 17306
Remove dependencies on TROOT.h

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/TAxis3D.cxx
File length: 24033 byte(s)
Diff to previous 15763
   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 15763 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 11 09:05:02 2006 UTC (8 years, 6 months ago) by rdm
Original Path: trunk/g3d/src/TAxis3D.cxx
File length: 24015 byte(s)
Diff to previous 15672
correct a number of incorrect and/or ambiguous license statements.

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/g3d/src/TAxis3D.cxx
File length: 24670 byte(s)
Diff to previous 13351
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 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/TAxis3D.cxx
File length: 24661 byte(s)
Diff to previous 12688
- Coding conventions.

Revision 12688 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 8 14:22:17 2005 UTC (9 years, 4 months ago) by brun
Original Path: trunk/g3d/src/TAxis3D.cxx
File length: 25087 byte(s)
Diff to previous 12559
From Ilka & Denis:
The Style Manager handles a list of styles in the ROOT session. It loads by
default the five styles provided by ROOT: Default, Plain, Bold, Video, and
Pub. If this list does not contain a style with the characteristics you
want, you can create a new one and than apply it.

The Style Manager interface is composed of two parts:
- the top level interface that manages a list of styles;
- the style editor, which deals with the current style settings.

The combo box 'Available Styles' contains the list of available styles for
the current ROOT session and the currently selected one. The field on the
right shows the setting of the gStyle. You can set the global variable
gStyle to the selected style by the button in the middle.

The group frame 'Apply on' displays information for the currently selected
canvas and object in the ROOT session. This selection might be changed by
clicking on another object with the middle mouse button. You have a choice
to apply the selected style on the selected object or on all available
canvases. WARNING: You cannot undo the changes after applying the style! If
you are not sure of that action, it may be better to see a preview of what
you are going to apply.\n"

If the check button 'Preview' is selected,  a preview of the selected canvas
according to the selected style will be shown. The selection of the next
check button 'Run Time Preview' will apply updates of the preview any time a
value of the selected style is changed. For drawings that take a time it is
better to disable this option.

Create a new style / delete a style:
You can access these functionalities via the menu or the tool bar. If you
create a style, a clone of the selected style will be created; you will have
the opportunity to modify it later via the editor. Moreover, during the
creation process, you will be asked for a name and a description for your
brand new style. The name can obviously not be the same as another already
existing style. When you choose 'delete', the selected style is removed from
the ROOT session. The selected style will be lost if you didn't saved it in
a C++ macro file before.

Export a style (in a C++ macro file) / Import a style (from a macro):
To store a style longer than for one session of ROOT or in order to share
some styles with others, you can save it in a C++ macro file. This can be
done via the menu and the tool bar. The selected style will be saved. The
name of the macro must be 'Style_*.C', where * can be replaced by anything
you want. A style macro can be imported at any time. The new imported style
in ROOT will become the selected one.
Apply a style (on an object) / Import a style (from an object):
There is a specific button to apply a style on an object and its use has
already been described in the overview. To import a style from a canvas,
choose the 'Style / Import from... / Canvas' menu or the corresponding Tool
bar button. A new style will be created in the ROOT session and will become
the selected one. This style is a clone of gStyle where every style's
information contained in the selected canvas (the canvas containing the
current selected pad) is written. You can consequently import a style from a
canvas and apply it later on another object.

Preview a style:
The predicted result when applying a style can be seen if the 'Preview'
check button is selected. The preview includes the original canvas.

Editor's buttons:
Open / close the editor:\n"
The button 'Edit >>' opens the style editor. Its label changes to 'Close
<<'. For all details of what can be changed and how please see the provided
Help on the right of the Style Manager menu bar.

Reset a style (to a previously saved state):
When the editor is opened, in the bottom of the main window of the style
manager, a 'Reset' button enables you to reset the values of the selected
style. So doing, you cancel all changes made since the last time you saved
that style in a macro file. If the selected style is one of the five
predefined styles of ROOT (Plain, Bold, Video, Pub or  Default), it will be
reset using the specific code in the ROOT files.

Update the preview:
The button 'Update Preview' is available when a preview is shown and the run
time option is disabled. This button allows you to refresh the preview and
to see how the edited style looks like.

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

Revision 6900 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 12 08:08:37 2003 UTC (11 years, 6 months ago) by brun
Original Path: trunk/g3d/src/TAxis3D.cxx
File length: 23017 byte(s)
Diff to previous 6881
Remove trailing <cr> preventing to compile with gcc2.95

Revision 6881 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 10 15:35:34 2003 UTC (11 years, 6 months ago) by brun
Original Path: trunk/g3d/src/TAxis3D.cxx
File length: 23720 byte(s)
Diff to previous 6413
Improvement in TAxis3D by Vitaly CHOUTKO.
 additional members & functions such as eg
 bool fStickyZoom;
 bool & StickyZoom(){return fStickyZoom;}
 bool & Zoom(){return fZoomMode;}

 and modifiying Execute event by

 changing ax->SwitchZoom();
 to
 if(!fStickyZoom)ax->SwitchZoom();

Revision 6413 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 10 09:00:21 2003 UTC (11 years, 9 months ago) by brun
Original Path: trunk/g3d/src/TAxis3D.cxx
File length: 22952 byte(s)
Diff to previous 5717
From Olivier;
 New function SetTimeOffset in TAxis and TGaxis to change the time offset
for time Axis. This implied also changes in SetTimeFormat

Revision 5717 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 2 18:50:12 2002 UTC (12 years, 1 month ago) by rdm
Original Path: trunk/g3d/src/TAxis3D.cxx
File length: 22949 byte(s)
Diff to previous 5518
mega patch to remove almost all compiler warnings on MacOS X where the
compiler is by default in pedantic mode (LHCb also like to use this option).
The following issues have been fixed:
- removal of unused arguments
- comparison between signed and unsigned integers
- not calling of base class copy ctor in copy ctor's
To be done, the TGeo classes where we get still many hundred warnings of
the above nature. List forwarded to Andrei.

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/TAxis3D.cxx
File length: 22958 byte(s)
Diff to previous 5296
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 5296 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 14 16:20:14 2002 UTC (12 years, 4 months ago) by brun
Original Path: trunk/g3d/src/TAxis3D.cxx
File length: 22951 byte(s)
Diff to previous 4564
Mods to use the new interface TVirtualUtil3D and TUtil3D.

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/g3d/src/TAxis3D.cxx
File length: 22926 byte(s)
Diff to previous 4320
Add explicit calls to the base classes copy constructors in the copy constructors.
This is required by gcc on MacOS X

Revision 4320 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 6 21:24:29 2002 UTC (12 years, 9 months ago) by brun
Original Path: trunk/g3d/src/TAxis3D.cxx
File length: 22910 byte(s)
Diff to previous 3748
DistancetoPrimitive was always selecting the axis.
change 999999 to 9.

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/TAxis3D.cxx
File length: 22911 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/TAxis3D.cxx
File length: 22911 byte(s)
Diff to previous 3517
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 3517 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 21 08:46:18 2001 UTC (13 years, 1 month ago) by brun
Original Path: trunk/g3d/src/TAxis3D.cxx
File length: 22913 byte(s)
Diff to previous 1205
Some cast to char* to avoid compiler warnings with Solaris CC and xlC5

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/TAxis3D.cxx
File length: 22906 byte(s)
Diff to previous 608
      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 608 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 8 07:41:01 2000 UTC (14 years, 4 months ago) by brun
Original Path: trunk/g3d/src/TAxis3D.cxx
File length: 22846 byte(s)
Diff to previous 174
Several classes modified to :
 - take into account the renaming of kObjInCanvas to kMustCleanup
 - the introduction of FindObject instead of GetPrimitive

Revision 174 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 13 12:18:42 2000 UTC (14 years, 7 months ago) by brun
Original Path: trunk/g3d/src/TAxis3D.cxx
File length: 22851 byte(s)
Diff to previous 3
Upgrade from Float_t to Double_t. The following functions have been modified:
    static Double_t *PixeltoXYZ(Double_t px, Double_t py, Double_t *point3D, TView *view =0);
    virtual void     SetAxisRange(Double_t xmin, Double_t xmax, Option_t *axis="*");

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