FovSnapshot

Search for usage in LXR

FovSnapshot Class Reference

#include <fovsnapshot.h>

Public Member Functions

 FovSnapshot (const QPixmap &pixmap, const QString description, FOV *fov, const SkyPoint &center)
 
SkyPoint getCentralPoint ()
 
QString getDescription ()
 
FOVgetFov ()
 
QPixmap getPixmap ()
 
void setCentralPoint (const SkyPoint &point)
 
void setDescription (const QString &description)
 
void setFov (FOV *fov)
 
void setPixmap (const QPixmap &pixmap)
 

Detailed Description

Class that represents single field of view snapshot.

FovSnapshot class stores data of single FOV snapshot: image, description, FOV symbol at which it was captured and its central point.

Author
Rafał Kułaga

Definition at line 24 of file fovsnapshot.h.

Constructor & Destructor Documentation

◆ FovSnapshot()

FovSnapshot::FovSnapshot ( const QPixmap & pixmap,
const QString description,
FOV * fov,
const SkyPoint & center )

Constructor.

Parameters
pixmapSnapshot image.
descriptionSnapshot description.
fovFOV symbol at which snapshot was captured.
centerCentral point of the snapshot.

Definition at line 9 of file fovsnapshot.cpp.

Member Function Documentation

◆ getCentralPoint()

SkyPoint FovSnapshot::getCentralPoint ( )
inline

Get central point of the snapshot.

Returns
Central point of the snapshot.

Definition at line 58 of file fovsnapshot.h.

◆ getDescription()

QString FovSnapshot::getDescription ( )
inline

Get snapshot description.

Returns
Description of the snapshot.

Definition at line 46 of file fovsnapshot.h.

◆ getFov()

FOV * FovSnapshot::getFov ( )
inline

Get FOV symbol at which snapshot was captured.

Returns
FOV of the snapshot.

Definition at line 52 of file fovsnapshot.h.

◆ getPixmap()

QPixmap FovSnapshot::getPixmap ( )
inline

Get snapshot image.

Returns
Image of the snapshot.

Definition at line 40 of file fovsnapshot.h.

◆ setCentralPoint()

void FovSnapshot::setCentralPoint ( const SkyPoint & point)
inline

Set central point of the snapshot.

Parameters
pointCentral point of the snapshot.

Definition at line 82 of file fovsnapshot.h.

◆ setDescription()

void FovSnapshot::setDescription ( const QString & description)
inline

Set snapshot description.

Parameters
descriptionSnapshot description.

Definition at line 70 of file fovsnapshot.h.

◆ setFov()

void FovSnapshot::setFov ( FOV * fov)
inline

Set snapshot FOV symbol.

Parameters
fovFOV symbol of the snapshot.

Definition at line 76 of file fovsnapshot.h.

◆ setPixmap()

void FovSnapshot::setPixmap ( const QPixmap & pixmap)
inline

Set snapshot image.

Parameters
pixmapSnapshot image.

Definition at line 64 of file fovsnapshot.h.


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 Tue Mar 26 2024 11:19:04 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.