Kstars

noprecessindex.h
1/*
2 SPDX-FileCopyrightText: 2007 James B. Bowlin <kstars@30doradus.org>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "linelistindex.h"
10
11/**
12 * @class NoPrecessIndex
13 *
14 * @author James B. Bowlin
15 * @version 0.1
16 */
18{
19 public:
20 /** @short Constructor */
22
23 //Moved to public because KStars Lite uses it
24 /**
25 * @ short override JITupdate so we don't perform the precession
26 * correction, only rotation.
27 */
28 void JITupdate(LineList *lineList) override;
29
30 protected:
31 /**
32 * @short we need to use the buffer that does not have the
33 * reverse-precession correction.
34 */
35 MeshBufNum_t drawBuffer() override { return NO_PRECESS_BUF; }
36};
Contains almost all the code needed for indexing and drawing and clipping lines and polygons.
QString name() const
retrieve name of object
A simple data container used by LineListIndex.
Definition linelist.h:25
void JITupdate(LineList *lineList) override
@ short override JITupdate so we don't perform the precession correction, only rotation.
NoPrecessIndex(SkyComposite *parent, const QString &name)
Constructor.
MeshBufNum_t drawBuffer() override
we need to use the buffer that does not have the reverse-precession correction.
SkyComposite * parent()
SkyComposite is a kind of container class for SkyComponent objects.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:47 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.