27 #include "../../../se/Fill.h"
28 #include "../../../se/ParameterValue.h"
29 #include "../../../se/Graphic.h"
30 #include "../../../se/Mark.h"
31 #include "../../../se/Stroke.h"
40 std::string* markName =
new std::string(
"circle");
65 style->
setGraphic(this->getGraphic()->clone());
77 m_graphic = newGraphic;
82 if(!m_graphic->getMarks().empty())
84 return m_graphic->getMarks()[0]->getFill()->
clone();
94 if(!m_graphic->getMarks().empty())
96 m_graphic->getMarks()[0]->setFill(newFill);
106 if(!m_graphic->getMarks().empty())
108 return m_graphic->getMarks()[0]->getStroke()->
clone();
118 if(!m_graphic->getMarks().empty())
120 m_graphic->getMarks()[0]->setStroke(newStroke);
130 return m_graphic->getMarks()[0]->
clone();
135 m_graphic->setMark(0, newMark);
QwtSymbol * getSymbol()
Returns a pointer to a QwtSymbol representing the current scatter's point style.
void add(ExternalGraphic *g)
Graphics can either be referenced from an external URL in a common format (such as GIF or SVG)...
void setStroke(Stroke *s)
A Fill specifies the pattern for filling an area geometry.
void setGraphic(te::se::Graphic *newGraphic)
It sets the he scatter's graphic.
A Stroke specifies the appearance of a linear geometry.
Stroke * clone() const
It creates a new copy of this object.
void setStroke(te::se::Stroke *newStroke)
It sets the scatter point's stroke.
Mark * clone() const
It creates a new copy of this object.
Fill * clone() const
It creates a new copy of this object.
ScatterStyle * clone()
Returns a pointer to a clone of this ScatterStyle.
ScatterStyle()
Constructor.
te::se::Stroke * getStroke()
Returns a copy of thepointer to the scatter point's stroke.
te::se::Mark * getMark()
Returns a copy of the pointer to the scatter's Mark.
void setMark(te::se::Mark *newMark)
It sets the he scatter's mark.
This file contains a class that specialize the QwtSymbol to draw a Terralib Mark. ...
void setWellKnownName(std::string *name)
The WellKnownName element gives the well-known name of the shape of the mark.
This file contains a set of utility chart functions.
TEQTWIDGETSEXPORT QwtText * Terralib2Qwt(const std::string &title)
~ScatterStyle()
Destructor.
void setFill(te::se::Fill *newFill)
It sets the scatter point's fill.
te::se::Graphic * getGraphic()
Returns a pointer to the scatter's graphic.
void setSize(ParameterValue *value)
The Size element gives the absolute size of the graphic in uoms encoded as a floating-point number...
te::se::Fill * getFill()
Returns a copy of the pointer to the scatter point's fill.
A Graphic is a graphic symbol with an inherent shape, color(s), and possibly size.
The "ParameterValueType" uses WFS-Filter expressions to give values for SE graphic parameters...
te::se::Graphic * m_graphic
The graphic used to edit the symbol's style.
A Mark specifies a geometric shape and applies coloring to it.