ISD::Camera
#include <indicamera.h>
Public Types | |
enum | BlobType { BLOB_IMAGE , BLOB_FITS , BLOB_XISF , BLOB_RAW , BLOB_OTHER } |
enum | ErrorType { ERROR_CAPTURE , ERROR_SAVE , ERROR_LOAD , ERROR_VIEWER } |
enum | TelescopeType { TELESCOPE_PRIMARY , TELESCOPE_GUIDE , TELESCOPE_UNKNOWN } |
enum | UploadMode { UPLOAD_CLIENT , UPLOAD_LOCAL , UPLOAD_BOTH } |
Properties | |
bool | StreamingEnabled |
Properties inherited from ISD::ConcreteDevice | |
bool | connected |
QString | name |
Properties inherited from QObject | |
objectName | |
Signals | |
void | coolerToggled (bool enabled) |
void | error (ErrorType type) |
void | newBLOBManager (INDI::Property prop) |
void | newExposureValue (ISD::CameraChip *chip, double value, IPState state) |
void | newFPS (double instantFPS, double averageFPS) |
void | newGuideStarData (ISD::CameraChip *chip, double dx, double dy, double fit) |
void | newImage (const QSharedPointer< FITSData > &data, const QString &extension="") |
void | newRemoteFile (QString) |
void | newTemperatureValue (double value) |
void | newVideoFrame (const QSharedPointer< QImage > &frame) |
void | newView (const QSharedPointer< FITSView > &view) |
void | videoRecordToggled (bool enabled) |
void | videoStreamToggled (bool enabled) |
Signals inherited from ISD::ConcreteDevice | |
void | Connected () |
void | Disconnected () |
void | propertyDefined (INDI::Property prop) |
void | propertyDeleted (INDI::Property prop) |
void | propertyUpdated (INDI::Property prop) |
void | ready () |
Public Slots | |
void | setBLOBManager (const char *device, INDI::Property prop) |
void | StreamWindowHidden () |
Public Attributes | |
enum ISD::Camera::BlobType | BType |
Public Attributes inherited from QObject | |
typedef | QObjectList |
Protected Slots | |
void | setWSBLOB (const QByteArray &message, const QString &extension) |
Detailed Description
Camera class controls an INDI Camera device.
It can be used to issue and abort capture commands, receive and process BLOBs, and return information on the capabilities of the camera.
Definition at line 43 of file indicamera.h.
Member Enumeration Documentation
◆ BlobType
enum ISD::Camera::BlobType |
Definition at line 53 of file indicamera.h.
◆ ErrorType
Enumerator | |
---|---|
ERROR_SAVE | INDI Camera error. |
ERROR_LOAD | Saving to disk error. |
ERROR_VIEWER | Loading image buffer error. Loading in FITS Viewer Error |
Definition at line 62 of file indicamera.h.
◆ TelescopeType
enum ISD::Camera::TelescopeType |
Definition at line 61 of file indicamera.h.
◆ UploadMode
enum ISD::Camera::UploadMode |
Definition at line 52 of file indicamera.h.
Property Documentation
◆ StreamingEnabled
bool ISD::Camera::StreamingEnabled |
Definition at line 46 of file indicamera.h.
Constructor & Destructor Documentation
◆ Camera()
|
explicit |
Definition at line 43 of file indicamera.cpp.
◆ ~Camera()
|
overridevirtual |
Definition at line 54 of file indicamera.cpp.
Member Function Documentation
◆ canCool()
|
inline |
Definition at line 83 of file indicamera.h.
◆ configureRapidGuide()
bool ISD::Camera::configureRapidGuide | ( | CameraChip * | targetChip, |
bool | autoLoop, | ||
bool | sendImage = false, | ||
bool | showMarker = false ) |
Definition at line 809 of file indicamera.cpp.
◆ getCaptureFormat()
QString ISD::Camera::getCaptureFormat | ( | ) | const |
Definition at line 1554 of file indicamera.cpp.
◆ getCaptureFormats()
|
inline |
Definition at line 164 of file indicamera.h.
◆ getChip()
CameraChip * ISD::Camera::getChip | ( | CameraChip::ChipType | cType | ) |
Definition at line 764 of file indicamera.cpp.
◆ getEncodingFormat()
Definition at line 153 of file indicamera.h.
◆ getEncodingFormats()
|
inline |
Definition at line 158 of file indicamera.h.
◆ getExposurePresets()
Definition at line 211 of file indicamera.h.
◆ getExposurePresetsMinMax()
Definition at line 215 of file indicamera.h.
◆ getGain()
bool ISD::Camera::getGain | ( | double * | value | ) |
Definition at line 1341 of file indicamera.cpp.
◆ getGainMinMaxStep()
bool ISD::Camera::getGainMinMaxStep | ( | double * | min, |
double * | max, | ||
double * | step ) |
Definition at line 1351 of file indicamera.cpp.
◆ getGainPermission()
|
inline |
Definition at line 123 of file indicamera.h.
◆ getOffset()
bool ISD::Camera::getOffset | ( | double * | value | ) |
Definition at line 1373 of file indicamera.cpp.
◆ getOffsetMinMaxStep()
bool ISD::Camera::getOffsetMinMaxStep | ( | double * | min, |
double * | max, | ||
double * | step ) |
Definition at line 1383 of file indicamera.cpp.
◆ getOffsetPermission()
|
inline |
Definition at line 136 of file indicamera.h.
◆ getSERNameDirectory()
Definition at line 1177 of file indicamera.cpp.
◆ getStreamExposure()
bool ISD::Camera::getStreamExposure | ( | double * | duration | ) |
Definition at line 1465 of file indicamera.cpp.
◆ getTelescopeType()
|
inline |
Definition at line 193 of file indicamera.h.
◆ getTemperature()
bool ISD::Camera::getTemperature | ( | double * | value | ) |
Definition at line 947 of file indicamera.cpp.
◆ getTemperatureRegulation()
bool ISD::Camera::getTemperatureRegulation | ( | double & | ramp, |
double & | threshold ) |
Definition at line 1487 of file indicamera.cpp.
◆ getUploadMode()
Camera::UploadMode ISD::Camera::getUploadMode | ( | ) |
Definition at line 869 of file indicamera.cpp.
◆ hasCooler()
bool ISD::Camera::hasCooler | ( | ) |
Definition at line 731 of file indicamera.cpp.
◆ hasCoolerControl()
bool ISD::Camera::hasCoolerControl | ( | ) |
Definition at line 736 of file indicamera.cpp.
◆ hasGain()
|
inline |
Definition at line 118 of file indicamera.h.
◆ hasGuideHead()
bool ISD::Camera::hasGuideHead | ( | ) |
Definition at line 726 of file indicamera.cpp.
◆ hasOffset()
|
inline |
Definition at line 131 of file indicamera.h.
◆ hasVideoStream()
|
inline |
Definition at line 92 of file indicamera.h.
◆ isBLOBEnabled()
bool ISD::Camera::isBLOBEnabled | ( | ) |
Definition at line 1395 of file indicamera.cpp.
◆ isCoolerOn()
bool ISD::Camera::isCoolerOn | ( | ) |
Definition at line 1477 of file indicamera.cpp.
◆ isFastExposureEnabled()
|
inline |
Definition at line 205 of file indicamera.h.
◆ isStreamingEnabled()
bool ISD::Camera::isStreamingEnabled | ( | ) |
Definition at line 1148 of file indicamera.cpp.
◆ processBLOB()
|
overridevirtual |
Reimplemented from ISD::ConcreteDevice.
Definition at line 599 of file indicamera.cpp.
◆ processNumber()
|
overridevirtual |
Reimplemented from ISD::ConcreteDevice.
Definition at line 276 of file indicamera.cpp.
◆ processSwitch()
|
overridevirtual |
Reimplemented from ISD::ConcreteDevice.
Definition at line 353 of file indicamera.cpp.
◆ processText()
|
overridevirtual |
Reimplemented from ISD::ConcreteDevice.
Definition at line 482 of file indicamera.cpp.
◆ registerProperty()
|
overridevirtual |
Reimplemented from ISD::ConcreteDevice.
Definition at line 73 of file indicamera.cpp.
◆ removeProperty()
|
overridevirtual |
Reimplemented from ISD::ConcreteDevice.
Definition at line 268 of file indicamera.cpp.
◆ resetStreamingFrame()
bool ISD::Camera::resetStreamingFrame | ( | ) |
Definition at line 1058 of file indicamera.cpp.
◆ saveCurrentImage()
bool ISD::Camera::saveCurrentImage | ( | QString & | filename | ) |
saveCurrentImage save the image that is currently in the image data buffer
- Returns
- true if saving succeeded
Definition at line 576 of file indicamera.cpp.
◆ setBLOBEnabled()
Definition at line 1400 of file indicamera.cpp.
◆ setBLOBManager
|
slot |
Definition at line 64 of file indicamera.cpp.
◆ setCaptureFormat()
Definition at line 1424 of file indicamera.cpp.
◆ setCoolerControl()
bool ISD::Camera::setCoolerControl | ( | bool | enable | ) |
Definition at line 741 of file indicamera.cpp.
◆ setEncodingFormat()
Definition at line 981 of file indicamera.cpp.
◆ setFastCount()
bool ISD::Camera::setFastCount | ( | uint32_t | count | ) |
Definition at line 1437 of file indicamera.cpp.
◆ setFastExposureEnabled()
bool ISD::Camera::setFastExposureEnabled | ( | bool | enable | ) |
Definition at line 1407 of file indicamera.cpp.
◆ setFITSHeaders()
bool ISD::Camera::setFITSHeaders | ( | const QList< FITSData::Record > & | values | ) |
Definition at line 1311 of file indicamera.cpp.
◆ setGain()
bool ISD::Camera::setGain | ( | double | value | ) |
Definition at line 1331 of file indicamera.cpp.
◆ setNextSequenceID()
|
inline |
Definition at line 112 of file indicamera.h.
◆ setOffset()
bool ISD::Camera::setOffset | ( | double | value | ) |
Definition at line 1363 of file indicamera.cpp.
◆ setRapidGuide()
bool ISD::Camera::setRapidGuide | ( | CameraChip * | targetChip, |
bool | enable ) |
Definition at line 778 of file indicamera.cpp.
◆ setScopeInfo()
bool ISD::Camera::setScopeInfo | ( | double | focalLength, |
double | aperture ) |
Definition at line 1510 of file indicamera.cpp.
◆ setSeqPrefix()
Definition at line 108 of file indicamera.h.
◆ setSERNameDirectory()
Definition at line 1156 of file indicamera.cpp.
◆ setStreamExposure()
bool ISD::Camera::setStreamExposure | ( | double | duration | ) |
Definition at line 1451 of file indicamera.cpp.
◆ setStreamingFrame()
bool ISD::Camera::setStreamingFrame | ( | int | x, |
int | y, | ||
int | w, | ||
int | h ) |
Definition at line 1115 of file indicamera.cpp.
◆ setStreamLimits()
bool ISD::Camera::setStreamLimits | ( | uint16_t | maxBufferSize, |
uint16_t | maxPreviewFPS ) |
Definition at line 1090 of file indicamera.cpp.
◆ setTelescopeType()
bool ISD::Camera::setTelescopeType | ( | TelescopeType | type | ) |
Definition at line 1006 of file indicamera.cpp.
◆ setTemperature()
bool ISD::Camera::setTemperature | ( | double | value | ) |
Definition at line 962 of file indicamera.cpp.
◆ setTemperatureRegulation()
bool ISD::Camera::setTemperatureRegulation | ( | double | ramp, |
double | threshold ) |
Definition at line 1498 of file indicamera.cpp.
◆ setUploadMode()
bool ISD::Camera::setUploadMode | ( | UploadMode | mode | ) |
Definition at line 900 of file indicamera.cpp.
◆ setVideoStreamEnabled()
bool ISD::Camera::setVideoStreamEnabled | ( | bool | enable | ) |
Definition at line 1036 of file indicamera.cpp.
◆ setWSBLOB
|
protectedslot |
Definition at line 493 of file indicamera.cpp.
◆ startDurationRecording()
bool ISD::Camera::startDurationRecording | ( | double | duration | ) |
Definition at line 1219 of file indicamera.cpp.
◆ startFramesRecording()
bool ISD::Camera::startFramesRecording | ( | uint32_t | frames | ) |
Definition at line 1255 of file indicamera.cpp.
◆ startRecording()
bool ISD::Camera::startRecording | ( | ) |
Definition at line 1196 of file indicamera.cpp.
◆ stopRecording()
bool ISD::Camera::stopRecording | ( | ) |
Definition at line 1287 of file indicamera.cpp.
◆ StreamWindowHidden
|
slot |
Definition at line 686 of file indicamera.cpp.
◆ updateUploadSettings()
void ISD::Camera::updateUploadSettings | ( | const QString & | uploadDirectory, |
const QString & | uploadFile ) |
Definition at line 844 of file indicamera.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 17 2024 11:48:28 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.