Graphics Utilities¶
These classes define image graphics utility methods.
Defined in src/utils/GraphicsUtils.h
and src/utils/ImgUtils.h
-
class Caesar::GraphicsUtils : public TObject¶
Public Functions
-
GraphicsUtils()¶
Class constructor: initialize structures.
-
virtual ~GraphicsUtils()¶
Class destructor: free allocated memory.
Public Static Functions
-
static void SetPalette(int paletteStyle, int ncolors = 999)¶
Get palette code.
-
static int SetThermalPalette(int ncolors = 999)¶
Set thermal palette.
-
static int SetHotColdPalette(int ncolors = 999)¶
Set hot-to-cold palette.
-
static int SetColdHotPalette(int ncolors = 999)¶
Set cold-to-hot palette.
-
static int SetBWPalette(int ncolors = 999)¶
Setblack & white palette.
-
static int SetWCSAxis(Image *img, TGaxis &xaxis, TGaxis &yaxis, int coordSystem = -1, bool useImageCoords = true)¶
Set WCS axis.
-
static int SetWCSProjGrid(Image *img, std::vector<TPolyLine> &gridx, std::vector<TPolyLine> &gridy, int coordSystem)¶
Set WCS proj grid.
-
static int PadUpdater()¶
Update pad.
-
static int PadUpdater_PhysCoords()¶
Update pad (version without image coordinates)
-
static int UpdateGAxis(bool useImageCoords = true)¶
Update ROOT canvas gaxis.
-
GraphicsUtils()¶
-
class Caesar::ImgUtils : public TObject¶