bool Bool_t
Boolean (0=false, 1=true) (bool)
 
unsigned short UShort_t
Unsigned Short integer 2 bytes (unsigned short)
 
int Int_t
Signed integer 4 bytes (int)
 
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int)
 
const char Option_t
Option string (const char)
 
#define ClassDef(name, id)
 
#define ClassDefOverride(name, id)
 
R__EXTERN TImagePalette * gHistImagePalette
 
R__EXTERN TImagePalette * gWebImagePalette
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void on
 
TPaletteEditor * fPaletteEditor
! GUI to edit the color palette
 
virtual void ResetAttImage(Option_t *option="")
Reset this image attributes to default values.
 
virtual void SetPalette(const TImagePalette *palette)
Set a new palette for the image.
 
Bool_t fConstRatio
keep aspect ratio of image on the screen
 
virtual ~TAttImage()
TAttImage destructor.
 
EImageQuality GetImageQuality() const
 
Bool_t GetConstRatio() const
 
virtual const TImagePalette & GetPalette() const
 
virtual void SetPaletteEnabled(Bool_t on=kTRUE)
 
UInt_t fImageCompression
compression [0 .. 100] 0: no compression
 
EImageQuality fImageQuality
OPTION={GetMethod="GetImageQuality";SetMethod="SetImageQuality";Items=(kImgDefault="Default",...
 
Bool_t IsPaletteEnabled() const
 
TAttImage()
TAttImage default constructor.
 
virtual void SetImageQuality(EImageQuality lquality)
 
void Copy(TAttImage &attline) const
Copy this image attributes to a new attimage.
 
TImagePalette fPalette
color palette for value -> color conversion
 
virtual void SetImageCompression(UInt_t lcompression)
 
UInt_t GetImageCompression() const
 
virtual void EditorClosed()
 
Bool_t fPaletteEnabled
! kTRUE - palette is drawn on the image
 
virtual void SetConstRatio(Bool_t constRatio=kTRUE)
Set (constRatio = kTRUE) or unset (constRadio = kFALSE) the ratio flag.
 
virtual void StartPaletteEditor()
Opens a GUI to edit the color palette.
 
virtual void SaveImageAttributes(std::ostream &out, const char *name, EImageQuality qualdef=kImgDefault, UInt_t comprdef=0, Bool_t constRatiodef=kTRUE)
Save image attributes as C++ statement(s) on output stream, but not the palette.
 
A class to define a conversion from pixel values to pixel color.
 
TImagePalette & operator=(const TImagePalette &palette)
Assignment operator.
 
virtual Int_t * GetRootColors()
Returns a list of ROOT colors.
 
UShort_t * fColorRed
[fNumPoints] red color at each anchor point
 
~TImagePalette() override
Destructor.
 
Double_t * fPoints
[fNumPoints] value of each anchor point [0..1]
 
static TImagePalette * CreateCOLPalette(Int_t nContours)
Factory method to creates an image palette for histogram plotting.
 
TImagePalette()
Default constructor, sets all pointers to 0.
 
virtual Int_t FindColor(UShort_t r, UShort_t g, UShort_t b)
Returns an index of the closest color.
 
UShort_t * fColorGreen
[fNumPoints] green color at each anchor point
 
UShort_t * fColorBlue
[fNumPoints] blue color at each anchor point
 
UInt_t fNumPoints
number of anchor points
 
static TImagePalette * Create(Option_t *opts)
Factory method to creates an image palette of a specific typ.
 
UShort_t * fColorAlpha
[fNumPoints] alpha at each anchor point
 
Mother of all ROOT objects.
 
Edit the palette via a GUI.
 
virtual ~TPaletteEditor()
 
virtual void CloseWindow()
Closes the window and deletes itself.
 
TPaletteEditor(TAttImage *attImage, UInt_t w, UInt_t h)
Constructor.