21#ifndef IMAGECOORDS_HPP
22#define IMAGECOORDS_HPP
58 ImageCoords(
const int image_width,
const int image_height,
59 const bool rotate_flag,
const bool flip_x_flag,
60 const bool flip_y_flag);
83 const double x_canvas,
84 const double y_canvas,
double* alpha,
99 double*
const x_canvas,
100 double*
const y_canvas);
113 const double x_image,
114 const double y_image,
116 double*
const delta)
const;
131 double*
const x_image,
132 double*
const y_image)
const;
149 double*
const x_image,
double*
const y_image)
const;
159 double*
const x_canvas,
160 double*
const y_canvas)
const;
236 static double HMSToRaDeg(
const std::string hms);
291 bool IsNotFlippedNotRotated()
const;
298 bool IsNotFlippedRotated()
const;
305 bool IsXFlippedNotRotated()
const;
311 bool IsXFlippedRotated()
const;
318 bool IsYFlippedNotRotated()
const;
324 bool IsYFlippedRotated()
const;
331 bool IsXYFlippedNotRotated()
const;
338 bool IsXYFlippedRotated()
const;
Definition ddtLogger.hpp:51
Definition imageCoords.hpp:53
void set_ImageHeight(const int in_image_height)
Definition imageCoords.cpp:429
int get_ImageHeight() const
Definition imageCoords.cpp:426
void set_FlipYFlag(const bool flip_flag)
Definition imageCoords.cpp:404
void set_ImageWidth(const int in_image_width)
Definition imageCoords.cpp:421
bool ImageCoordinatesFromWorldCoordinatesDegrees(const cpl_wcs *const wcs, const double alpha, const double delta, double *const x_image, double *const y_image) const
Definition imageCoords.cpp:169
bool get_FlipYFlag() const
Definition imageCoords.cpp:415
bool get_FlipXFlag() const
Definition imageCoords.cpp:412
void set_RotateFlag(const bool rot_flag)
Definition imageCoords.cpp:394
static double HMSToRaDeg(const std::string hms)
Definition imageCoords.cpp:243
void set_FlipXFlag(const bool flip_flag)
Definition imageCoords.cpp:399
const cpl_matrix * WorldCoordinatesCdMatrix(const cpl_wcs *const wcs) const
Definition imageCoords.cpp:209
ddt::DdtLogger * logger
Definition imageCoords.hpp:258
void ConvertImageToCanvas(const double x_image, const double y_image, double *const x_canvas, double *const y_canvas) const
Definition imageCoords.cpp:357
static std::string DecDegToDMS(double deg)
Definition imageCoords.cpp:270
bool WorldCoordinatesDegreesFromCanvas(const cpl_wcs *const wcs, const double x_canvas, const double y_canvas, double *alpha, double *delta)
Definition imageCoords.cpp:45
static std::string RaDegToHMS(double deg)
Definition imageCoords.cpp:218
static double DMSToDecDeg(const std::string dms)
Definition imageCoords.cpp:295
virtual ~ImageCoords()=default
bool CanvasCoordinatesFromWorldCoordinatesDegrees(const cpl_wcs *const wcs, const double alpha, const double delta, double *const x_canvas, double *const y_canvas)
Definition imageCoords.cpp:83
void set_logger(ddt::DdtLogger *const in_logger)
Definition imageCoords.cpp:39
int get_ImageWidth() const
Definition imageCoords.cpp:418
bool WorldCoordinatesDegreesFromImage(const cpl_wcs *const wcs, const double x_image, const double y_image, double *const alpha, double *const delta) const
Definition imageCoords.cpp:126
void ConvertCanvasToImage(const double x_canvas, const double y_canvas, double *const x_image, double *const y_image) const
Definition imageCoords.cpp:319
ImageCoords(const int image_width, const int image_height, const bool rotate_flag, const bool flip_x_flag, const bool flip_y_flag)
Definition imageCoords.cpp:26
bool get_RotateFlag() const
Definition imageCoords.cpp:409
Data acquisition class, offers access to data stream acquisition functions. This file is part of the ...
Data file class, offers access to FITS file functions. This file is part of the DDT Image Handling Li...
Class to wrap the usage of log4cplus as logging utility. This file provides a wrapper class for the u...
const double DEG_PER_HOUR
Definition imageCoords.hpp:40
const double DEG_PER_MINUTE
Definition imageCoords.hpp:41
const double DEG_PER_SECOND
Definition imageCoords.hpp:42
Image error handling function declaration. This file is part of the DDT Image Handling Library and pr...
Image IO function declaration. This file is part of the DDT Image Handling Library and provides funct...
Image processing function declaration. This file is part of the DDT Image Handling Library and provid...
Image analysis and statistic function declaration. This file is part of the DDT Image Handling Librar...
Definition ddtClient.hpp:39