[root] / trunk / graf2d / graf / inc / TAttImage.h Repository:
ViewVC logotype

Log of /trunk/graf2d/graf/inc/TAttImage.h

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: 7467 byte(s)
Diff to previous 23140
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: 7462 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/graf/inc/TAttImage.h
File length: 7462 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/inc/TAttImage.h
File length: 7462 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/inc/TAttImage.h
File length: 7511 byte(s)
Diff to previous 17437
remove :$ from tag line

Revision 17437 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 22 15:47:55 2007 UTC (8 years ago) by couet
Original Path: trunk/graf/inc/TAttImage.h
File length: 7521 byte(s)
Diff to previous 15672
From Valeri Onuchin:
- TImagePalette:
  New constructor TImagePalette::TImagePalette(Int_t ncolors, Int_t *colors)
  added. This allows to create image palette corresponding to
  TStyle::SetPalette method.
  This constructor is "100% compatible" with TStyle::SetPalette method.
  To test it, one can run tutorials/image/hist2image.C by creating "rainbow
  palette":
  TImagePalette *pal = new TImagePalette(1, 0);

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/inc/TAttImage.h
File length: 7474 byte(s)
Diff to previous 13243
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 13243 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 15 14:04:51 2005 UTC (9 years, 2 months ago) by couet
Original Path: trunk/graf/inc/TAttImage.h
File length: 7474 byte(s)
Diff to previous 12101
- Mods to make the rules checker happy

Revision 12101 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 21 17:09:26 2005 UTC (9 years, 7 months ago) by brun
Original Path: trunk/graf/inc/TAttImage.h
File length: 7477 byte(s)
Diff to previous 11523
From Valeriy and Ilka:

The last patch of Valeriy with some additional comments by Ilka:

- TVirtualX/TGWin32/TGWin32VirtualXProxy, TGQt new methods added
 o unsigned char *GetColorBits(Drawable_t  wid, Int_t  x, Int_t  y,  UInt_t w, U
   Int_t h)rns an array of pixels created from a part of drawable (defined by x, y,
     w, h)n format:  b1, g1, r1, 0,  b2, g2, r2, 0 ... bn, gn, rn, 0 ..
     Pixels are numbered from left to right and from top to bottom.
     By default all pixels from the whole drawable are returned.
     Note that return array is 32-bit aligned

  o Pixmap_t CreatePixmapFromData(unsigned char * bits, UInt_t  width,  UInt_t h
          eight)create pixmap from RGB data. RGB data is in format :
          b1, g1, r1, 0,  b2, g2, r2, 0 ... bn, gn, rn, 0 ..
       Pixels are numbered from left to right and from top to bottom.
       Note that data must be 32-bit aligned

- TGQt (*provided changes do not work; I cannot run rose_image.C tutorials under
 tRoot because of SegV in:
#3  0x0114172a in TGQt::GetWindowID (this=0xa1a2ab8, id=4)
    at qt/src/GQtGUI.cxx:507
#4  0x01b56914 in TASImage::Paint (this=0xaa80d68, option=0xac85d1c "xxx")
    at asimage/src/TASImage.cxx:1047
#5  0x02ddc948 in TPad::PaintModified (this=0xacb85d8)
    at gpad/src/TPad.cxx:2396
#6  0x02ddc834 in TPad::PaintModified (this=0xac1f108)
    at gpad/src/TPad.cxx:2381
#7  0x02db7cdb in TCanvas::Update (this=0xac1f108)
    at gpad/src/TCanvas.cxx:1858
*
TGQt::GetWindowID (this=0xa1a2ab8, id=4)  at qt/src/GQtGUI.cxx:507

    o  corrected an implementation  of "Window_t TGQt::GetWindowID(Int_t id)"
        That allows to run rose_image.C tutorials under QtRoot
    o implemented TGQt::GetCurrentWindow()
        That allows to save canvas/pad in in image formats  by using TASImage cl

- TImage/TASImage:

  o new method added PaintImage(Drawable_t wid, Int_t x, Int_t y) which allows t
  o the Draw option which allows to expand image to the pad size was renamed fro
  o new Draw/Paint option added -  if "z" is specified an image palette is drawn
  o TAttImage: SetPaletteEnabled/IsPaletteEnabled introduced - which allows to s
  o image convertion to gray is now "toggable"
  o new method :PaintImage(Drawable_t wid, Int_t x, Int_t y) introduced which al

- tutorials/galaxy_image.C. Unnecessary "img->SetName("n4254"); was removed

- TPad::Print - remove QtRoot specific code

- TToggle - "sanity" check added

- TGPicture.cxx - *added QtRoot specific code by gVirtualX->InheritsFrom("TGQt")

Revision 11523 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 7 14:43:35 2005 UTC (9 years, 9 months ago) by rdm
Original Path: trunk/graf/inc/TAttImage.h
File length: 7235 byte(s)
Diff to previous 11213
Fix many warnings generated by the latest gcc 4.0 about classes with
virtual functions (all classes having a ClassDef) that did not have a
virtual dtor.

Revision 11213 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 3 08:04:16 2005 UTC (9 years, 10 months ago) by brun
Original Path: trunk/graf/inc/TAttImage.h
File length: 7201 byte(s)
Diff to previous 11196
From Ilka:
fix for the context submenu appearence when the menu entries are of enum type defined in the class scope.
- TAttImage.h: for fImageQuality added // *OPTION...; for SetImageQuality // *SUBMENU*
- TDataMember.cxx: added the case when an option data member has enum type defined in the class scope

Revision 11196 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 28 15:42:03 2005 UTC (9 years, 10 months ago) by rdm
Original Path: trunk/graf/inc/TAttImage.h
File length: 7054 byte(s)
Diff to previous 10701
typo in comment.

Revision 10701 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 7 15:34:27 2004 UTC (10 years, 1 month ago) by brun
Original Path: trunk/graf/inc/TAttImage.h
File length: 7053 byte(s)
Diff to previous 5101
From Valeriy Onuchin:

- massive update of TImage/TASImage class.
- update rose_image.C macro to demonstrate new features.
- new example hist2image.C added

  I'll try to add more example and documentation asap.

- bug fixes in ROOT gui builder
- TGToolBar, TGShutter now "compatible" with hierarchical cleaning
- mods in TGPicture allow create masked pictures from images.

Revision 5101 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 9 16:43:30 2002 UTC (12 years, 5 months ago) by rdm
Original Path: trunk/graf/inc/TAttImage.h
File length: 6790 byte(s)
Diff to previous 5096
fix some warning and Alpha compile problem.

Revision 5096 - (view) (download) (as text) (annotate) - [select for diffs]
Added Fri Aug 9 13:56:00 2002 UTC (12 years, 5 months ago) by rdm
Original Path: trunk/graf/inc/TAttImage.h
File length: 6730 byte(s)
abstract image classes. Concrete implementation based on libAfterImage is
following.

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