SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
DummyWCS Class Reference
Inheritance diagram for DummyWCS:
Collaboration diagram for DummyWCS:

Public Member Functions

 DummyWCS (int image_width, int image_height, double rotation, double scale, double shift_x, double shift_y)
virtual ~DummyWCS ()
WorldCoordinate imageToWorld (ImageCoordinate image_coordinate) const override
ImageCoordinate worldToImage (WorldCoordinate world_coordinate) const override
std::map< std::string, std::stringgetFitsHeaders () const override
Public Member Functions inherited from SourceXtractor::CoordinateSystem
virtual ~CoordinateSystem ()=default

Private Attributes

int m_image_width
int m_image_height
double m_rotation = 0.0
double m_scale = 1.0
double m_shift_x = 0.0
double m_shift_y = 0.0

Detailed Description

Definition at line 89 of file TestImage.cpp.

Constructor & Destructor Documentation

◆ DummyWCS()

DummyWCS::DummyWCS ( int image_width,
int image_height,
double rotation,
double scale,
double shift_x,
double shift_y )
inline

Definition at line 91 of file TestImage.cpp.

References m_image_height, m_image_width, m_rotation, m_scale, m_shift_x, and m_shift_y.

◆ ~DummyWCS()

virtual DummyWCS::~DummyWCS ( )
inlinevirtual

Definition at line 94 of file TestImage.cpp.

Member Function Documentation

◆ getFitsHeaders()

std::map< std::string, std::string > DummyWCS::getFitsHeaders ( ) const
inlineoverridevirtual

Reimplemented from SourceXtractor::CoordinateSystem.

Definition at line 104 of file TestImage.cpp.

References std::cos(), m_image_height, m_image_width, m_rotation, m_scale, m_shift_x, m_shift_y, std::sin(), and std::to_string().

Here is the call graph for this function:

◆ imageToWorld()

WorldCoordinate DummyWCS::imageToWorld ( ImageCoordinate image_coordinate) const
inlineoverridevirtual

◆ worldToImage()

ImageCoordinate DummyWCS::worldToImage ( WorldCoordinate world_coordinate) const
inlineoverridevirtual

Member Data Documentation

◆ m_image_height

int DummyWCS::m_image_height
private

Definition at line 132 of file TestImage.cpp.

Referenced by DummyWCS(), and getFitsHeaders().

◆ m_image_width

int DummyWCS::m_image_width
private

Definition at line 132 of file TestImage.cpp.

Referenced by DummyWCS(), and getFitsHeaders().

◆ m_rotation

double DummyWCS::m_rotation = 0.0
private

Definition at line 133 of file TestImage.cpp.

Referenced by DummyWCS(), and getFitsHeaders().

◆ m_scale

double DummyWCS::m_scale = 1.0
private

Definition at line 134 of file TestImage.cpp.

Referenced by DummyWCS(), and getFitsHeaders().

◆ m_shift_x

double DummyWCS::m_shift_x = 0.0
private

Definition at line 135 of file TestImage.cpp.

Referenced by DummyWCS(), and getFitsHeaders().

◆ m_shift_y

double DummyWCS::m_shift_y = 0.0
private

Definition at line 136 of file TestImage.cpp.

Referenced by DummyWCS(), and getFitsHeaders().


The documentation for this class was generated from the following file: