marble
KmlPhotoOverlayWriter.cpp
Go to the documentation of this file.
45 writer.writeOptionalElement<qreal>( kml::kmlTag_leftFov, photo_overlay->viewVolume().leftFov(), 0 );
46 writer.writeOptionalElement<qreal>( kml::kmlTag_rightFov, photo_overlay->viewVolume().rightFov(), 0 );
47 writer.writeOptionalElement<qreal>( kml::kmlTag_bottomFov, photo_overlay->viewVolume().bottomFov(), 0 );
48 writer.writeOptionalElement<qreal>( kml::kmlTag_topFov, photo_overlay->viewVolume().topFov(), 0 );
54 writer.writeOptionalElement<int>( kml::kmlTag_tileSize, photo_overlay->imagePyramid().tileSize(), 256 );
55 writer.writeOptionalElement<int>( kml::kmlTag_maxWidth, photo_overlay->imagePyramid().maxWidth() );
56 writer.writeOptionalElement<int>( kml::kmlTag_maxHeight, photo_overlay->imagePyramid().maxHeight() );
GeoDataImagePyramid & imagePyramid()
Definition: GeoDataPhotoOverlay.cpp:106
void writeOptionalElement(const QString &key, const QString &value, const QString &defaultValue=QString())
Convenience method to write value if value is not equal to defaultValue.
Definition: GeoWriter.cpp:98
static GeoTagWriterRegistrar s_writerLookAt(GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataGroundOverlayType, kml::kmlTag_nameSpaceOgc22), new KmlGroundOverlayWriter)
A shared base class for all classes that are mapped to a specific tag (ie.
Definition: GeoDocument.h:60
const char * kmlTag_PhotoOverlay
Definition: KmlElementDictionary.cpp:142
void writeElement(const QString &namespaceUri, const QString &key, const QString &value)
Convenience method to write value with key prefixed format namespaceUri.
Definition: GeoWriter.cpp:84
GeoDataViewVolume & viewVolume()
Definition: GeoDataPhotoOverlay.cpp:91
QString number(int n, int base)
GridOrigin gridOrigin() const
Definition: GeoDataImagePyramid.cpp:110
const char * kmlTag_ViewVolume
Definition: KmlElementDictionary.cpp:196
Standard Marble way of writing XML This class is intended to be a standardised way of writing XML for...
Definition: GeoWriter.h:29
KmlPhotoOverlayWriter()
Definition: KmlPhotoOverlayWriter.cpp:27
QPair< QString, QString > QualifiedName
Object Name and Namespace Pair This type is intended to be used in a similar way to.
Definition: GeoTagWriter.h:48
const char * kmlTag_nameSpaceOgc22
Definition: KmlElementDictionary.cpp:34
bool writeElement(const GeoNode *object, GeoWriter &writer) const
Definition: GeoTagWriter.cpp:29
virtual bool writeMid(const GeoNode *node, GeoWriter &writer) const =0
Definition: KmlOverlayTagWriter.cpp:28
const char * kmlTag_ImagePyramid
Definition: KmlElementDictionary.cpp:87
bool writeMid(const GeoNode *node, GeoWriter &writer) const
Definition: KmlPhotoOverlayWriter.cpp:32
void writeEndElement()
void writeStartElement(const QString &qualifiedName)
const char * GeoDataPhotoOverlayType
Definition: GeoDataTypes.cpp:65
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.