Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
AntarcticaBackground Class Reference

Public Member Functions

 AntarcticaBackground (RampdemReader::dataSet dataSet=RampdemReader::thickness, Int_t coarseness=AntarcticaBackgroundDefaults::defaultCoarseness)
 
virtual void Draw (Option_t *opt="")
 
void UnZoom ()
 
void SetGrayScale (bool greyScale)
 
Bool_t GetGrayScale () const
 
void SetToolTip (Bool_t toolTip)
 
Bool_t GetToolTip () const
 
void SetShowBases (Bool_t showBases)
 
Bool_t GetShowBases () const
 
Int_t GetCoarseness () const
 
void SetCoarseness (Int_t coarseness)
 
void SetRampdem (bool useRampdem)
 
Bool_t GetRampdem () const
 
void SetBed (bool useBed)
 
Bool_t GetBed () const
 
void SetIcemask (bool useIcemask)
 
Bool_t GetIcemask () const
 
void SetSurface (bool useSurface)
 
Bool_t GetSurface () const
 
void SetThickness (bool useThickness)
 
Bool_t GetThickness () const
 
void SetGrid (Bool_t grid)
 
Bool_t GetGrid () const
 
void SetGridDivisions (Int_t deltaLon, Int_t deltaLat)
 
void SetShowColorAxis (Bool_t showZaxis)
 
Bool_t GetShowColorAxis () const
 
void ResetColorAxis (bool trigger_redraw=false)
 
const char * getToolTipUnits ()
 
RampdemReader::dataSet GetDataSet () const
 
void SetDataSet (RampdemReader::dataSet dataSet)
 
void ExecuteEvent (Int_t event, Int_t x, Int_t y)
 
void updateToolTip (Int_t event, Int_t x, Int_t y, const char *extraInfo=NULL)
 
void setPalette ()
 
void unsetPalette ()
 
void scale (double newMin, double newMax)
 Does not persist in ROOT! More...
 

Static Public Member Functions

static const char * getDefaultName ()
 

Public Attributes

std::map< RampdemReader::dataSet, EColorPalette > palettes
 
float opacity
 Does not persist in ROOT!
 

Detailed Description

Definition at line 34 of file AntarcticaBackground.h.

Inheritance diagram for AntarcticaBackground:
Inheritance graph
[legend]
Collaboration diagram for AntarcticaBackground:
Collaboration graph
[legend]

Member Function Documentation

void AntarcticaBackground::Draw ( Option_t *  opt = "")
virtual

Draw function for Antarctica Background which also prettifies the pad/canvas.

Parameters
optis the draw option (default is col)

Definition at line 494 of file AntarcticaBackground.cxx.

void AntarcticaBackground::ExecuteEvent ( Int_t  event,
Int_t  x,
Int_t  y 
)

Interactive magic.

Parameters
eventis the user interaction
xis the x-coordinate of the pixel under the mouse
yis the y-coordinate of the pixel under the mouse

Definition at line 721 of file AntarcticaBackground.cxx.

void AntarcticaBackground::ResetColorAxis ( bool  trigger_redraw = false)

Helper function which prettifies the z-axis

Definition at line 588 of file AntarcticaBackground.cxx.

void AntarcticaBackground::scale ( double  newMin,
double  newMax 
)

Does not persist in ROOT!

This is the magic function that makes two 2D histograms plotted on top of one another have the same dynamic range, by rescaling the background. This is called by TH2DAntarctica.

Parameters
newMinshould be TH2DAntarctica::GetMinimum()
newMaxshould be TH2DAntarctica::GetMaximum()

Definition at line 737 of file AntarcticaBackground.cxx.


The documentation for this class was generated from the following files: