File indexing completed on 2024-05-12 03:50:15

0001 // SPDX-License-Identifier: LGPL-2.1-or-later
0002 //
0003 // SPDX-FileCopyrightText: 2012 Dennis Nienhüser <nienhueser@kde.org>
0004 // SPDX-FileCopyrightText: 2013 Mohammed Nafees <nafees.technocool@gmail.com>
0005 //
0006 
0007 #ifndef MARBLE_GEODATAPHOTOOVERLAY_P_H
0008 #define MARBLE_GEODATAPHOTOOVERLAY_P_H
0009 
0010 #include "GeoDataOverlay_p.h"
0011 #include "GeoDataTypes.h"
0012 #include "GeoDataPoint.h"
0013 #include "GeoDataImagePyramid.h"
0014 #include "GeoDataViewVolume.h"
0015 
0016 namespace Marble {
0017 
0018 class GeoDataPhotoOverlayPrivate : public GeoDataOverlayPrivate
0019 {
0020 public:
0021     GeoDataPhotoOverlayPrivate();
0022     GeoDataPhotoOverlayPrivate(const GeoDataPhotoOverlayPrivate& other);
0023 
0024     qreal m_rotation;
0025     GeoDataViewVolume m_viewVolume;
0026     GeoDataImagePyramid m_imagePyramid;
0027     GeoDataPoint m_point;
0028     GeoDataPhotoOverlay::Shape m_shape;
0029 };
0030 
0031 GeoDataPhotoOverlayPrivate::GeoDataPhotoOverlayPrivate() :
0032     m_rotation( 0.0 ),
0033     m_viewVolume(),
0034     m_imagePyramid(),
0035     m_point(),
0036     m_shape( GeoDataPhotoOverlay::Rectangle )
0037 {
0038     // nothing to do
0039 }
0040 
0041 GeoDataPhotoOverlayPrivate::GeoDataPhotoOverlayPrivate(const GeoDataPhotoOverlayPrivate& other)
0042   : GeoDataOverlayPrivate(other),
0043     m_rotation(other.m_rotation),
0044     m_viewVolume(other.m_viewVolume),
0045     m_imagePyramid(other.m_imagePyramid),
0046     m_point(other.m_point),
0047     m_shape(other.m_shape)
0048 {
0049 }
0050 
0051 }
0052 
0053 #endif