GSI Object Oriented Online Offline (Go4)
GO4-5.3.2
|
#include <TGo4ASImage.h>
Public Member Functions | |
TGo4ASImage () | |
virtual | ~TGo4ASImage () |
void | SetHistogramContent (TH2 *histo) |
void | SetDrawData (TH2 *histo, TGo4ViewPanel *panel, TPad *pad) |
void | SetSelectedRange (double rxmin, double rxmax, double rymin, double rymax) |
virtual void | Zoom (UInt_t offX, UInt_t offY, UInt_t width, UInt_t height) |
virtual void | UnZoom () |
void | ClosePaletteEditor () |
TGo4ASImage (TH2 *) | |
TH2 * | GetHistogram () const |
void | SetHistogramRanges (TH2 *) |
void | SetZoom (TH2 *) |
Private Attributes | |
TGo4ViewPanel * | fxPanel |
TPad * | fxPad |
double | fxMinX |
double | fxMaxX |
double | fxMinY |
double | fxMaxY |
double | fdWidth |
double | fdHeight |
original width of image (histogram) More... | |
Special ASImage for display of 2d histograms in go4 viewpanel. has backpointer to viewpanel and reacts explicitly when user select new range in image
Definition at line 32 of file TGo4ASImage.h.
TGo4ASImage::TGo4ASImage | ( | ) |
Definition at line 22 of file TGo4ASImage.cpp.
|
virtual |
Definition at line 36 of file TGo4ASImage.cpp.
References ClosePaletteEditor().
|
inline |
Definition at line 51 of file TGo4ASImage.h.
void TGo4ASImage::ClosePaletteEditor | ( | ) |
Use this to close palette editor properly
Definition at line 122 of file TGo4ASImage.cpp.
Referenced by ~TGo4ASImage().
|
inline |
Definition at line 53 of file TGo4ASImage.h.
void TGo4ASImage::SetDrawData | ( | TH2 * | histo, |
TGo4ViewPanel * | panel, | ||
TPad * | pad | ||
) |
Definition at line 60 of file TGo4ASImage.cpp.
References fxMaxX, fxMaxY, fxMinX, fxMinY, fxPad, and fxPanel.
Referenced by TGo4ViewPanel::RedrawImage().
void TGo4ASImage::SetHistogramContent | ( | TH2 * | histo | ) |
Definition at line 41 of file TGo4ASImage.cpp.
References fdHeight, and fdWidth.
Referenced by TGo4ViewPanel::ProcessPadRedraw().
|
inline |
sets limits of histo according to current zoom scale of image
Definition at line 56 of file TGo4ASImage.h.
void TGo4ASImage::SetSelectedRange | ( | double | rxmin, |
double | rxmax, | ||
double | rymin, | ||
double | rymax | ||
) |
Definition at line 73 of file TGo4ASImage.cpp.
References fdHeight, fdWidth, fxMaxX, fxMaxY, fxMinX, and fxMinY.
Referenced by TGo4ViewPanel::RedrawImage().
|
inline |
sets zoom of image according to current limits of histo
Definition at line 59 of file TGo4ASImage.h.
|
virtual |
Definition at line 115 of file TGo4ASImage.cpp.
References fxPad, fxPanel, and TGo4ViewPanel::PadRangeAxisChanged().
|
virtual |
|
private |
original width of image (histogram)
Definition at line 73 of file TGo4ASImage.h.
Referenced by SetHistogramContent(), SetSelectedRange(), and Zoom().
|
private |
Definition at line 72 of file TGo4ASImage.h.
Referenced by SetHistogramContent(), SetSelectedRange(), and Zoom().
|
private |
Definition at line 68 of file TGo4ASImage.h.
Referenced by SetDrawData(), SetSelectedRange(), and Zoom().
|
private |
Definition at line 70 of file TGo4ASImage.h.
Referenced by SetDrawData(), SetSelectedRange(), and Zoom().
|
private |
Definition at line 67 of file TGo4ASImage.h.
Referenced by SetDrawData(), SetSelectedRange(), and Zoom().
|
private |
Definition at line 69 of file TGo4ASImage.h.
Referenced by SetDrawData(), SetSelectedRange(), and Zoom().
|
private |
Definition at line 65 of file TGo4ASImage.h.
Referenced by SetDrawData(), UnZoom(), and Zoom().
|
private |
Definition at line 63 of file TGo4ASImage.h.
Referenced by SetDrawData(), UnZoom(), and Zoom().