This is a singleton for rendering geometries and features.
More...
#include <Renderer.h>
|
| void | begin (QPaintDevice *device, const te::gm::Envelope &e, int srid) |
| |
| void | draw (te::gm::Geometry *geom, bool showVertexes=false) |
| |
| void | draw (te::edit::Feature *feature, bool showVertexes=false) |
| |
| void | drawRepositories (const te::gm::Envelope &e, int srid) |
| |
| void | drawRepository (const std::string &source, const te::gm::Envelope &e, int srid) |
| |
| void | drawText (const std::string &text, te::gm::Point *p) |
| |
| void | drawVertexes (te::gm::Geometry *geom) |
| |
| void | drawVertexes (const std::vector< te::gm::LineString * > &lines) |
| |
| void | drawVertexes (te::gm::LineString *line) |
| |
| void | end () |
| |
| void | prepare (te::gm::GeomType type) |
| |
| void | prepare (te::edit::Feature *feature) |
| |
| void | setLineStyle (const QColor &lineColor, const std::size_t &lineWidth) |
| |
| void | setPointStyle (const QString &mark, const QColor &fillColor, const QColor &contourColor, const std::size_t &contourWidth, const std::size_t &size) |
| |
| void | setPolygonStyle (const QColor &fillColor, const QColor &contourColor, const std::size_t &contourWidth) |
| |
| void | setTextStyle (const QColor &textColor, const std::size_t &textPointSize) |
| |
This is a singleton for rendering geometries and features.
Definition at line 70 of file Renderer.h.
| te::edit::Renderer::Renderer |
( |
| ) |
|
|
protected |
It initializes the singleton instance of the renderer.
| te::edit::Renderer::~Renderer |
( |
| ) |
|
|
protected |
| void te::edit::Renderer::begin |
( |
QPaintDevice * |
device, |
|
|
const te::gm::Envelope & |
e, |
|
|
int |
srid |
|
) |
| |
| void te::edit::Renderer::draw |
( |
te::gm::Geometry * |
geom, |
|
|
bool |
showVertexes = false |
|
) |
| |
| void te::edit::Renderer::draw |
( |
te::edit::Feature * |
feature, |
|
|
bool |
showVertexes = false |
|
) |
| |
| void te::edit::Renderer::drawRepositories |
( |
const te::gm::Envelope & |
e, |
|
|
int |
srid |
|
) |
| |
| void te::edit::Renderer::drawRepository |
( |
const std::string & |
source, |
|
|
const te::gm::Envelope & |
e, |
|
|
int |
srid |
|
) |
| |
| void te::edit::Renderer::drawText |
( |
const std::string & |
text, |
|
|
te::gm::Point * |
p |
|
) |
| |
| void te::edit::Renderer::drawVertexes |
( |
const std::vector< te::gm::LineString * > & |
lines | ) |
|
| void te::edit::Renderer::end |
( |
| ) |
|
It returns a reference to the singleton instance.
- Returns
- A reference to the singleton instance.
Definition at line 126 of file Singleton.h.
| void te::edit::Renderer::setLineStyle |
( |
const QColor & |
lineColor, |
|
|
const std::size_t & |
lineWidth |
|
) |
| |
| void te::edit::Renderer::setPointStyle |
( |
const QString & |
mark, |
|
|
const QColor & |
fillColor, |
|
|
const QColor & |
contourColor, |
|
|
const std::size_t & |
contourWidth, |
|
|
const std::size_t & |
size |
|
) |
| |
| void te::edit::Renderer::setPolygonStyle |
( |
const QColor & |
fillColor, |
|
|
const QColor & |
contourColor, |
|
|
const std::size_t & |
contourWidth |
|
) |
| |
| void te::edit::Renderer::setTextStyle |
( |
const QColor & |
textColor, |
|
|
const std::size_t & |
textPointSize |
|
) |
| |
| void te::edit::Renderer::setupDefaultStyle |
( |
| ) |
|
|
private |
| QColor te::edit::Renderer::m_lineColor |
|
private |
| std::size_t te::edit::Renderer::m_lineWidth |
|
private |
| QColor te::edit::Renderer::m_pointContourColor |
|
private |
| std::size_t te::edit::Renderer::m_pointContourWidth |
|
private |
| QColor te::edit::Renderer::m_pointFillColor |
|
private |
| QString te::edit::Renderer::m_pointMark |
|
private |
| std::size_t te::edit::Renderer::m_pointSize |
|
private |
| QColor te::edit::Renderer::m_polygonContourColor |
|
private |
| std::size_t te::edit::Renderer::m_polygonContourWidth |
|
private |
| QColor te::edit::Renderer::m_polygonFillColor |
|
private |
| int te::edit::Renderer::m_srid |
|
private |
| bool te::edit::Renderer::m_styleChanged |
|
private |
| QColor te::edit::Renderer::m_textFillColor |
|
private |
| std::size_t te::edit::Renderer::m_textPointSize |
|
private |
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/src/terralib/edit/qt/Renderer.h