12#ifndef IMAGECOORDS_HPP
13#define IMAGECOORDS_HPP
49 ImageCoords(
const int image_width,
const int image_height,
50 const bool rotate_flag,
const bool flip_x_flag,
51 const bool flip_y_flag);
74 const double x_canvas,
75 const double y_canvas,
double* alpha,
90 double*
const x_canvas,
91 double*
const y_canvas);
104 const double x_image,
105 const double y_image,
107 double*
const delta)
const;
122 double*
const x_image,
123 double*
const y_image)
const;
140 double*
const x_image,
double*
const y_image)
const;
150 double*
const x_canvas,
151 double*
const y_canvas)
const;
227 static double HMSToRaDeg(
const std::string hms);
282 bool IsNotFlippedNotRotated()
const;
289 bool IsNotFlippedRotated()
const;
296 bool IsXFlippedNotRotated()
const;
302 bool IsXFlippedRotated()
const;
309 bool IsYFlippedNotRotated()
const;
315 bool IsYFlippedRotated()
const;
322 bool IsXYFlippedNotRotated()
const;
329 bool IsXYFlippedRotated()
const;
Definition ddtLogger.hpp:43
void set_ImageHeight(const int in_image_height)
Definition imageCoords.cpp:420
int get_ImageHeight() const
Definition imageCoords.cpp:417
void set_FlipYFlag(const bool flip_flag)
Definition imageCoords.cpp:395
void set_ImageWidth(const int in_image_width)
Definition imageCoords.cpp:412
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:160
bool get_FlipYFlag() const
Definition imageCoords.cpp:406
bool get_FlipXFlag() const
Definition imageCoords.cpp:403
void set_RotateFlag(const bool rot_flag)
Definition imageCoords.cpp:385
static double HMSToRaDeg(const std::string hms)
Definition imageCoords.cpp:234
void set_FlipXFlag(const bool flip_flag)
Definition imageCoords.cpp:390
const cpl_matrix * WorldCoordinatesCdMatrix(const cpl_wcs *const wcs) const
Definition imageCoords.cpp:200
ddt::DdtLogger * logger
Definition imageCoords.hpp:249
void ConvertImageToCanvas(const double x_image, const double y_image, double *const x_canvas, double *const y_canvas) const
Definition imageCoords.cpp:348
static std::string DecDegToDMS(double deg)
Definition imageCoords.cpp:261
bool WorldCoordinatesDegreesFromCanvas(const cpl_wcs *const wcs, const double x_canvas, const double y_canvas, double *alpha, double *delta)
Definition imageCoords.cpp:36
static std::string RaDegToHMS(double deg)
Definition imageCoords.cpp:209
static double DMSToDecDeg(const std::string dms)
Definition imageCoords.cpp:286
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:74
void set_logger(ddt::DdtLogger *const in_logger)
Definition imageCoords.cpp:30
int get_ImageWidth() const
Definition imageCoords.cpp:409
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:117
void ConvertCanvasToImage(const double x_canvas, const double y_canvas, double *const x_image, double *const y_image) const
Definition imageCoords.cpp:310
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:17
bool get_RotateFlag() const
Definition imageCoords.cpp:400
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:31
const double DEG_PER_MINUTE
Definition imageCoords.hpp:32
const double DEG_PER_SECOND
Definition imageCoords.hpp:33
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:32