|
SourceXtractorPlusPlus
0.19
SourceXtractor++, the next generation SExtractor
|
#include <WCS.h>


Public Member Functions | |
| WCS (const FitsImageSource &fits_image_source) | |
| WCS (const WCS &original) | |
| virtual | ~WCS () |
| WorldCoordinate | imageToWorld (ImageCoordinate image_coordinate) const override |
| ImageCoordinate | worldToImage (WorldCoordinate world_coordinate) const override |
| std::map< std::string, std::string > | getFitsHeaders () const override |
| void | addOffset (PixelCoordinate pc) |
Public Member Functions inherited from SourceXtractor::CoordinateSystem | |
| virtual | ~CoordinateSystem ()=default |
Private Member Functions | |
| void | init (char *headers, int number_of_records) |
Private Attributes | |
| std::unique_ptr< wcsprm, std::function< void(wcsprm *)> > | m_wcs |
|
explicit |
Definition at line 159 of file WCS.cpp.
References SourceXtractor::FitsImageSource::getFitsHeaders(), and init().

|
explicit |
Definition at line 166 of file WCS.cpp.
References std::free(), std::unique_ptr< T >::get(), init(), and m_wcs.

| void SourceXtractor::WCS::addOffset | ( | PixelCoordinate | pc | ) |
Definition at line 294 of file WCS.cpp.
References m_wcs, SourceXtractor::PixelCoordinate::m_x, and SourceXtractor::PixelCoordinate::m_y.
|
overridevirtual |
Reimplemented from SourceXtractor::CoordinateSystem.
Definition at line 270 of file WCS.cpp.
References std::map< K, T >::emplace(), std::string::empty(), std::free(), std::unique_ptr< T >::get(), m_wcs, and std::make_pair().

|
overridevirtual |
Implements SourceXtractor::CoordinateSystem.
Definition at line 230 of file WCS.cpp.
References std::unique_ptr< T >::get(), m_wcs, SourceXtractor::ImageCoordinate::m_x, SourceXtractor::ImageCoordinate::m_y, SourceXtractor::safe_wcssub, and SourceXtractor::wcsRaiseOnTransformError().

|
private |
Definition at line 184 of file WCS.cpp.
References m_wcs, SourceXtractor::safe_wcssub, SourceXtractor::wcsCheckHeaders(), SourceXtractor::wcsRaiseOnParseError(), and SourceXtractor::wrapped_wcssub().
Referenced by WCS().

|
overridevirtual |
Implements SourceXtractor::CoordinateSystem.
Definition at line 251 of file WCS.cpp.
References std::unique_ptr< T >::get(), SourceXtractor::WorldCoordinate::m_alpha, SourceXtractor::WorldCoordinate::m_delta, m_wcs, SourceXtractor::safe_wcssub, and SourceXtractor::wcsRaiseOnTransformError().

|
private |
Definition at line 54 of file WCS.h.
Referenced by addOffset(), getFitsHeaders(), imageToWorld(), init(), WCS(), and worldToImage().
1.8.5