Several examples declarations. More...
#include "../../Config.h"Go to the source code of this file.
Macros | |
| #define | TE_EXAMPLE_USE_GDAL 1 |
| #define | TE_EXAMPLE_USE_OGR 1 |
Functions | |
| void | DrawingGeometricObjects () |
| It retrieves data from a Shape-file and prints it to a png graphics file. More... | |
| void | DrawingRasterObject () |
| It retrieves data from a tiff file and prints it to a png graphics file. More... | |
| void | DrawPNG () |
| It retrieves data from a Shape-file and prints it to a png graphics file. More... | |
| void | LoadModules () |
| It loads the data source drivers. More... | |
Several examples declarations.
Definition in file CanvasExamples.h.
| #define TE_EXAMPLE_USE_GDAL 1 |
Definition at line 33 of file CanvasExamples.h.
| #define TE_EXAMPLE_USE_OGR 1 |
Definition at line 31 of file CanvasExamples.h.
| void DrawingGeometricObjects | ( | ) |
It retrieves data from a Shape-file and prints it to a png graphics file.
Definition at line 11 of file DrawingGeometricObjects.cpp.
References te::qt::widgets::Canvas::draw(), te::gm::LineStringType, p, te::map::PNG, te::gm::PolygonType, te::qt::widgets::Canvas::save(), te::qt::widgets::Canvas::setLineColor(), te::gm::LineString::setPoint(), te::qt::widgets::Canvas::setPolygonContourColor(), te::qt::widgets::Canvas::setPolygonFillColor(), te::gm::CurvePolygon::setRingN(), and te::qt::widgets::Canvas::setWindow().
Referenced by main().
| void DrawingRasterObject | ( | ) |
It retrieves data from a tiff file and prints it to a png graphics file.
Definition at line 14 of file DrawingRasterObject.cpp.
References te::qt::widgets::Canvas::calcAspectRatio(), te::qt::widgets::Canvas::drawImage(), ds, te::da::GetFirstPropertyPos(), te::qt::widgets::Canvas::getHeight(), te::qt::widgets::Canvas::getWidth(), te::gm::Envelope::m_llx, te::gm::Envelope::m_lly, te::gm::Envelope::m_urx, te::gm::Envelope::m_ury, te::da::DataSourceFactory::make(), te::map::PNG, te::dt::RASTER_TYPE, te::qt::widgets::Canvas::save(), and te::qt::widgets::Canvas::setWindow().
Referenced by main().
| void DrawPNG | ( | ) |
It retrieves data from a Shape-file and prints it to a png graphics file.
Definition at line 16 of file DrawPNG.cpp.
References te::qt::widgets::Canvas::calcAspectRatio(), te::qt::widgets::Canvas::draw(), dt, te::dt::GEOMETRY_TYPE, te::da::GetFirstGeomProperty(), te::da::GetFirstPropertyPos(), te::gm::GeometryProperty::getGeometryType(), te::da::DataSourceFactory::make(), te::gm::MultiLineStringType, te::gm::MultiPolygonType, te::map::PNG, te::gm::PolygonType, te::qt::widgets::Canvas::save(), te::qt::widgets::Canvas::setLineColor(), te::qt::widgets::Canvas::setPointColor(), te::qt::widgets::Canvas::setPolygonContourColor(), te::qt::widgets::Canvas::setPolygonFillColor(), and te::qt::widgets::Canvas::setWindow().
Referenced by main().
| void LoadModules | ( | ) |
It loads the data source drivers.
It loads the data source drivers.
Load terralib modules.
It loads the data source drivers.
Definition at line 38 of file attic/unittest/dataaccess/LoadModules.h.