Kstars

hipscomponent.h
1/* HiPS : Hierarchical Progressive Surveys
2 HiPS is the hierarchical tiling mechanism which allows one to access, visualize and browse seamlessly image, catalogue and cube data.
3
4 The KStars HiPS compoenent is used to load and overlay progress surverys from various online catalogs.
5
6 SPDX-FileCopyrightText: 2017 Jasem Mutlaq <mutlaqja@ikarustech.com>
7
8 SPDX-License-Identifier: GPL-2.0-or-later
9*/
10
11#pragma once
12
13#include "skycomponent.h"
14#include "projections/projector.h"
15
16/**
17 * @class HIPSComponent
18 * Represents the HIPS progress survey overlay
19 * @author Jasem Mutlaq
20 * @version 1.0
21 */
23{
24 public:
25 /** Constructor */
26 explicit HIPSComponent(SkyComposite *);
27
28 virtual ~HIPSComponent() override = default;
29
30 bool selected() override;
31 void draw(SkyPainter *skyp) override;
32
33 private:
34 QElapsedTimer m_ElapsedTimer, m_RefreshTimer;
35 static constexpr uint32_t HIPS_REDRAW_PERIOD {5000};
36 static constexpr uint32_t HIPS_REFRESH_PERIOD {2000};
37 ViewParams m_previousViewParams;
38 QString m_LastFocusedObjectName;
39};
Represents the HIPS progress survey overlay.
void draw(SkyPainter *skyp) override
Draw the object on the SkyMap skyp a pointer to the SkyPainter to use.
HIPSComponent(SkyComposite *)
Constructor.
bool selected() override
SkyComponent represents an object on the sky map.
SkyComposite is a kind of container class for SkyComponent objects.
Draws things on the sky, without regard to backend.
Definition skypainter.h:40
This is just a container that holds information needed to do projections.
Definition projector.h:37
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 17 2024 11:48:27 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.