ISD::CameraChip

Search for usage in LXR

ISD::CameraChip Class Reference

#include <indicamerachip.h>

Public Types

enum  ChipType { PRIMARY_CCD , GUIDE_CCD }
 

Public Member Functions

 CameraChip (ISD::Camera *camera, ChipType type)
 
bool abortExposure ()
 
void addFrameLabel (const QString &label)
 
bool canAbort () const
 
bool canBin () const
 
bool canSubframe () const
 
bool capture (double exposure)
 
void clearFrameTypes ()
 
bool getBayerInfo (uint16_t &offsetX, uint16_t &offsetY, QString &pattern)
 
CCDBinType getBinning ()
 
bool getBinning (int *bin_x, int *bin_y)
 
FITSScale getCaptureFilter () const
 
FITSMode getCaptureMode () const
 
ISD::CameragetCCD ()
 
bool getFrame (int *x, int *y, int *w, int *h)
 
bool getFrameMinMax (int *minX, int *maxX, int *minY, int *maxY, int *minW, int *maxW, int *minH, int *maxH)
 
CCDFrameType getFrameType ()
 
QStringList getFrameTypes () const
 
const QSharedPointer< FITSData > & getImageData () const
 
bool getImageInfo (uint16_t &width, uint16_t &height, double &pixelX, double &pixelY, uint8_t &bitdepth)
 
FITSView * getImageView (FITSMode imageType)
 
int getISOIndex () const
 
QStringList getISOList () const
 
bool getISOValue (QString &value) const
 
bool getMaxBin (int *max_xbin, int *max_ybin)
 
ChipType getType () const
 
bool isBatchMode () const
 
bool isCapturing ()
 
bool resetFrame ()
 
void setBatchMode (bool enable)
 
bool setBinning (CCDBinType binType)
 
bool setBinning (int bin_x, int bin_y)
 
void setCanAbort (bool value)
 
void setCanBin (bool value)
 
void setCanSubframe (bool value)
 
void setCaptureFilter (FITSScale fType)
 
void setCaptureMode (FITSMode mode)
 
bool setFrame (int x, int y, int w, int h, bool force=false)
 
bool setFrameType (CCDFrameType fType)
 
bool setFrameType (const QString &name)
 
void setImageData (const QSharedPointer< FITSData > &data)
 
bool setImageInfo (uint16_t width, uint16_t height, double pixelX, double pixelY, uint8_t bitdepth)
 
void setImageView (FITSView *image, FITSMode imageType)
 
bool setISOIndex (int value)
 

Detailed Description

CameraChip class controls a particular chip in camera.

While most amateur camera only have a single sensor, some cameras (e.g. SBIG CCDs) have additional chips for guiding purposes.

Definition at line 22 of file indicamerachip.h.

Member Enumeration Documentation

◆ ChipType

enum ISD::CameraChip::ChipType

Definition at line 25 of file indicamerachip.h.

Constructor & Destructor Documentation

◆ CameraChip()

ISD::CameraChip::CameraChip ( ISD::Camera * camera,
ChipType type )

Definition at line 17 of file indicamerachip.cpp.

Member Function Documentation

◆ abortExposure()

bool ISD::CameraChip::abortExposure ( )

Definition at line 409 of file indicamerachip.cpp.

◆ addFrameLabel()

void ISD::CameraChip::addFrameLabel ( const QString & label)
inline

Definition at line 94 of file indicamerachip.h.

◆ canAbort()

bool ISD::CameraChip::canAbort ( ) const

Definition at line 458 of file indicamerachip.cpp.

◆ canBin()

bool ISD::CameraChip::canBin ( ) const

Definition at line 439 of file indicamerachip.cpp.

◆ canSubframe()

bool ISD::CameraChip::canSubframe ( ) const

Definition at line 449 of file indicamerachip.cpp.

◆ capture()

bool ISD::CameraChip::capture ( double exposure)

Definition at line 341 of file indicamerachip.cpp.

◆ clearFrameTypes()

void ISD::CameraChip::clearFrameTypes ( )
inline

Definition at line 98 of file indicamerachip.h.

◆ getBayerInfo()

bool ISD::CameraChip::getBayerInfo ( uint16_t & offsetX,
uint16_t & offsetY,
QString & pattern )

Definition at line 195 of file indicamerachip.cpp.

◆ getBinning() [1/2]

CCDBinType ISD::CameraChip::getBinning ( )

Definition at line 660 of file indicamerachip.cpp.

◆ getBinning() [2/2]

bool ISD::CameraChip::getBinning ( int * bin_x,
int * bin_y )

Definition at line 708 of file indicamerachip.cpp.

◆ getCaptureFilter()

FITSScale ISD::CameraChip::getCaptureFilter ( ) const
inline

Definition at line 78 of file indicamerachip.h.

◆ getCaptureMode()

FITSMode ISD::CameraChip::getCaptureMode ( ) const
inline

Definition at line 74 of file indicamerachip.h.

◆ getCCD()

