SourceXtractorPlusPlus  0.10
Please provide a description of the project.
Public Member Functions | Private Attributes | List of all members
DummyWCS Class Reference
Inheritance diagram for DummyWCS:
[legend]
Collaboration diagram for DummyWCS:
[legend]

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 90 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 92 of file TestImage.cpp.

◆ ~DummyWCS()

virtual DummyWCS::~DummyWCS ( )
inlinevirtual

Definition at line 95 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 105 of file TestImage.cpp.

References std::cos(), s, 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 133 of file TestImage.cpp.

◆ m_image_width

int DummyWCS::m_image_width
private

Definition at line 133 of file TestImage.cpp.

◆ m_rotation

double DummyWCS::m_rotation = 0.0
private

Definition at line 134 of file TestImage.cpp.

◆ m_scale

double DummyWCS::m_scale = 1.0
private

Definition at line 135 of file TestImage.cpp.

◆ m_shift_x

double DummyWCS::m_shift_x = 0.0
private

Definition at line 136 of file TestImage.cpp.

◆ m_shift_y

double DummyWCS::m_shift_y = 0.0
private

Definition at line 137 of file TestImage.cpp.


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