#include <TAttImage.h>
Inheritance diagram for TAttImage:

Public Types | |
| enum | EImageQuality |
| enum | EImageQuality |
Public Member Functions | |
| TAttImage () | |
| kTRUE - palette is drawn on the image | |
| TAttImage (EImageQuality lquality, UInt_t lcompression, Bool_t constRatio) | |
| virtual | ~TAttImage () |
| void | Copy (TAttImage &attline) const |
| Bool_t | GetConstRatio () const |
| UInt_t | GetImageCompression () const |
| EImageQuality | GetImageQuality () const |
| virtual const TImagePalette & | GetPalette () const |
| virtual void | ResetAttImage (Option_t *option="") |
| virtual void | SaveImageAttributes (ostream &out, const char *name, EImageQuality qualdef=kImgDefault, UInt_t comprdef=0, Bool_t constRatiodef=kTRUE) |
| virtual void | SetConstRatio (Bool_t constRatio=kTRUE) |
| virtual void | SetPaletteEnabled (Bool_t on=kTRUE) |
| virtual void | SetImageCompression (UInt_t lcompression) |
| virtual void | SetImageQuality (EImageQuality lquality) |
| virtual void | SetPalette (const TImagePalette *palette) |
| virtual void | StartPaletteEditor () |
| virtual void | EditorClosed () |
| Bool_t | IsPaletteEnabled () const |
| TAttImage () | |
| kTRUE - palette is drawn on the image | |
| TAttImage (EImageQuality lquality, UInt_t lcompression, Bool_t constRatio) | |
| virtual | ~TAttImage () |
| void | Copy (TAttImage &attline) const |
| Bool_t | GetConstRatio () const |
| UInt_t | GetImageCompression () const |
| EImageQuality | GetImageQuality () const |
| virtual const TImagePalette & | GetPalette () const |
| virtual void | ResetAttImage (Option_t *option="") |
| virtual void | SaveImageAttributes (ostream &out, const char *name, EImageQuality qualdef=kImgDefault, UInt_t comprdef=0, Bool_t constRatiodef=kTRUE) |
| virtual void | SetConstRatio (Bool_t constRatio=kTRUE) |
| virtual void | SetPaletteEnabled (Bool_t on=kTRUE) |
| virtual void | SetImageCompression (UInt_t lcompression) |
| virtual void | SetImageQuality (EImageQuality lquality) |
| virtual void | SetPalette (const TImagePalette *palette) |
| virtual void | StartPaletteEditor () |
| virtual void | EditorClosed () |
| Bool_t | IsPaletteEnabled () const |
Protected Attributes | |
| EImageQuality | fImageQuality |
| UInt_t | fImageCompression |
| Bool_t | fConstRatio |
| TImagePalette | fPalette |
| TPaletteEditor * | fPaletteEditor |
| Bool_t | fPaletteEnabled |
| GUI to edit the color palette. | |
| TPaletteEditor * | fPaletteEditor |
Definition at line 108 of file TAttImage.h.
Definition at line 112 of file TAttImage.h.
Definition at line 112 of file TAttImage.h.
| TAttImage::TAttImage | ( | ) |
kTRUE - palette is drawn on the image
Definition at line 516 of file TAttImage.cxx.
References fPaletteEditor, fPaletteEnabled, kTRUE, and ResetAttImage().
| TAttImage::TAttImage | ( | EImageQuality | lquality, | |
| UInt_t | lcompression, | |||
| Bool_t | constRatio | |||
| ) |
Definition at line 527 of file TAttImage.cxx.
References fConstRatio, fImageCompression, fImageQuality, fPaletteEditor, fPaletteEnabled, kTRUE, and ResetAttImage().
| TAttImage::~TAttImage | ( | ) | [virtual] |
| TAttImage::TAttImage | ( | ) |
kTRUE - palette is drawn on the image
| TAttImage::TAttImage | ( | EImageQuality | lquality, | |
| UInt_t | lcompression, | |||
| Bool_t | constRatio | |||
| ) |
| virtual TAttImage::~TAttImage | ( | ) | [virtual] |
| void TAttImage::Copy | ( | TAttImage & | attline | ) | const |
Definition at line 559 of file TAttImage.cxx.
References fConstRatio, fImageCompression, fImageQuality, and fPalette.
| Bool_t TAttImage::GetConstRatio | ( | ) | const [inline] |
Definition at line 134 of file TAttImage.h.
References fConstRatio.
Referenced by TASImage::Paint().
| UInt_t TAttImage::GetImageCompression | ( | ) | const [inline] |
Definition at line 135 of file TAttImage.h.
References fImageCompression.
Referenced by TASImage::Bevel(), TASImage::Blur(), TASImage::CreateThumbnail(), TASImage::Crop(), TASImage::DrawText(), TASImage::Flip(), TASImage::Gradient(), TASImage::Gray(), TASImage::Merge(), TASImage::Mirror(), TASImage::Pad(), TASImage::Paint(), TASImage::ReadImage(), TASImage::Scale(), TASImage::SetImage(), TASImage::Slice(), TASImage::Tile(), and TASImage::WriteImage().
| EImageQuality TAttImage::GetImageQuality | ( | ) | const [inline] |
Definition at line 136 of file TAttImage.h.
References fImageQuality.
Referenced by TASImage::Bevel(), TASImage::Blur(), TASImage::CreateThumbnail(), TASImage::Crop(), TASImage::DrawText(), TASImage::Flip(), TASImage::Gradient(), TASImage::Gray(), TASImage::Merge(), TASImage::Mirror(), TASImage::Pad(), TASImage::Paint(), TASPaletteEditor::PaintPalette::Paint(), TASImage::Scale(), TASImage::SetImage(), TASImage::SetPalette(), TASImage::Slice(), TASImage::Tile(), and TASImage::WriteImage().
| virtual const TImagePalette& TAttImage::GetPalette | ( | ) | const [inline, virtual] |
Definition at line 137 of file TAttImage.h.
References fPalette.
Referenced by TASImage::Paint(), rose_image(), TASImage::SetImage(), and TASImage::SetPalette().
| void TAttImage::ResetAttImage | ( | Option_t * | option = "" |
) | [virtual] |
Definition at line 570 of file TAttImage.cxx.
References TImagePalette::fColorAlpha, TImagePalette::fColorBlue, TImagePalette::fColorGreen, TImagePalette::fColorRed, fConstRatio, fImageCompression, fImageQuality, TImagePalette::fNumPoints, fPalette, TImagePalette::fPoints, gAlphaDefault, gBlueDefault, gGreenDefault, gRedDefault, kImgPoor, and kTRUE.
Referenced by TAttImage().
| void TAttImage::SaveImageAttributes | ( | ostream & | out, | |
| const char * | name, | |||
| EImageQuality | qualdef = kImgDefault, |
|||
| UInt_t | comprdef = 0, |
|||
| Bool_t | constRatiodef = kTRUE | |||
| ) | [virtual] |
Definition at line 610 of file TAttImage.cxx.
References fConstRatio, fImageCompression, and fImageQuality.
Definition at line 629 of file TAttImage.cxx.
References fConstRatio.
Referenced by draw_activation(), img2pad(), and timage().
| virtual void TAttImage::SetImageCompression | ( | UInt_t | lcompression | ) | [inline, virtual] |
| virtual void TAttImage::SetImageQuality | ( | EImageQuality | lquality | ) | [inline, virtual] |
| void TAttImage::SetPalette | ( | const TImagePalette * | palette | ) | [virtual] |
Definition at line 640 of file TAttImage.cxx.
References TImagePalette::fColorAlpha, TImagePalette::fColorBlue, TImagePalette::fColorGreen, TImagePalette::fColorRed, TImagePalette::fNumPoints, fPalette, TImagePalette::fPoints, gAlphaDefault, gBlueDefault, gGreenDefault, gRedDefault, and palette.
Referenced by TASPaletteEditor::InsertNewPalette(), TASPaletteEditor::ProcessMessage(), TASImage::SetImage(), and TASImage::SetPalette().
| void TAttImage::StartPaletteEditor | ( | ) | [virtual] |
Definition at line 677 of file TAttImage.cxx.
References TPluginManager::FindHandler(), fPaletteEditor, TROOT::GetPluginManager(), gROOT, and h.
Referenced by TASImage::StartPaletteEditor().
| virtual void TAttImage::EditorClosed | ( | ) | [inline, virtual] |
Definition at line 152 of file TAttImage.h.
References fPaletteEditor.
Referenced by TPaletteEditor::CloseWindow().
| Bool_t TAttImage::IsPaletteEnabled | ( | ) | const [inline] |
| void TAttImage::Copy | ( | TAttImage & | attline | ) | const |
| Bool_t TAttImage::GetConstRatio | ( | ) | const [inline] |
| UInt_t TAttImage::GetImageCompression | ( | ) | const [inline] |
| EImageQuality TAttImage::GetImageQuality | ( | ) | const [inline] |
| virtual const TImagePalette& TAttImage::GetPalette | ( | ) | const [inline, virtual] |
| virtual void TAttImage::ResetAttImage | ( | Option_t * | option = "" |
) | [virtual] |
| virtual void TAttImage::SaveImageAttributes | ( | ostream & | out, | |
| const char * | name, | |||
| EImageQuality | qualdef = kImgDefault, |
|||
| UInt_t | comprdef = 0, |
|||
| Bool_t | constRatiodef = kTRUE | |||
| ) | [virtual] |
| virtual void TAttImage::SetImageCompression | ( | UInt_t | lcompression | ) | [inline, virtual] |
| virtual void TAttImage::SetImageQuality | ( | EImageQuality | lquality | ) | [inline, virtual] |
| virtual void TAttImage::SetPalette | ( | const TImagePalette * | palette | ) | [virtual] |
| virtual void TAttImage::StartPaletteEditor | ( | ) | [virtual] |
| virtual void TAttImage::EditorClosed | ( | ) | [inline, virtual] |
| Bool_t TAttImage::IsPaletteEnabled | ( | ) | const [inline] |
EImageQuality TAttImage::fImageQuality [protected] |
Definition at line 121 of file TAttImage.h.
Referenced by Copy(), GetImageQuality(), ResetAttImage(), SaveImageAttributes(), SetImageQuality(), and TAttImage().
UInt_t TAttImage::fImageCompression [protected] |
Definition at line 122 of file TAttImage.h.
Referenced by Copy(), GetImageCompression(), ResetAttImage(), SaveImageAttributes(), SetImageCompression(), and TAttImage().
Bool_t TAttImage::fConstRatio [protected] |
Definition at line 123 of file TAttImage.h.
Referenced by Copy(), GetConstRatio(), TASImage::Paint(), ResetAttImage(), SaveImageAttributes(), SetConstRatio(), and TAttImage().
TImagePalette TAttImage::fPalette [protected] |
Definition at line 124 of file TAttImage.h.
Referenced by Copy(), GetPalette(), ResetAttImage(), SetPalette(), and TASImage::Vectorize().
TPaletteEditor* TAttImage::fPaletteEditor [protected] |
Definition at line 125 of file TAttImage.h.
Referenced by EditorClosed(), StartPaletteEditor(), TAttImage(), and ~TAttImage().
Bool_t TAttImage::fPaletteEnabled [protected] |
GUI to edit the color palette.
Definition at line 126 of file TAttImage.h.
Referenced by IsPaletteEnabled(), TASImage::Paint(), TASImage::SetDefaults(), TASImage::SetImage(), SetPaletteEnabled(), TASImage::SetPaletteEnabled(), and TAttImage().
TPaletteEditor* TAttImage::fPaletteEditor [protected] |
Definition at line 125 of file TAttImage.h.
1.5.1