ISD::Camera * ISD::CameraChip::getCCD ( )
inline

Definition at line 59 of file indicamerachip.h.

◆ getFrame()

bool ISD::CameraChip::getFrame ( int * x,
int * y,
int * w,
int * h )

Definition at line 208 of file indicamerachip.cpp.

◆ getFrameMinMax()

bool ISD::CameraChip::getFrameMinMax ( int * minX,
int * maxX,
int * minY,
int * maxY,
int * minW,
int * maxW,
int * minH,
int * maxH )

Definition at line 77 of file indicamerachip.cpp.

◆ getFrameType()

CCDFrameType ISD::CameraChip::getFrameType ( )

Definition at line 608 of file indicamerachip.cpp.

◆ getFrameTypes()

QStringList ISD::CameraChip::getFrameTypes ( ) const
inline

Definition at line 90 of file indicamerachip.h.

◆ getImageData()

const QSharedPointer< FITSData > & ISD::CameraChip::getImageData ( ) const

Definition at line 468 of file indicamerachip.cpp.

◆ getImageInfo()

bool ISD::CameraChip::getImageInfo ( uint16_t & width,
uint16_t & height,
double & pixelX,
double & pixelY,
uint8_t & bitdepth )

Definition at line 168 of file indicamerachip.cpp.

◆ getImageView()

FITSView * ISD::CameraChip::getImageView ( FITSMode imageType)

Definition at line 19 of file indicamerachip.cpp.

◆ getISOIndex()

int ISD::CameraChip::getISOIndex ( ) const

Definition at line 473 of file indicamerachip.cpp.

◆ getISOList()

QStringList ISD::CameraChip::getISOList ( ) const

Definition at line 511 of file indicamerachip.cpp.

◆ getISOValue()

bool ISD::CameraChip::getISOValue ( QString & value) const

Definition at line 483 of file indicamerachip.cpp.

◆ getMaxBin()

bool ISD::CameraChip::getMaxBin ( int * max_xbin,
int * max_ybin )

Definition at line 741 of file indicamerachip.cpp.

◆ getType()

ChipType ISD::CameraChip::getType ( ) const
inline

Definition at line 55 of file indicamerachip.h.

◆ isBatchMode()

bool ISD::CameraChip::isBatchMode ( ) const
inline

Definition at line 82 of file indicamerachip.h.

◆ isCapturing()

bool ISD::CameraChip::isCapturing ( )

Definition at line 526 of file indicamerachip.cpp.

◆ resetFrame()

bool ISD::CameraChip::resetFrame ( )

Definition at line 254 of file indicamerachip.cpp.

◆ setBatchMode()

void ISD::CameraChip::setBatchMode ( bool enable)
inline

Definition at line 86 of file indicamerachip.h.

◆ setBinning() [1/2]

bool ISD::CameraChip::setBinning ( CCDBinType binType)

Definition at line 643 of file indicamerachip.cpp.

◆ setBinning() [2/2]

bool ISD::CameraChip::setBinning ( int bin_x,
int bin_y )

Definition at line 778 of file indicamerachip.cpp.

◆ setCanAbort()

void ISD::CameraChip::setCanAbort ( bool value)

Definition at line 463 of file indicamerachip.cpp.

◆ setCanBin()

void ISD::CameraChip::setCanBin ( bool value)

Definition at line 444 of file indicamerachip.cpp.

◆ setCanSubframe()

void ISD::CameraChip::setCanSubframe ( bool value)

Definition at line 454 of file indicamerachip.cpp.

◆ setCaptureFilter()

void ISD::CameraChip::setCaptureFilter ( FITSScale fType)
inline

Definition at line 35 of file indicamerachip.h.

◆ setCaptureMode()

void ISD::CameraChip::setCaptureMode ( FITSMode mode)
inline

Definition at line 31 of file indicamerachip.h.

◆ setFrame()

bool ISD::CameraChip::setFrame ( int x,
int y,
int w,
int h,
bool force = false )

Definition at line 297 of file indicamerachip.cpp.

◆ setFrameType() [1/2]

bool ISD::CameraChip::setFrameType ( CCDFrameType fType)

Definition at line 569 of file indicamerachip.cpp.

◆ setFrameType() [2/2]

bool ISD::CameraChip::setFrameType ( const QString & name)

Definition at line 548 of file indicamerachip.cpp.

◆ setImageData()

void ISD::CameraChip::setImageData ( const QSharedPointer< FITSData > & data)
inline

Definition at line 113 of file indicamerachip.h.

◆ setImageInfo()

bool ISD::CameraChip::setImageInfo ( uint16_t width,
uint16_t height,
double pixelX,
double pixelY,
uint8_t bitdepth )

Definition at line 138 of file indicamerachip.cpp.

◆ setImageView()

void ISD::CameraChip::setImageView ( FITSView * image,
FITSMode imageType )

Definition at line 45 of file indicamerachip.cpp.

◆ setISOIndex()

bool ISD::CameraChip::setISOIndex ( int value)

Definition at line 496 of file indicamerachip.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.