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:431
int get_ImageHeight() const
Definition: imageCoords.cpp:428
void set_FlipYFlag(const bool flip_flag)
Definition: imageCoords.cpp:406
void set_ImageWidth(const int in_image_width)
Definition: imageCoords.cpp:423
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:168
bool get_FlipYFlag() const
Definition: imageCoords.cpp:417
bool get_FlipXFlag() const
Definition: imageCoords.cpp:414
void set_RotateFlag(const bool rot_flag)
Definition: imageCoords.cpp:396
static double HMSToRaDeg(const std::string hms)
Definition: imageCoords.cpp:242
void set_FlipXFlag(const bool flip_flag)
Definition: imageCoords.cpp:401
const cpl_matrix * WorldCoordinatesCdMatrix(const cpl_wcs *const wcs) const
Definition: imageCoords.cpp:208
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:359
static std::string DecDegToDMS(double deg)
Definition: imageCoords.cpp:269
bool WorldCoordinatesDegreesFromCanvas(const cpl_wcs *const wcs, const double x_canvas, const double y_canvas, double *alpha, double *delta)
Definition: imageCoords.cpp:44
static std::string RaDegToHMS(double deg)
Definition: imageCoords.cpp:217
static double DMSToDecDeg(const std::string dms)
Definition: imageCoords.cpp:297
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:82
void set_logger(ddt::DdtLogger *const in_logger)
Definition: imageCoords.cpp:38
int get_ImageWidth() const
Definition: imageCoords.cpp:420
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:125
void ConvertCanvasToImage(const double x_canvas, const double y_canvas, double *const x_image, double *const y_image) const
Definition: imageCoords.cpp:321
bool get_RotateFlag() const
Definition: imageCoords.cpp:411
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