File indexing completed on 2025-01-05 03:59:32
0001 // SPDX-License-Identifier: LGPL-2.1-or-later 0002 // 0003 // SPDX-FileCopyrightText: 2009 Patrick Spendrin <ps_ml@gmx.de> 0004 // 0005 0006 #ifndef MARBLE_ABSTRACTPROJECTIONPRIVATE_H 0007 #define MARBLE_ABSTRACTPROJECTIONPRIVATE_H 0008 0009 0010 namespace Marble 0011 { 0012 0013 class AbstractProjection; 0014 0015 class AbstractProjectionPrivate 0016 { 0017 public: 0018 explicit AbstractProjectionPrivate( AbstractProjection * parent ); 0019 0020 virtual ~AbstractProjectionPrivate() { }; 0021 0022 int levelForResolution(qreal resolution) const; 0023 0024 qreal m_maxLat; 0025 qreal m_minLat; 0026 mutable qreal m_previousResolution; 0027 mutable qreal m_level; 0028 0029 AbstractProjection * const q_ptr; 0030 Q_DECLARE_PUBLIC( AbstractProjection ) 0031 }; 0032 0033 } // namespace Marble 0034 0035 #endif