Log of /trunk/graf3d/g3d/src/TAxis3D.cxx
Parent Directory
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
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
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
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
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
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
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
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
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="*");
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.