SourceXtractorPlusPlus  0.8
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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::string
getFitsHeaders () 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 87 of file TestImage.cpp.

Constructor & Destructor Documentation

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

Definition at line 89 of file TestImage.cpp.

virtual DummyWCS::~DummyWCS ( )
inlinevirtual

Definition at line 92 of file TestImage.cpp.

Member Function Documentation

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

Reimplemented from SourceXtractor::CoordinateSystem.

Definition at line 102 of file TestImage.cpp.

References std::cos(), s, std::sin(), and std::to_string().

Here is the call graph for this function:

WorldCoordinate DummyWCS::imageToWorld ( ImageCoordinate  image_coordinate) const
inlineoverridevirtual
ImageCoordinate DummyWCS::worldToImage ( WorldCoordinate  world_coordinate) const
inlineoverridevirtual

Member Data Documentation

int DummyWCS::m_image_height
private

Definition at line 130 of file TestImage.cpp.

int DummyWCS::m_image_width
private

Definition at line 130 of file TestImage.cpp.

double DummyWCS::m_rotation = 0.0
private

Definition at line 131 of file TestImage.cpp.

double DummyWCS::m_scale = 1.0
private

Definition at line 132 of file TestImage.cpp.

double DummyWCS::m_shift_x = 0.0
private

Definition at line 133 of file TestImage.cpp.

double DummyWCS::m_shift_y = 0.0
private

Definition at line 134 of file TestImage.cpp.


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