27 #include "../../se/ShadedRelief.h"
28 #include "../../xml/Reader.h"
29 #include "../../xml/Writer.h"
74 std::string brightnessOnlyValue;
75 sr->
isBrightnessOnly() ? brightnessOnlyValue =
"true" : brightnessOnlyValue =
"false";
77 writer.
writeElement(
"se:BrightnessOnly", brightnessOnlyValue);
virtual bool getElementValueAsBoolean() const
It returns the element data value in the case of VALUE node.
double getReliefFactor() const
This class models a XML reader object.
virtual bool next()=0
It gets the next event to be read.
ShadedRelief specifies the application of relief shading (or "hill shading") to a DEM raster to give ...
virtual double getElementValueAsDouble() const
It returns the element data value in the case of VALUE node.
virtual void writeStartElement(const std::string &qName)
virtual void writeEndElement(const std::string &qName)
TESERIALIZATIONEXPORT void Save(const te::fe::Filter *filter, te::xml::Writer &writer)
TESERIALIZATIONEXPORT te::se::ShadedRelief * ReadShadedRelief(te::xml::Reader &reader)
ShadedRelief specifies the application of relief shading (or "hill shading") to a DEM raster to give ...
virtual void writeElement(const std::string &qName, const std::string &value)
bool isBrightnessOnly() const
virtual NodeType getNodeType() const =0
It return the type of node read.
virtual std::string getElementLocalName() const =0
It returns the local part of the element name in the case of an element node.
This class models a XML writer object.