12 #ifndef ROOT_TAttImage 13 #define ROOT_TAttImage 55 virtual Int_t *GetRootColors();
96 virtual void ResetAttImage(
Option_t *option=
"");
97 virtual void SaveImageAttributes(std::ostream &out,
const char *
name,
101 virtual void SetConstRatio(
Bool_t constRatio =
kTRUE);
104 { fImageCompression = (lcompression > 100) ? 100 : lcompression; }
106 { fImageQuality = lquality;}
108 virtual void StartPaletteEditor();
virtual void EditorClosed()
Double_t * fPoints
[fNumPoints] value of each anchor point [0..1]
Bool_t IsPaletteEnabled() const
TPaletteEditor(TAttImage *attImage, UInt_t w, UInt_t h)
Constructor.
EImageQuality fImageQuality
OPTION={GetMethod="GetImageQuality";SetMethod="SetImageQuality";Items=(kImgDefault="Default",kImgPoor="Poor",kImgFast="Fast",kImgGood="Good",kImgBest="Best")}
virtual void SetImageQuality(EImageQuality lquality)
Bool_t fPaletteEnabled
! kTRUE - palette is drawn on the image
UShort_t * fColorRed
[fNumPoints] red color at each anchor point
EImageQuality GetImageQuality() const
#define ClassDef(name, id)
UInt_t GetImageCompression() const
UInt_t fImageCompression
compression [0 .. 100] 0: no compression
R__EXTERN TImagePalette * gWebImagePalette
Edit the palette via a GUI.
virtual const TImagePalette & GetPalette() const
TImagePalette fPalette
color palette for value -> color conversion
UShort_t * fColorAlpha
[fNumPoints] alpha at each anchor point
virtual ~TPaletteEditor()
UInt_t fNumPoints
number of anchor points
UShort_t * fColorBlue
[fNumPoints] blue color at each anchor point
Bool_t fConstRatio
keep aspect ratio of image on the screen
virtual void SetImageCompression(UInt_t lcompression)
void Copy(void *source, void *dest)
virtual void SetPaletteEnabled(Bool_t on=kTRUE)
A class to define a conversion from pixel values to pixel color.
Mother of all ROOT objects.
UShort_t * fColorGreen
[fNumPoints] green color at each anchor point
Bool_t GetConstRatio() const
TPaletteEditor * fPaletteEditor
! GUI to edit the color palette
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b
R__EXTERN TImagePalette * gHistImagePalette
virtual void CloseWindow()
Closes the window and deletes itself.