Kstars

noprecessindex.h
1 /*
2  SPDX-FileCopyrightText: 2007 James B. Bowlin <[email protected]>
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 };
QString name() const
retrieve name of object
Definition: linelistindex.h:84
NoPrecessIndex(SkyComposite *parent, const QString &name)
Constructor.
SkyComposite * parent()
Definition: skycomponent.h:137
void JITupdate(LineList *lineList) override
@ short override JITupdate so we don't perform the precession correction, only rotation.
MeshBufNum_t drawBuffer() override
we need to use the buffer that does not have the reverse-precession correction.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Tue Aug 9 2022 04:06:04 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.