Kstars

KSDssImage::Metadata Struct Reference

#include <ksdssimage.h>

Public Types

enum  FileFormat { FITS = 0 , GIF = 1 , PNG = 2 }
 
enum  Source { DSS = 0 , SDSS = 1 , GenericInternetSource = 2 }
 

Public Member Functions

bool isValid () const
 

Public Attributes

char band { '?' }
 
dms dec0
 
FileFormat format { FITS }
 
int gen { -1 }
 
float height { 0 }
 
QString object
 
dms ra0
 
Source src { DSS }
 
bool valid { false }
 
QString version
 
float width { 0 }
 

Detailed Description

Structure to hold some DSS image metadata.

Note
Some fields in the structure are redundant. The methods that fill this structure must be designed to fill in the redundancies correctly!

Member Enumeration Documentation

◆ FileFormat

Contains possible file formats for images.

Note
Although DSS website provides us GIF, we may convert to PNG to incorporate metadata, since by default Qt has no write support for GIF. Besides, PNG compresses better.

Definition at line 57 of file ksdssimage.h.

◆ Source

Contains possible sources for digitized sky-survey images.

Definition at line 41 of file ksdssimage.h.

Member Function Documentation

◆ isValid()

bool KSDssImage::Metadata::isValid ( ) const
inline

Definition at line 87 of file ksdssimage.h.

Member Data Documentation

◆ band

char KSDssImage::Metadata::band { '?' }

Photometric band (UBVRI...) Use "?" for unknown.

Definition at line 81 of file ksdssimage.h.

◆ dec0

dms KSDssImage::Metadata::dec0

Center Dec (J2000.0)

Definition at line 75 of file ksdssimage.h.

◆ format

FileFormat KSDssImage::Metadata::format { FITS }

File format used.

Definition at line 69 of file ksdssimage.h.

◆ gen

int KSDssImage::Metadata::gen { -1 }

Generation for DSS images, data release for SDSS; use -1 for unknown.

Definition at line 83 of file ksdssimage.h.

◆ height

float KSDssImage::Metadata::height { 0 }

Height in arcminutes.

Definition at line 77 of file ksdssimage.h.

◆ object

QString KSDssImage::Metadata::object

Name / identifier of the object. Added to metadata.

Definition at line 67 of file ksdssimage.h.

◆ ra0

dms KSDssImage::Metadata::ra0

Center RA (J2000.0)

Definition at line 73 of file ksdssimage.h.

◆ src

Source KSDssImage::Metadata::src { DSS }

DSS / SDSS – source of the image.

Definition at line 71 of file ksdssimage.h.

◆ valid

bool KSDssImage::Metadata::valid { false }

Are these data valid?

Definition at line 85 of file ksdssimage.h.

◆ version

QString KSDssImage::Metadata::version

Used for DSS – Indicates which version of scans to pull.

Definition at line 65 of file ksdssimage.h.

◆ width

float KSDssImage::Metadata::width { 0 }

Width in arcminutes.

Definition at line 79 of file ksdssimage.h.


The documentation for this struct was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:57:49 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.