SourceXtractorPlusPlus
0.11
Please provide a description of the project.
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
SEImplementation
SEImplementation
CoordinateSystem
WCS.h
Go to the documentation of this file.
1
17
/*
18
* WCS.h
19
*
20
* Created on: Nov 17, 2016
21
* Author: mschefer
22
*/
23
24
#ifndef _SEIMPLEMENTATION_COORDINATESYSTEM_WCS_H_
25
#define _SEIMPLEMENTATION_COORDINATESYSTEM_WCS_H_
26
27
#include <memory>
28
#include <map>
29
30
#include "
SEFramework/CoordinateSystem/CoordinateSystem.h
"
31
#include "
SEFramework/FITS/FitsImageSource.h
"
32
33
struct
wcsprm;
34
35
namespace
SourceXtractor {
36
37
class
WCS
:
public
CoordinateSystem
{
38
public
:
39
explicit
WCS
(
const
FitsImageSource<SeFloat>
& fits_image_source);
40
virtual
~WCS
();
41
42
WorldCoordinate
imageToWorld
(
ImageCoordinate
image_coordinate)
const override
;
43
ImageCoordinate
worldToImage
(
WorldCoordinate
world_coordinate)
const override
;
44
45
std::map<std::string, std::string>
getFitsHeaders
()
const override
;
46
47
private
:
48
std::unique_ptr<wcsprm, std::function<void(wcsprm*)>
>
m_wcs
;
49
};
50
51
}
52
53
#endif
/* _SEIMPLEMENTATION_COORDINATESYSTEM_WCS_H_ */
SourceXtractor::ImageCoordinate
Definition:
CoordinateSystem.h:42
SourceXtractor::WCS::WCS
WCS(const FitsImageSource< SeFloat > &fits_image_source)
Definition:
WCS.cpp:60
std::map< std::string, std::string >
SourceXtractor::CoordinateSystem
Definition:
CoordinateSystem.h:50
SourceXtractor::WCS::imageToWorld
WorldCoordinate imageToWorld(ImageCoordinate image_coordinate) const override
Definition:
WCS.cpp:82
FitsImageSource.h
SourceXtractor::WCS::getFitsHeaders
std::map< std::string, std::string > getFitsHeaders() const override
Definition:
WCS.cpp:131
SourceXtractor::WCS::m_wcs
std::unique_ptr< wcsprm, std::function< void(wcsprm *)> > m_wcs
Definition:
WCS.h:48
SourceXtractor::WCS::~WCS
virtual ~WCS()
Definition:
WCS.cpp:79
CoordinateSystem.h
std::unique_ptr
STL class.
SourceXtractor::WCS
Definition:
WCS.h:37
SourceXtractor::WCS::worldToImage
ImageCoordinate worldToImage(WorldCoordinate world_coordinate) const override
Definition:
WCS.cpp:108
SourceXtractor::FitsImageSource
Definition:
FitsImageSource.h:43
SourceXtractor::WorldCoordinate
Definition:
CoordinateSystem.h:33
Generated by
1.8.5