File indexing completed on 2024-04-21 14:46:37

0001 /*
0002     SPDX-FileCopyrightText: 2007 James B. Bowlin <kstars@30doradus.org>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include "linelistindex.h"
0010 
0011 /**
0012  * @class NoPrecessIndex
0013  *
0014  * @author James B. Bowlin
0015  * @version 0.1
0016  */
0017 class NoPrecessIndex : public LineListIndex
0018 {
0019   public:
0020     /** @short Constructor */
0021     NoPrecessIndex(SkyComposite *parent, const QString &name);
0022 
0023     //Moved to public because KStars Lite uses it
0024     /**
0025      * @ short override JITupdate so we don't perform the precession
0026      * correction, only rotation.
0027      */
0028     void JITupdate(LineList *lineList) override;
0029 
0030   protected:
0031     /**
0032      * @short we need to use the buffer that does not have the
0033      * reverse-precession correction.
0034      */
0035     MeshBufNum_t drawBuffer() override { return NO_PRECESS_BUF; }
0036 };