• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdeedu
  • Sitemap
  • Contact Us
 

kstars

FITSImage Class Reference

#include <fitsimage.h>

Inheritance diagram for FITSImage:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 56 of file fitsimage.h.


Public Types

enum  scaleType {
  FITSAuto = 0, FITSLinear, FITSLog, FITSSqrt,
  FITSCustom
}
enum  zoomType { ZOOM_FIT_WINDOW, ZOOM_KEEP_LEVEL, ZOOM_FULL }

Public Slots

void fitsZoomIn ()
void fitsZoomOut ()
void fitsZoomDefault ()

Public Member Functions

 FITSImage (QWidget *parent)
 ~FITSImage ()
int loadFits (const QString &filename)
int saveFITS (const QString &filename)
int rescale (zoomType type)
void calculateStats ()
FITSViewer * getViewer ()
double getCurrentZoom ()
float * getImageBuffer ()
void getFITSSize (double *w, double *h)
void getFITSMinMax (double *min, double *max)
long getWidth ()
long getHeight ()
double getStdDev ()
double getAverage ()
QImage * getDisplayImage ()
int getFITSRecord (QString &recordList, int &nkeys)
void setFITSMinMax (double newMin, double newMax)

Public Attributes

struct {
   double   min
   double   max
   double   average
   double   stddev
   int   bitpix
   int   ndim
   long   dim [2]
} stats
QImage * displayImage

Friends

class ContrastBrightnessDlg
class FITSFrame
class FITSViewer
class FITSHistogram
class FITSHistogramCommand
class FITSChangeCommand

Member Enumeration Documentation

enum FITSImage::scaleType

Enumerator:
FITSAuto 
FITSLinear 
FITSLog 
FITSSqrt 
FITSCustom 

Definition at line 72 of file fitsimage.h.

enum FITSImage::zoomType

Enumerator:
ZOOM_FIT_WINDOW 
ZOOM_KEEP_LEVEL 
ZOOM_FULL 

Definition at line 73 of file fitsimage.h.


Constructor & Destructor Documentation

FITSImage::FITSImage ( QWidget *  parent  ) 

Definition at line 98 of file fitsimage.cpp.

FITSImage::~FITSImage (  ) 

Definition at line 115 of file fitsimage.cpp.


Member Function Documentation

int FITSImage::loadFits ( const QString &  filename  ) 

Definition at line 126 of file fitsimage.cpp.

int FITSImage::saveFITS ( const QString &  filename  ) 

Definition at line 226 of file fitsimage.cpp.

int FITSImage::rescale ( zoomType  type  ) 

Definition at line 339 of file fitsimage.cpp.

void FITSImage::calculateStats (  ) 

Definition at line 514 of file fitsimage.cpp.

FITSViewer* FITSImage::getViewer (  )  [inline]

Definition at line 86 of file fitsimage.h.

double FITSImage::getCurrentZoom (  )  [inline]

Definition at line 87 of file fitsimage.h.

float* FITSImage::getImageBuffer (  )  [inline]

Definition at line 88 of file fitsimage.h.

void FITSImage::getFITSSize ( double *  w,
double *  h 
) [inline]

Definition at line 89 of file fitsimage.h.

void FITSImage::getFITSMinMax ( double *  min,
double *  max 
) [inline]

Definition at line 90 of file fitsimage.h.

long FITSImage::getWidth (  )  [inline]

Definition at line 91 of file fitsimage.h.

long FITSImage::getHeight (  )  [inline]

Definition at line 92 of file fitsimage.h.

double FITSImage::getStdDev (  )  [inline]

Definition at line 93 of file fitsimage.h.

double FITSImage::getAverage (  )  [inline]

Definition at line 94 of file fitsimage.h.

QImage* FITSImage::getDisplayImage (  )  [inline]

Definition at line 95 of file fitsimage.h.

int FITSImage::getFITSRecord ( QString &  recordList,
int &  nkeys 
)

Definition at line 575 of file fitsimage.cpp.

void FITSImage::setFITSMinMax ( double  newMin,
double  newMax 
)

Definition at line 569 of file fitsimage.cpp.

void FITSImage::fitsZoomIn (  )  [slot]

Definition at line 444 of file fitsimage.cpp.

void FITSImage::fitsZoomOut (  )  [slot]

Definition at line 473 of file fitsimage.cpp.

void FITSImage::fitsZoomDefault (  )  [slot]

Definition at line 496 of file fitsimage.cpp.


Friends And Related Function Documentation

friend class ContrastBrightnessDlg [friend]

Definition at line 62 of file fitsimage.h.

friend class FITSFrame [friend]

Definition at line 63 of file fitsimage.h.

friend class FITSViewer [friend]

Definition at line 64 of file fitsimage.h.

friend class FITSHistogram [friend]

Definition at line 65 of file fitsimage.h.

friend class FITSHistogramCommand [friend]

Definition at line 66 of file fitsimage.h.

friend class FITSChangeCommand [friend]

Definition at line 67 of file fitsimage.h.


Member Data Documentation

double FITSImage::min

Definition at line 105 of file fitsimage.h.

double FITSImage::max

Definition at line 105 of file fitsimage.h.

double FITSImage::average

Definition at line 106 of file fitsimage.h.

double FITSImage::stddev

Definition at line 107 of file fitsimage.h.

int FITSImage::bitpix

Definition at line 108 of file fitsimage.h.

int FITSImage::ndim

Definition at line 109 of file fitsimage.h.

long FITSImage::dim[2]

Definition at line 110 of file fitsimage.h.

struct { ... } FITSImage::stats

QImage* FITSImage::displayImage

Definition at line 113 of file fitsimage.h.


The documentation for this class was generated from the following files:
  • fitsimage.h
  • fitsimage.cpp

kstars

Skip menu "kstars"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

kdeedu

Skip menu "kdeedu"
  • kalzium
  • kanagram
  • kig
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
Generated for kdeedu by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal