Namespace for the Map Tools module of TerraLib. More...
Namespaces | |
| serialize | |
Classes | |
| class | AbstractChartRenderer |
| This is the base class for chart renderers. More... | |
| class | AbstractExternalGraphicRenderer |
| An abstract class for conversion of Symbology Enconding ExternalGraphic elements to an image pattern. More... | |
| class | AbstractLayer |
| This is the base class for layers. More... | |
| class | AbstractLayerRenderer |
| It renders the objects associated to an abstract layer. i.e. a generic renderer. More... | |
| class | AbstractLayerRendererFactory |
| This is the concrete factory for renderers of a AbstractLayer. i.e. builds a generic renderer. More... | |
| class | AbstractMapDisplay |
| It defines the concept of a map display responsible for controlling how a set of layers are displayed. More... | |
| class | AbstractMarkRenderer |
| An abstract class for conversion of Symbology Enconding Mark elements to an image pattern. More... | |
| class | AbstractRenderer |
| It renders the objects associated to a layer. More... | |
| class | Canvas |
| A canvas is an abstraction of a drawing area. More... | |
| class | CanvasConfigurer |
A Symbology Enconding visitor that configures a given canvas based on symbolizers elements. If you want to use this visitor, use a command like: te::map::CanvasConfigurer cc(canvas); cc.config(symbolizer); More... | |
| class | Chart |
| This class represents the informations needed to build map charts. More... | |
| class | ChartRendererManager |
| This is a singleton for managing chart renderer instance available in the system. More... | |
| class | DataSetAdapterLayer |
| A layer with reference to a DataSetTypeConverter. More... | |
| class | DataSetLayer |
| A layer with reference to a dataset. More... | |
| class | ExternalGraphicRendererManager |
| This is a singleton for managing all external graphic renderers instances available in the system. More... | |
| class | FolderLayer |
| A layer that can be used as a container for other kind of layers. More... | |
| class | Grouping |
| This class contains the parameters needed for grouping the values of a Property. More... | |
| class | MapDisplay |
| This class controls how a set of layers are displayed. More... | |
| class | MarkRendererManager |
| This is a singleton for managing all mark renderers instances available in the system. More... | |
| class | Module |
| This singleton defines the TerraLib Map Tools module entry. More... | |
| class | QueryEncoder |
| A visitor that converts a OGC Filter Expression to TerraLib Expression. More... | |
| class | QueryLayer |
| A layer resulting from a query. More... | |
| class | QueryLayerRenderer |
| It renders the objects associated to a query layer. More... | |
| class | QueryLayerRendererFactory |
| This is the concrete factory for renderers of a QueryLayer. More... | |
| class | RasterContrast |
| This class contains the parameters needed to apply dynamic contrast over a raster. More... | |
| class | RasterLayer |
| A layer with reference to a raster. More... | |
| class | RasterTransform |
| A Raster Transform is a class that defines functions to transform a styled raster. More... | |
| class | RasterTransformConfigurer |
| A Raster Transform configurer generates a Raster Transform given a RasterSymbolzier. More... | |
| class | RendererFactory |
| This is the abstract factory for layer renderers. More... | |
| class | WorldDeviceTransformer |
| This class implements the logic for transforming from device coordinate to world coordinate and vice-versa. More... | |
Typedefs | |
| typedef boost::intrusive_ptr< AbstractLayer > | AbstractLayerPtr |
| typedef boost::intrusive_ptr< DataSetAdapterLayer > | DataSetAdapterLayerPtr |
| typedef boost::intrusive_ptr< DataSetLayer > | DataSetLayerPtr |
| typedef boost::intrusive_ptr< FolderLayer > | FolderLayerPtr |
| typedef te::da::DataSetType | LayerSchema |
| typedef boost::intrusive_ptr< QueryLayer > | QueryLayerPtr |
| typedef boost::intrusive_ptr< RasterLayer > | RasterLayerPtr |
Enumerations | |
| enum | AlignType { Top = 1, Center = 2, Bottom = 3, Left = 4, Right = 5 } |
| This enum contains values to control the alignment of components (like Canvas and MapDisplay). More... | |
| enum | ChartType { Pie, Bar } |
| The chart types. More... | |
| enum | CompositionMode { SourceOver, DestinationOver, Clear, Source, Destination, SourceIn, DestinationIn, SourceOut, DestinationOut, SourceAtop, DestinationAtop, Xor, Plus, Multiply, Screen, Overlay, Darken, Lighten, ColorDodge, ColorBurn, HardLight, SoftLight, Difference, Exclusion } |
| The composition mode used to render the canvas. More... | |
| enum | GroupingType { EQUAL_STEPS, QUANTIL, STD_DEVIATION, UNIQUE_VALUE } |
| The grouping type associated to the layer. More... | |
| enum | ImageType { UNKNOWN = 0, PNG = 1, JPEG = 2, GIF = 3, BMP = 4, XPM = 5, XBM = 6, WBMP = 7, TIFF = 8 } |
| This enum specifies the possible input and output image formats supported by the canvas API. More... | |
| enum | LineCapStyle { ButtCap = 0x00, SquareCap = 0x10, RoundCap = 0x20 } |
| This enum encodes enumerated values telling how line strings should be capped (at the two ends of the line string). More... | |
| enum | LineDashStyle { NoLine = 0, SolidLine = 1, DashLine = 2, DotLine = 3, DashDotLine = 4, DashDotDotLine = 5, CustomDashLine = 6 } |
| This enum encodes enumerated values telling how lines should be drawn. e.g. as a plain line or dash line, etc. More... | |
| enum | LineJoinStyle { MiterJoin = 0x00, BevelJoin = 0x40, RoundJoin = 0x80 } |
| This enum encodes enumerated values telling how line strings should be joined (between line segments). More... | |
| enum | PtMarkerType { MarkerNone = 0, MarkerSquare = 1, MarkerDiamond = 2, MarkerCircle = 3, MarkerCrossedCircle = 4, MarkerSemiEllipseLeft = 5, MarkerSemiEllipseRight = 6, MarkerSemiEllipseUp = 7, MarkerSemiEllipseDown = 8, MarkerTriangleLeft = 9, MarkerTriangleRight = 10, MarkerTriangleUp = 11, MarkerTriangleDown = 12, MarkerFourRays = 13, MarkerCross = 14, MarkerX = 15, MarkerDash = 16, MarkerDot = 17, MarkerPixel = 18, MarkerPattern = 19 } |
| enum | Visibility { NOT_VISIBLE, VISIBLE, PARTIALLY_VISIBLE } |
| Each layer can have three states of visibility. More... | |
Functions | |
| TEMAPEXPORT double | AdjustToPrecision (double val, int precision, bool reduce=false) |
| It adjusts a value to the precision specified. More... | |
| TEMAPEXPORT int | CalculatePlanarZone (te::gm::Envelope latLongBox) |
| Calculates the UTM zone from a Geographic envelope. More... | |
| TEMAPEXPORT void | CopyAbstractLayerInfo (const te::map::AbstractLayer *refLayer, te::map::AbstractLayer *layer) |
| Make a copy of refLayer abstract attributes to layer. Creating new id. More... | |
| TEMAPEXPORT te::color::RGBAColor ** | CreateMarker (PtMarkerType type, int width, const te::color::RGBAColor &color) |
| It creates a point marker. More... | |
| TEMAPEXPORT te::color::RGBAColor ** | CreateMarkerCircle (int width, const te::color::RGBAColor &color) |
| It create a circle marker. More... | |
| TEMAPEXPORT te::color::RGBAColor ** | CreateMarkerCross (int width, const te::color::RGBAColor &color) |
| It create a cross marker. More... | |
| TEMAPEXPORT te::color::RGBAColor ** | CreateMarkerCrossedCircle (int width, const te::color::RGBAColor &color) |
| It create a colorssed circle marker. More... | |
| TEMAPEXPORT te::color::RGBAColor ** | CreateMarkerDash (int width, const te::color::RGBAColor &color) |
| It create a dash marker. More... | |
| TEMAPEXPORT te::color::RGBAColor ** | CreateMarkerDiamond (int width, const te::color::RGBAColor &color) |
| It create a diamond marker. More... | |
| TEMAPEXPORT te::color::RGBAColor ** | CreateMarkerDot (int width, const te::color::RGBAColor &color) |
| It create a dot marker. More... | |
| TEMAPEXPORT te::color::RGBAColor ** | CreateMarkerFourRays (int width, const te::color::RGBAColor &color) |
| It creates a four rays marker. More... | |
| TEMAPEXPORT te::color::RGBAColor ** | CreateMarkerPixel (int width, const te::color::RGBAColor &color) |
| It create a pixel marker. More... | |
| TEMAPEXPORT te::color::RGBAColor ** | CreateMarkerSemiEllipseDown (int width, const te::color::RGBAColor &color) |
| It create a semi ellipse down marker. More... | |
| TEMAPEXPORT te::color::RGBAColor ** | CreateMarkerSemiEllipseLeft (int width, const te::color::RGBAColor &color) |
| It create a semi ellipse left marker. More... | |
| TEMAPEXPORT te::color::RGBAColor ** | CreateMarkerSemiEllipseRight (int width, const te::color::RGBAColor &color) |
| It create a semi ellipse right marker. More... | |
| TEMAPEXPORT te::color::RGBAColor ** | CreateMarkerSemiEllipseUp (int width, const te::color::RGBAColor &color) |
| It create a semi ellipse left marker. More... | |
| TEMAPEXPORT te::color::RGBAColor ** | CreateMarkerSquare (int width, const te::color::RGBAColor &color) |
| It create a square marker. More... | |
| TEMAPEXPORT te::color::RGBAColor ** | CreateMarkerTriangleDown (int width, const te::color::RGBAColor &color) |
| It create a semi triangle down marker. More... | |
| TEMAPEXPORT te::color::RGBAColor ** | CreateMarkerTriangleLeft (int width, const te::color::RGBAColor &color) |
| It create a semi triangle left marker. More... | |
| TEMAPEXPORT te::color::RGBAColor ** | CreateMarkerTriangleRight (int width, const te::color::RGBAColor &color) |
| It create a semi triangle right marker. More... | |
| TEMAPEXPORT te::color::RGBAColor ** | CreateMarkerTriangleUp (int width, const te::color::RGBAColor &color) |
| It create a semi triangle up marker. More... | |
| TEMAPEXPORT te::color::RGBAColor ** | CreateMarkerX (int width, const te::color::RGBAColor &color) |
| It create a x marker. More... | |
| TEMAPEXPORT te::da::DataSet * | DataSet2Memory (te::da::DataSet *dataset) |
| It creates a new In-Memory dataset with the items from the given dataset. More... | |
| TEMAPEXPORT void | DrawGeometries (te::da::DataSetType *type, te::da::DataSourcePtr ds, Canvas *canvas, const te::gm::Envelope &bbox, int bboxSRID, int srid, te::se::FeatureTypeStyle *style) |
| It draws the data set geometries in the given canvas using the informed SRID and style. More... | |
| TEMAPEXPORT void | DrawGeometries (te::da::DataSet *dataset, const std::size_t &gpos, Canvas *canvas, int fromSRID, int toSRID, te::common::TaskProgress *task=0) |
| It draws the data set geometries in the given canvas using the informed SRS. More... | |
| TEMAPEXPORT void | DrawRaster (te::da::DataSetType *type, te::da::DataSourcePtr ds, Canvas *canvas, const te::gm::Envelope &bbox, int bboxSRID, const te::gm::Envelope &visibleArea, int srid, te::se::CoverageStyle *style, te::map::RasterContrast *rc, const double &scale, bool *cancel) |
| TEMAPEXPORT void | DrawRaster (te::rst::Raster *raster, Canvas *canvas, const te::gm::Envelope &bbox, int bboxSRID, const te::gm::Envelope &visibleArea, int srid, te::se::CoverageStyle *style, te::map::RasterContrast *rc, const double &scale, bool *cancel) |
| TEMAPEXPORT void | GetDashStyle (const std::string &dasharray, std::vector< double > &style) |
| Converts a dasharray pattern coded by a string to a vector of double. More... | |
| TEMAPEXPORT te::gm::Envelope | GetExtent (const std::list< te::map::AbstractLayerPtr > &layers, int srid, bool onlyVisibles) |
| It calculates the extent of the given layers in the given SRID. More... | |
| TEMAPEXPORT te::gm::Envelope | GetExtent (const te::map::AbstractLayerPtr &layer, int srid, bool onlyVisibles) |
| It calculates the extent of the given layer in the given SRID. More... | |
| TEMAPEXPORT te::rst::Raster * | GetExtentRaster (te::rst::Raster *raster, int w, int h, const te::gm::Envelope &bbox, int bboxSRID, const te::gm::Envelope &visibleArea, int srid) |
| TEMAPEXPORT te::gm::GeomType | GetGeomType (const te::map::AbstractLayerPtr &layer) |
| It gets the geometry type of the given layer. More... | |
| TEMAPEXPORT te::rst::Raster * | GetRaster (AbstractLayer *layer) |
| It gets the raster referenced by the given data set layer. More... | |
| TEMAPEXPORT te::rst::RasterProperty * | GetRasterProperty (AbstractLayer *layer) |
| It gets the raster property referenced by the given data set layer. More... | |
| TEMAPEXPORT te::gm::Envelope | GetSelectedExtent (const std::list< te::map::AbstractLayerPtr > layers, int srid, bool onlyVisibles) |
| It calculates the extent of selected objects of the given layers in the given SRID. More... | |
| TEMAPEXPORT te::gm::Envelope | GetSelectedExtent (const te::map::AbstractLayerPtr layer, int srid, bool onlyVisibles) |
| It calculates the extent of selected objects of the given layer in the given SRID. More... | |
| TEMAPEXPORT std::string | GetUTMProj4FromZone (int zone) |
| Returns proj4 string with UTM projection in the specified zone (Only working for south). More... | |
| TEMAPEXPORT void | GetVisibleLayers (const std::list< te::map::AbstractLayerPtr > &layers, std::list< te::map::AbstractLayerPtr > &visibleLayers) |
| It gets the visible layers of the given layer list. More... | |
| TEMAPEXPORT void | GetVisibleLayers (const std::list< te::map::AbstractLayer * > &layers, std::list< te::map::AbstractLayer * > &visibleLayers) |
| TEMAPEXPORT void | GetVisibleLayers (const te::map::AbstractLayerPtr &layer, std::list< te::map::AbstractLayerPtr > &visibleLayers) |
| It gets the visible layers of the given layer. More... | |
| TEMAPEXPORT te::gm::Envelope | GetWorldBoxInPlanar (const te::gm::Envelope &worldBox, int srid) |
| It gets the requested envelope on a UTM planar projection. More... | |
| template<class iterator > | |
| void | GroupingByEqualSteps (std::string attrName, iterator begin, iterator end, int nSteps, std::vector< te::se::Rule * > &rules, int precision=0) |
| It groups the values defined by a range of iterators using the equal steps algorithm. More... | |
| template<class iterator > | |
| void | GroupingByQuantil (std::string attrName, iterator begin, iterator end, int nSteps, std::vector< te::se::Rule * > &rules, int precision=0) |
| It groups the values defined by a range of iterators using the quantil algorithm. More... | |
| template<class iterator > | |
| void | GroupingByStdDeviation (std::string attrName, iterator begin, iterator end, double nDevs, std::vector< te::se::Rule * > &rules, std::string &meanTitle, int precision=0) |
| It groups the values defined by a range of iterators using the standard deviation algorithm. More... | |
| TEMAPEXPORT void | GroupingByUniqueValues (std::string attrName, std::vector< std::string > &inputValues, int dataType, std::vector< te::se::Rule * > &rules, int precision) |
| It groups the values using the unique value algorithm. More... | |
Namespace for the Map Tools module of TerraLib.
| typedef boost::intrusive_ptr<AbstractLayer> te::map::AbstractLayerPtr |
Definition at line 618 of file AbstractLayer.h.
| typedef boost::intrusive_ptr<DataSetAdapterLayer> te::map::DataSetAdapterLayerPtr |
Definition at line 157 of file DataSetAdapterLayer.h.
| typedef boost::intrusive_ptr<DataSetLayer> te::map::DataSetLayerPtr |
Definition at line 148 of file DataSetLayer.h.
| typedef boost::intrusive_ptr<FolderLayer> te::map::FolderLayerPtr |
Definition at line 123 of file FolderLayer.h.
Definition at line 64 of file AbstractLayer.h.
| typedef boost::intrusive_ptr<QueryLayer> te::map::QueryLayerPtr |
Definition at line 170 of file QueryLayer.h.
| typedef boost::intrusive_ptr<RasterLayer> te::map::RasterLayerPtr |
Definition at line 165 of file RasterLayer.h.
| enum te::map::AlignType |
This enum contains values to control the alignment of components (like Canvas and MapDisplay).
| Enumerator | |
|---|---|
| Top |
Top. |
| Center |
Center. |
| Bottom |
Bottom. |
| Left |
Left. |
| Right |
Right. |
Definition at line 125 of file src/terralib/maptools/Enums.h.
| enum te::map::ChartType |
The chart types.
| Enumerator | |
|---|---|
| Pie |
A pie chart. |
| Bar |
A bar chart. |
Definition at line 164 of file src/terralib/maptools/Enums.h.
The composition mode used to render the canvas.
| Enumerator | |
|---|---|
| SourceOver |
This is the default mode. The alpha of the source is used to blend the pixel on top of the destination. |
| DestinationOver |
The alpha of the destination is used to blend it on top of the source pixels. |
| Clear |
The pixels in the destination are cleared (set to fully transparent) independent of the source. |
| Source |
The output is the source pixel. (This means a basic copy operation and is identical to SourceOver when the source pixel is opaque). |
| Destination |
The output is the destination pixel. This means that the blending has no effect. |
| SourceIn |
The output is the source, where the alpha is reduced by that of the destination. |
| DestinationIn |
The output is the destination, where the alpha is reduced by that of the source. |
| SourceOut |
The output is the source, where the alpha is reduced by the inverse of destination. |
| DestinationOut |
The output is the destination, where the alpha is reduced by the inverse of the source. |
| SourceAtop |
The source pixel is blended on top of the destination, with the alpha of the source pixel reduced by the alpha of the destination pixel. |
| DestinationAtop |
The destination pixel is blended on top of the source, with the alpha of the destination pixel is reduced by the alpha of the destination pixel. |
| Xor |
The source, whose alpha is reduced with the inverse of the destination alpha, is merged with the destination, whose alpha is reduced by the inverse of the source alpha. |
| Plus |
Both the alpha and color of the source and destination pixels are added together. |
| Multiply |
The output is the source color multiplied by the destination. Multiplying a color with white leaves the color unchanged, while multiplying a color with black produces black. |
| Screen |
The source and destination colors are inverted and then multiplied. Screening a color with white produces white, whereas screening a color with black leaves the color unchanged. |
| Overlay |
Multiplies or screens the colors depending on the destination color. The destination color is mixed with the source color to reflect the lightness or darkness of the destination. |
| Darken |
The darker of the source and destination colors is selected. |
| Lighten |
The lighter of the source and destination colors is selected. |
| ColorDodge |
The destination color is brightened to reflect the source color. A black source color leaves the destination color unchanged. |
| ColorBurn |
The destination color is darkened to reflect the source color. A white source color leaves the destination color unchanged. |
| HardLight |
Multiplies or screens the colors depending on the source color. A light source color will lighten the destination color, whereas a dark source color will darken the destination color. |
| SoftLight |
Darkens or lightens the colors depending on the source color. Similar to CompositionMode_HardLight. |
| Difference |
Subtracts the darker of the colors from the lighter. Painting with white inverts the destination color, whereas painting with black leaves the destination color unchanged. |
| Exclusion |
Similar to CompositionMode_Difference, but with a lower contrast. Painting with white inverts the destination color, whereas painting with black leaves the destination color unchanged. |
Definition at line 175 of file src/terralib/maptools/Enums.h.
The grouping type associated to the layer.
Definition at line 151 of file src/terralib/maptools/Enums.h.
| enum te::map::ImageType |
This enum specifies the possible input and output image formats supported by the canvas API.
Definition at line 38 of file src/terralib/maptools/Enums.h.
This enum encodes enumerated values telling how line strings should be capped (at the two ends of the line string).
Definition at line 72 of file src/terralib/maptools/Enums.h.
This enum encodes enumerated values telling how lines should be drawn. e.g. as a plain line or dash line, etc.
Definition at line 56 of file src/terralib/maptools/Enums.h.
This enum encodes enumerated values telling how line strings should be joined (between line segments).
Definition at line 84 of file src/terralib/maptools/Enums.h.
Definition at line 96 of file src/terralib/maptools/Enums.h.
| enum te::map::Visibility |
Each layer can have three states of visibility.
Definition at line 139 of file src/terralib/maptools/Enums.h.
It adjusts a value to the precision specified.
| value | The value to be adjusted. |
| precision | The precision the given value must be adjusted to. |
| reduce | Flag indicating if the value must be added or subtracted to the value represented by the precision. |
The value adjusted to the precision specified.
Definition at line 130 of file GroupingAlgorithms.cpp.
References p.
Referenced by GroupingByEqualSteps(), and GroupingByQuantil().
| int te::map::CalculatePlanarZone | ( | te::gm::Envelope | latLongBox | ) |
Calculates the UTM zone from a Geographic envelope.
| latLongBox | Geographic envelope |
Definition at line 895 of file src/terralib/maptools/Utils.cpp.
References te::gm::Envelope::getCenter(), TeCDR, TeCRD, and te::gm::Coord2D::x.
Referenced by GetWorldBoxInPlanar(), and PlanarSRID().
| void te::map::CopyAbstractLayerInfo | ( | const te::map::AbstractLayer * | refLayer, |
| te::map::AbstractLayer * | layer | ||
| ) |
Make a copy of refLayer abstract attributes to layer. Creating new id.
| refLayer | The reference layer |
| layer | Target layer |
Definition at line 943 of file src/terralib/maptools/Utils.cpp.
References te::map::Chart::clone(), te::map::Grouping::clone(), te::se::Style::clone(), te::map::AbstractLayer::getChart(), te::map::AbstractLayer::getCompositionMode(), te::map::AbstractLayer::getDataSetName(), te::map::AbstractLayer::getDataSourceId(), te::map::AbstractLayer::getEncoding(), te::map::AbstractLayer::getExtent(), te::map::AbstractLayer::getGeomPropertyName(), te::map::AbstractLayer::getGrouping(), te::map::AbstractLayer::getRasterContrast(), te::map::AbstractLayer::getSelectionStyle(), te::map::AbstractLayer::getSRID(), te::map::AbstractLayer::getStyle(), te::map::AbstractLayer::getTitle(), te::map::AbstractLayer::getVisibility(), te::map::AbstractLayer::setChart(), te::map::AbstractLayer::setCompositionMode(), te::map::AbstractLayer::setDataSetName(), te::map::AbstractLayer::setDataSourceId(), te::map::AbstractLayer::setEncoding(), te::map::AbstractLayer::setExtent(), te::map::AbstractLayer::setGeomPropertytName(), te::map::AbstractLayer::setGrouping(), te::map::AbstractLayer::setId(), te::map::AbstractLayer::setRasterContrast(), te::map::AbstractLayer::setSelectionStyle(), te::map::AbstractLayer::setSRID(), te::map::AbstractLayer::setStyle(), te::map::AbstractLayer::setTitle(), and te::map::AbstractLayer::setVisibility().
Referenced by te::map::FolderLayer::clone(), te::map::DataSetLayer::clone(), te::map::QueryLayer::clone(), te::map::RasterLayer::clone(), and te::ws::ogc::wms::WMSLayer::clone().
| te::color::RGBAColor ** te::map::CreateMarker | ( | PtMarkerType | type, |
| int | width, | ||
| const te::color::RGBAColor & | color | ||
| ) |
It creates a point marker.
| type | The marker type. |
| width | The marker width. |
| color | The marker color. |
Definition at line 31 of file PtMarker.cpp.
References CreateMarkerCircle(), CreateMarkerCross(), CreateMarkerCrossedCircle(), CreateMarkerDash(), CreateMarkerDiamond(), CreateMarkerDot(), CreateMarkerFourRays(), CreateMarkerPixel(), CreateMarkerSemiEllipseDown(), CreateMarkerSemiEllipseLeft(), CreateMarkerSemiEllipseRight(), CreateMarkerSemiEllipseUp(), CreateMarkerSquare(), CreateMarkerTriangleDown(), CreateMarkerTriangleLeft(), CreateMarkerTriangleRight(), CreateMarkerTriangleUp(), CreateMarkerX(), MarkerCircle, MarkerCross, MarkerCrossedCircle, MarkerDash, MarkerDiamond, MarkerDot, MarkerFourRays, MarkerPixel, MarkerSemiEllipseDown, MarkerSemiEllipseLeft, MarkerSemiEllipseRight, MarkerSemiEllipseUp, MarkerSquare, MarkerTriangleDown, MarkerTriangleLeft, MarkerTriangleRight, MarkerTriangleUp, and MarkerX.
| te::color::RGBAColor ** te::map::CreateMarkerCircle | ( | int | width, |
| const te::color::RGBAColor & | color | ||
| ) |
It create a circle marker.
| width | The marker width. |
| color | The marker color. |
Definition at line 192 of file PtMarker.cpp.
Referenced by CreateMarker(), and CreateMarkerDot().
| te::color::RGBAColor ** te::map::CreateMarkerCross | ( | int | width, |
| const te::color::RGBAColor & | color | ||
| ) |
It create a cross marker.
| width | The marker width. |
| color | The marker color. |
Definition at line 525 of file PtMarker.cpp.
References p.
Referenced by CreateMarker().
| te::color::RGBAColor ** te::map::CreateMarkerCrossedCircle | ( | int | width, |
| const te::color::RGBAColor & | color | ||
| ) |
It create a colorssed circle marker.
| width | The marker width. |
| color | The marker color. |
Definition at line 225 of file PtMarker.cpp.
Referenced by CreateMarker().
| te::color::RGBAColor ** te::map::CreateMarkerDash | ( | int | width, |
| const te::color::RGBAColor & | color | ||
| ) |
It create a dash marker.
| width | The marker width. |
| color | The marker color. |
Definition at line 572 of file PtMarker.cpp.
References p.
Referenced by CreateMarker().
| te::color::RGBAColor ** te::map::CreateMarkerDiamond | ( | int | width, |
| const te::color::RGBAColor & | color | ||
| ) |
It create a diamond marker.
| width | The marker width. |
| color | The marker color. |
Definition at line 131 of file PtMarker.cpp.
References p.
Referenced by CreateMarker().
| te::color::RGBAColor ** te::map::CreateMarkerDot | ( | int | width, |
| const te::color::RGBAColor & | color | ||
| ) |
It create a dot marker.
| width | The marker width. |
| color | The marker color. |
Definition at line 593 of file PtMarker.cpp.
References CreateMarkerCircle().
Referenced by CreateMarker().
| te::color::RGBAColor ** te::map::CreateMarkerFourRays | ( | int | width, |
| const te::color::RGBAColor & | color | ||
| ) |
It creates a four rays marker.
| width | The marker width. |
| color | The marker color. |
Definition at line 76 of file PtMarker.cpp.
Referenced by CreateMarker().
| te::color::RGBAColor ** te::map::CreateMarkerPixel | ( | int | width, |
| const te::color::RGBAColor & | color | ||
| ) |
It create a pixel marker.
| width | The marker width. |
| color | The marker color. |
Definition at line 598 of file PtMarker.cpp.
References p.
Referenced by CreateMarker().
| te::color::RGBAColor ** te::map::CreateMarkerSemiEllipseDown | ( | int | width, |
| const te::color::RGBAColor & | color | ||
| ) |
It create a semi ellipse down marker.
| width | The marker width. |
| color | The marker color. |
Definition at line 370 of file PtMarker.cpp.
Referenced by CreateMarker().
| te::color::RGBAColor ** te::map::CreateMarkerSemiEllipseLeft | ( | int | width, |
| const te::color::RGBAColor & | color | ||
| ) |
It create a semi ellipse left marker.
| width | The marker width. |
| color | The marker color. |
Definition at line 265 of file PtMarker.cpp.
Referenced by CreateMarker().
| te::color::RGBAColor ** te::map::CreateMarkerSemiEllipseRight | ( | int | width, |
| const te::color::RGBAColor & | color | ||
| ) |
It create a semi ellipse right marker.
| width | The marker width. |
| color | The marker color. |
Definition at line 300 of file PtMarker.cpp.
Referenced by CreateMarker().
| te::color::RGBAColor ** te::map::CreateMarkerSemiEllipseUp | ( | int | width, |
| const te::color::RGBAColor & | color | ||
| ) |
It create a semi ellipse left marker.
| width | The marker width. |
| color | The marker color. |
Definition at line 335 of file PtMarker.cpp.
Referenced by CreateMarker().
| te::color::RGBAColor ** te::map::CreateMarkerSquare | ( | int | width, |
| const te::color::RGBAColor & | color | ||
| ) |
It create a square marker.
| width | The marker width. |
| color | The marker color. |
Definition at line 170 of file PtMarker.cpp.
References p.
Referenced by CreateMarker().
| te::color::RGBAColor ** te::map::CreateMarkerTriangleDown | ( | int | width, |
| const te::color::RGBAColor & | color | ||
| ) |
It create a semi triangle down marker.
| width | The marker width. |
| color | The marker color. |
Definition at line 495 of file PtMarker.cpp.
References p.
Referenced by CreateMarker().
| te::color::RGBAColor ** te::map::CreateMarkerTriangleLeft | ( | int | width, |
| const te::color::RGBAColor & | color | ||
| ) |
It create a semi triangle left marker.
| width | The marker width. |
| color | The marker color. |
Definition at line 405 of file PtMarker.cpp.
References p.
Referenced by CreateMarker().
| te::color::RGBAColor ** te::map::CreateMarkerTriangleRight | ( | int | width, |
| const te::color::RGBAColor & | color | ||
| ) |
It create a semi triangle right marker.
| width | The marker width. |
| color | The marker color. |
Definition at line 435 of file PtMarker.cpp.
References p.
Referenced by CreateMarker().
| te::color::RGBAColor ** te::map::CreateMarkerTriangleUp | ( | int | width, |
| const te::color::RGBAColor & | color | ||
| ) |
It create a semi triangle up marker.
| width | The marker width. |
| color | The marker color. |
Definition at line 465 of file PtMarker.cpp.
References p.
Referenced by CreateMarker().
| te::color::RGBAColor ** te::map::CreateMarkerX | ( | int | width, |
| const te::color::RGBAColor & | color | ||
| ) |
It create a x marker.
| width | The marker width. |
| color | The marker color. |
Definition at line 549 of file PtMarker.cpp.
References p.
Referenced by CreateMarker().
| te::da::DataSet * te::map::DataSet2Memory | ( | te::da::DataSet * | dataset | ) |
It creates a new In-Memory dataset with the items from the given dataset.
| dataset | The dataset which will provide the items. Do not pass NULL! |
Definition at line 331 of file src/terralib/maptools/Utils.cpp.
References DataSet(), te::da::DataSet::moveNext(), and TE_TR.
| void te::map::DrawGeometries | ( | te::da::DataSetType * | type, |
| te::da::DataSourcePtr | ds, | ||
| Canvas * | canvas, | ||
| const te::gm::Envelope & | bbox, | ||
| int | bboxSRID, | ||
| int | srid, | ||
| te::se::FeatureTypeStyle * | style | ||
| ) |
It draws the data set geometries in the given canvas using the informed SRID and style.
The informed bounding box (bbox) is used to constraint the data set to be drawn. Here, we assume that the given bbox was pre-processed. i.e. the bbox was clipped and contains the same projection of data set geometries.
| type | The data set type that describes the data set that will be drawn. |
| ds | A datasource that will be used to retrieve the data set objects. |
| canvas | The canvas were the data set geometries will be drawn. |
| bbox | The interest area to render the geometries. |
| bboxSRID | The SRID of interest area. |
| srid | The SRID to be used to draw the data set geometries. |
| style | The style that will be used. |
Definition at line 341 of file src/terralib/maptools/Utils.cpp.
References te::map::CanvasConfigurer::config(), te::common::TaskProgress::DRAW, te::dt::GEOMETRY_TYPE, te::map::QueryEncoder::getExpression(), te::se::Rule::getFilter(), te::da::GetFirstGeomProperty(), te::da::GetFirstPropertyPos(), te::dt::Property::getName(), te::se::Style::getRule(), te::se::Style::getRules(), te::se::Rule::getSymbolizers(), te::da::DataSetType::hasGeom(), te::gm::INTERSECTS, te::gm::Envelope::isValid(), te::da::Where::setExp(), and TE_TR.
| void te::map::DrawGeometries | ( | te::da::DataSet * | dataset, |
| const std::size_t & | gpos, | ||
| Canvas * | canvas, | ||
| int | fromSRID, | ||
| int | toSRID, | ||
| te::common::TaskProgress * | task = 0 |
||
| ) |
It draws the data set geometries in the given canvas using the informed SRS.
| dataset | The data set that will be drawn. |
| gpos | The geometry property position that will be drawn. |
| canvas | The canvas were the data set geometries will be drawn. |
| fromSRID | The SRID of data set geometries. |
| srid | The SRID to be used to draw the data set geometries. |
| task | An optional task that can be used cancel the draw process. |
Definition at line 463 of file src/terralib/maptools/Utils.cpp.
References te::map::Canvas::draw(), te::da::DataSet::getGeometry(), te::common::TaskProgress::isActive(), te::da::DataSet::moveNext(), te::common::TaskProgress::pulse(), and TE_UNKNOWN_SRS.
| void te::map::DrawRaster | ( | te::da::DataSetType * | type, |
| te::da::DataSourcePtr | ds, | ||
| Canvas * | canvas, | ||
| const te::gm::Envelope & | bbox, | ||
| int | bboxSRID, | ||
| const te::gm::Envelope & | visibleArea, | ||
| int | srid, | ||
| te::se::CoverageStyle * | style, | ||
| te::map::RasterContrast * | rc, | ||
| const double & | scale, | ||
| bool * | cancel | ||
| ) |
Definition at line 508 of file src/terralib/maptools/Utils.cpp.
References te::da::GetFirstPropertyPos(), te::da::GetFirstRasterProperty(), te::dt::Property::getName(), te::da::DataSetType::hasRaster(), te::gm::INTERSECTS, te::gm::Envelope::isValid(), te::dt::RASTER_TYPE, and TE_TR.
Referenced by te::ws::ogc::wms::WMSLayerRenderer::draw(), te::qt::widgets::DataSetDisplay::draw(), te::map::QueryLayerRenderer::draw(), te::map::AbstractLayerRenderer::draw(), te::mnt::ImageGenerationDialog::drawPreview(), te::qt::widgets::ContrastDialogForm::drawPreview(), te::qt::widgets::FilterDialogForm::drawPreview(), te::qt::widgets::ColorTransformDialog::drawPreview(), te::qt::widgets::RasterSlicingWizardPage::drawPreview(), and te::qt::widgets::RasterNavigatorWidget::drawRaster().
| void te::map::DrawRaster | ( | te::rst::Raster * | raster, |
| Canvas * | canvas, | ||
| const te::gm::Envelope & | bbox, | ||
| int | bboxSRID, | ||
| const te::gm::Envelope & | visibleArea, | ||
| int | srid, | ||
| te::se::CoverageStyle * | style, | ||
| te::map::RasterContrast * | rc, | ||
| const double & | scale, | ||
| bool * | cancel | ||
| ) |
Definition at line 538 of file src/terralib/maptools/Utils.cpp.
References te::map::RasterTransform::apply(), b, te::map::CanvasConfigurer::config(), te::map::RasterTransformConfigurer::configure(), te::common::TaskProgress::DRAW, te::map::Canvas::draw(), te::map::Canvas::drawImage(), te::common::Free(), te::rst::Grid::geoToGrid(), te::rst::Raster::getBand(), te::rst::Raster::getBandDataType(), te::rst::Raster::getExtent(), te::gm::GetGeomFromEnvelope(), te::rst::Raster::getGrid(), te::map::Canvas::getHeight(), te::common::Singleton< RasterSummaryManager >::getInstance(), te::se::Rule::getMaxScaleDenominator(), te::se::Rule::getMinScaleDenominator(), te::rst::Raster::getMultiResLevel(), te::rst::Raster::getMultiResLevelsCount(), te::rst::Raster::getName(), te::rst::Raster::getNumberOfBands(), te::rst::Raster::getNumberOfColumns(), te::rst::Raster::getNumberOfRows(), te::rst::Band::getProperty(), te::rst::Raster::getResolutionX(), te::rst::Raster::getResolutionY(), te::se::Style::getRule(), te::rst::Raster::getSRID(), te::se::Rule::getSymbolizers(), te::map::RasterContrast::getType(), te::map::RasterContrast::getValues(), te::map::Canvas::getWidth(), te::common::TaskProgress::isActive(), te::rst::BandProperty::m_noDataValue, te::common::TaskProgress::pulse(), te::rst::Round(), te::map::RasterTransform::setContrastGainsAndOffsets(), te::map::RasterTransform::setContrastType(), te::map::RasterTransform::setLinearTransfParameters(), te::rst::Grid::setSRID(), te::rst::SUMMARY_MAX, te::rst::SUMMARY_MIN, TE_TR, TE_UNKNOWN_SRS, te::dt::UCHAR_TYPE, te::gm::Coord2D::x, and te::gm::Coord2D::y.
| void te::map::GetDashStyle | ( | const std::string & | dasharray, |
| std::vector< double > & | style | ||
| ) |
Converts a dasharray pattern coded by a string to a vector of double.
| dasharray | The dasharray pattern coded by a string. |
| style | The vector of double that will be filled with the values extracted from dasharray string. |
Definition at line 173 of file src/terralib/maptools/Utils.cpp.
References te::common::Tokenize().
Referenced by te::qt::widgets::Config(), te::map::CanvasConfigurer::config(), te::qt::widgets::BasicStrokeWidget::fillStrokeDashStyleComboBox(), and te::qt::widgets::BasicStrokePropertyItem::getDashIcons().
| te::gm::Envelope te::map::GetExtent | ( | const std::list< te::map::AbstractLayerPtr > & | layers, |
| int | srid, | ||
| bool | onlyVisibles | ||
| ) |
It calculates the extent of the given layers in the given SRID.
| layers | The layer list that will be consulted. |
| srid | The result extent SRID. |
| onlyVisibles | A flag that indicates if the method should consider only the visible layers. |
Definition at line 302 of file src/terralib/maptools/Utils.cpp.
References GetExtent(), and te::gm::Envelope::Union().
Referenced by te::qt::af::MapDisplay::draw(), te::qt::plugins::gdal::GeoFileDragAndDropHandler::eventFilter(), te::qt::plugins::ogr::GeoFileDragAndDropHandler::eventFilter(), te::qt::af::MapDisplay::fit(), te::qt::widgets::ContrastDialogForm::resetWindow(), and te::qt::widgets::EyeBirdMapDisplayWidget::setList().
| te::gm::Envelope te::map::GetExtent | ( | const te::map::AbstractLayerPtr & | layer, |
| int | srid, | ||
| bool | onlyVisibles | ||
| ) |
It calculates the extent of the given layer in the given SRID.
| layer | The layer that will be consulted. |
| srid | The result extent SRID. |
| onlyVisibles | A flag that indicates if the method should consider only the visible layers. |
Definition at line 312 of file src/terralib/maptools/Utils.cpp.
References GetExtent(), NOT_VISIBLE, TE_UNKNOWN_SRS, te::gm::Envelope::transform(), and te::gm::Envelope::Union().
| te::rst::Raster * te::map::GetExtentRaster | ( | te::rst::Raster * | raster, |
| int | w, | ||
| int | h, | ||
| const te::gm::Envelope & | bbox, | ||
| int | bboxSRID, | ||
| const te::gm::Envelope & | visibleArea, | ||
| int | srid | ||
| ) |
Definition at line 762 of file src/terralib/maptools/Utils.cpp.
References band, te::rst::Grid::geoToGrid(), te::rst::Raster::getBand(), te::rst::Raster::getGrid(), te::rst::Raster::getNumberOfBands(), te::rst::Raster::getNumberOfColumns(), te::rst::Grid::getNumberOfColumns(), te::rst::Raster::getNumberOfRows(), te::rst::Grid::getNumberOfRows(), te::rst::Band::getProperty(), te::rst::BandProperty::getType(), te::rst::Raster::getValues(), te::sa::Grid, te::rst::Grid::gridToGeo(), te::rst::RasterFactory::make(), te::rst::Round(), te::rst::Raster::setValues(), TE_UNKNOWN_SRS, te::gm::Coord2D::x, and te::gm::Coord2D::y.
Referenced by te::qt::widgets::RasterNavigatorWidget::getExtentRaster(), and te::qt::widgets::getRasterVisibleArea().
| te::gm::GeomType te::map::GetGeomType | ( | const te::map::AbstractLayerPtr & | layer | ) |
It gets the geometry type of the given layer.
| layer | The layer that will be consulted. |
Definition at line 826 of file src/terralib/maptools/Utils.cpp.
References te::dt::GEOMETRY_TYPE, te::gm::GeometryMType, te::gm::GeometryType, te::gm::GeometryZMType, te::gm::GeometryZType, te::da::GetFirstGeomProperty(), te::da::GetFirstPropertyPos(), and te::gm::UnknownGeometryType.
Referenced by te::sa::CreateBayesGrouping(), te::sa::CreateKernelGrouping(), te::sa::CreateSampleGeneratorStratifiedGrouping(), te::sa::CreateSkaterGrouping(), te::qt::widgets::RasterizationWizardPage::getGeometryType(), te::qt::plugins::tv::TimeViewerEditLegendDialog::getGeometryType(), and te::qt::widgets::GroupingWidget::getGeometryType().
| te::rst::Raster * te::map::GetRaster | ( | AbstractLayer * | layer | ) |
It gets the raster referenced by the given data set layer.
| layer | The data set layer that will be used to retrieve the raster. |
| Exception | It will throw an exception if the raster could not be retrieved. |
Definition at line 210 of file src/terralib/maptools/Utils.cpp.
References te::se::CreateCoverageStyle(), te::rst::RasterProperty::getBandProperties(), te::map::AbstractLayer::getData(), te::se::GetDouble(), te::da::GetFirstPropertyPos(), te::da::GetFirstRasterProperty(), te::se::RasterSymbolizer::getNoDataValue(), te::se::Style::getRule(), te::se::Style::getRules(), te::map::AbstractLayer::getSchema(), te::map::AbstractLayer::getSRID(), te::map::AbstractLayer::getStyle(), te::se::Rule::getSymbolizers(), te::rst::BandProperty::m_noDataValue, te::dt::RASTER_TYPE, te::map::AbstractLayer::setStyle(), and TE_TR.
Referenced by MainWindow::addDataSetLayer(), te::qt::widgets::SegmenterAdvancedOptionsWizardPage::applyVectorization(), te::qt::widgets::ClassifierWizard::buildLegend(), CreateCanvas(), te::qt::widgets::createHistogram(), te::sa::CreateKernelColorMaping(), te::ws::ogc::wms::WMSLayerRenderer::draw(), te::map::AbstractLayerRenderer::draw(), DrawRasterStyledLayers(), te::qt::widgets::RasterizationWizard::execute(), te::qt::widgets::RegisterWizard::execute(), te::qt::widgets::SegmenterWizard::execute(), te::qt::widgets::ClassifierWizard::execute(), te::qt::widgets::MixtureModelWizard::execute(), te::qt::widgets::RasterSlicingWizard::execute(), te::qt::widgets::ContrastDialogForm::execute(), te::qt::widgets::FilterDialogForm::execute(), te::qt::widgets::ColorTransformDialog::execute(), te::qt::widgets::CloudDetectionDialog::execute(), te::qt::widgets::ArithmeticOpDialogForm::execute(), te::qt::widgets::ComposeBandsWizard::executeCompose(), te::qt::widgets::ComposeBandsWizard::executeDecompose(), te::qt::widgets::ClippingWizard::executeDimensionClipping(), te::qt::widgets::MosaicWizard::executeGeoMosaic(), te::qt::widgets::FusionWizard::executeIHS(), te::qt::widgets::ClippingWizard::executeLayerClipping(), te::qt::widgets::ClippingWizard::executeLayerClippingAttribute(), te::qt::widgets::ClippingWizard::executeLayerExtentClipping(), te::qt::widgets::FusionWizard::executePCA(), te::qt::widgets::MosaicWizard::executeSequenceMosaic(), te::qt::widgets::MosaicWizard::executeTiePointMosaic(), te::qt::widgets::FusionWizard::executeWisper(), te::qt::widgets::ComposeBandsWizardPage::getComposeParameters(), te::qt::widgets::ComposeBandsWizardPage::getDecomposeParameters(), te::qt::widgets::SegmenterWizardPage::getInputParams(), te::qt::widgets::ClassifierWizardPage::getInputParams(), te::qt::widgets::ArithmeticOpDialogForm::getRasterBands(), te::qt::widgets::ContrastDialogForm::getRasterFromROI(), te::qt::widgets::FilterDialogForm::getRasterFromROI(), te::qt::widgets::RasterSlicingWizardPage::getRasterFromROI(), te::qt::widgets::HistogramDataWidget::HistogramDataWidget(), te::qt::widgets::ContrastDialogForm::listBands(), te::qt::widgets::ClassifierWizardPage::listBands(), te::qt::widgets::FilterDialogForm::listBands(), te::qt::widgets::MixtureModelWizardPage::loadMixtureModelComponents(), te::qt::plugins::mnt::ShowValuesTool::mouseMoveEvent(), te::qt::widgets::ContrastDialogForm::onAllImageRadioButtonToggled(), te::qt::widgets::ContrastDialogForm::onBandChecked(), te::qt::widgets::RasterSymbolizerWidget::onCalcRasterSummaryClicked(), te::qt::widgets::ContrastDialogForm::onCellChanged(), te::qt::widgets::RasterSymbolizerWidget::onHistogramToolButtonClicked(), te::mnt::SlopeDialog::onInputComboBoxChanged(), te::mnt::SlopeDialog::onOkPushButtonClicked(), te::mnt::MNTGenerationDialog::onOkPushButtonClicked(), te::mnt::ImageGenerationDialog::onOkPushButtonClicked(), te::qt::widgets::ClippingWizardPage::onPreviewDimensionClicked(), te::qt::widgets::HistogramDataWidget::onPropertyComboBoxIndexChanged(), te::mnt::VolumeDialog::onRasterInputComboBoxChanged(), te::qt::widgets::ArithmeticOpDialogForm::onSearchLayerToolButtonPressed(), te::qt::widgets::ArithmeticOpDialogForm::paramsFromOpUserdDef(), te::qt::widgets::MixtureModelWizardPage::saveMixtureModelComponents(), te::qt::widgets::ContrastDialogForm::set(), te::qt::widgets::CloudDetectionDialog::setCloudBands(), te::qt::widgets::ContrastDialogForm::setDefaultValues(), te::qt::widgets::FilterDialogForm::setList(), te::qt::widgets::FilterDialogForm::setParams(), te::qt::widgets::CloudDetectionDialog::setShadowBands(), te::qt::widgets::TiePointsLocatorDialog::TiePointsLocatorDialog(), and te::qt::widgets::RasterSlicingWizardPage::updateHistogram().
| te::rst::RasterProperty * te::map::GetRasterProperty | ( | AbstractLayer * | layer | ) |
It gets the raster property referenced by the given data set layer.
| layer | The data set layer that will be used to retrieve the raster property. |
| Exception | It will throw an exception if the raster property could not be retrieved. |
Definition at line 181 of file src/terralib/maptools/Utils.cpp.
References ds, te::map::AbstractLayer::getDataSetName(), te::da::GetDataSource(), te::map::AbstractLayer::getDataSourceId(), and TE_TR.
| te::gm::Envelope te::map::GetSelectedExtent | ( | const std::list< te::map::AbstractLayerPtr > | layers, |
| int | srid, | ||
| bool | onlyVisibles | ||
| ) |
It calculates the extent of selected objects of the given layers in the given SRID.
| layers | The layer list that will be consulted. |
| srid | The result extent SRID. |
| onlyVisibles | A flag that indicates if the method should consider only the visible layers. |
Definition at line 94 of file src/terralib/maptools/Utils.cpp.
References te::gm::Envelope::Union().
Referenced by GetSelectedExtent(), te::qt::af::BaseApplication::onLayerFitSelectedOnMapDisplayTriggered(), te::qt::af::BaseApplication::onLayerPanToSelectedOnMapDisplayTriggered(), and te::qt::af::MapDisplay::pan().
| te::gm::Envelope te::map::GetSelectedExtent | ( | const te::map::AbstractLayerPtr | layer, |
| int | srid, | ||
| bool | onlyVisibles | ||
| ) |
It calculates the extent of selected objects of the given layer in the given SRID.
| layer | The layer that will be consulted. |
| srid | The result extent SRID. |
| onlyVisibles | A flag that indicates if the method should consider only the visible layers. |
Definition at line 113 of file src/terralib/maptools/Utils.cpp.
References ds, dt, te::da::GetFirstGeomProperty(), GetSelectedExtent(), NOT_VISIBLE, te::gm::Envelope::transform(), and te::gm::Envelope::Union().
| std::string te::map::GetUTMProj4FromZone | ( | int | zone | ) |
Returns proj4 string with UTM projection in the specified zone (Only working for south).
| UTM | Zone |
Definition at line 911 of file src/terralib/maptools/Utils.cpp.
Referenced by GetWorldBoxInPlanar().
| void te::map::GetVisibleLayers | ( | const std::list< te::map::AbstractLayerPtr > & | layers, |
| std::list< te::map::AbstractLayerPtr > & | visibleLayers | ||
| ) |
It gets the visible layers of the given layer list.
| layers | The layer list that will be consulted. |
| visibleLayers | A layer list that will be filled with the visible layers. |
Definition at line 296 of file src/terralib/maptools/Utils.cpp.
Referenced by te::qt::widgets::MapDisplay::changeData(), te::qt::af::MapDisplay::draw(), te::qt::af::MapDisplay::fit(), GetVisibleLayers(), te::qt::af::MapDisplay::pan(), and te::qt::widgets::MultiThreadMapDisplay::refresh().
| TEMAPEXPORT void te::map::GetVisibleLayers | ( | const std::list< te::map::AbstractLayer * > & | layers, |
| std::list< te::map::AbstractLayer * > & | visibleLayers | ||
| ) |
| void te::map::GetVisibleLayers | ( | const te::map::AbstractLayerPtr & | layer, |
| std::list< te::map::AbstractLayerPtr > & | visibleLayers | ||
| ) |
It gets the visible layers of the given layer.
| layer | The layer that will be consulted. |
| visibleLayers | A layer list that will be filled with the visible layers. |
Definition at line 278 of file src/terralib/maptools/Utils.cpp.
References GetVisibleLayers(), NOT_VISIBLE, and VISIBLE.
| te::gm::Envelope te::map::GetWorldBoxInPlanar | ( | const te::gm::Envelope & | worldBox, |
| int | srid | ||
| ) |
It gets the requested envelope on a UTM planar projection.
| worldBox | WordBox to be transformed to planar |
| srid | The WorldBox SRID to transform from |
Definition at line 865 of file src/terralib/maptools/Utils.cpp.
References CalculatePlanarZone(), te::common::Convert2UCase(), te::common::Singleton< SpatialReferenceSystemManager >::getInstance(), GetUTMProj4FromZone(), and te::gm::Envelope::transform().
Referenced by te::qt::widgets::MapDisplay::getScale(), and ToMeters().
| void te::map::GroupingByEqualSteps | ( | std::string | attrName, |
| iterator | begin, | ||
| iterator | end, | ||
| int | nSteps, | ||
| std::vector< te::se::Rule * > & | rules, | ||
| int | precision = 0 |
||
| ) |
It groups the values defined by a range of iterators using the equal steps algorithm.
| begin | The iterator associated to the first element value. |
| end | The iterator associated to the last element value. |
| nSteps | The number of steps. |
| rules | The container of rules items. |
| precision | The precision to be used in the conversion of the values. |
| countElements | The flag indicating if the counting of elements must be done. |
The groups will be stored in the container of legend items.
Definition at line 96 of file GroupingAlgorithms.h.
References AdjustToPrecision(), te::common::Convert2String(), te::fe::CreateFilterByStep(), MAX, MIN, te::se::Rule::setFilter(), and te::se::Rule::setName().
Referenced by te::qt::widgets::ClassifierWizard::buildLegend(), te::sa::CreateBayesGrouping(), te::sa::CreateKernelColorMaping(), te::sa::CreateKernelGrouping(), te::qt::widgets::SlicingColorMapWidget::onApplyPushButtonClicked(), te::qt::widgets::ColorMapWidget::onApplyPushButtonClicked(), and te::qt::widgets::GroupingWidget::onApplyPushButtonClicked().
| void te::map::GroupingByQuantil | ( | std::string | attrName, |
| iterator | begin, | ||
| iterator | end, | ||
| int | nSteps, | ||
| std::vector< te::se::Rule * > & | rules, | ||
| int | precision = 0 |
||
| ) |
It groups the values defined by a range of iterators using the quantil algorithm.
| begin | The iterator associated to the first element value. |
| end | The iterator associated to the last element value. |
| nSteps | The number of steps. |
| rules | The container of rules items. |
| precision | The precision to be used in the conversion of the values. |
| countElements | The flag indicating if the counting of elements must be done. |
The groups will be stored in the container of legend items.
Definition at line 148 of file GroupingAlgorithms.h.
References AdjustToPrecision(), te::common::Convert2String(), te::fe::CreateFilterByStep(), p, te::se::Rule::setFilter(), and te::se::Rule::setName().
Referenced by te::qt::widgets::GroupingWidget::onApplyPushButtonClicked().
| void te::map::GroupingByStdDeviation | ( | std::string | attrName, |
| iterator | begin, | ||
| iterator | end, | ||
| double | nDevs, | ||
| std::vector< te::se::Rule * > & | rules, | ||
| std::string & | meanTitle, | ||
| int | precision = 0 |
||
| ) |
It groups the values defined by a range of iterators using the standard deviation algorithm.
| begin | The iterator associated to the first element value. |
| end | The iterator associated to the last element value. |
| nDevs | The number of deviations. |
| rules | The container of rules items. |
| rmean | The mean value. |
| precision | The precision to be used in the conversion of the values. |
| countElements | The flag indicating if the counting of elements must be done. |
The groups will be stored in the container of legend items.
Definition at line 216 of file GroupingAlgorithms.h.
References te::common::Convert2String(), te::fe::CreateFilterByStep(), MAX, MIN, te::se::Rule::setFilter(), te::se::Rule::setName(), and TE_TR.
Referenced by te::qt::widgets::GroupingWidget::onApplyPushButtonClicked().
| void te::map::GroupingByUniqueValues | ( | std::string | attrName, |
| std::vector< std::string > & | inputValues, | ||
| int | dataType, | ||
| std::vector< te::se::Rule * > & | rules, | ||
| int | precision | ||
| ) |
It groups the values using the unique value algorithm.
| attrName | The attribute name used do create the group. |
| inputValues | The data to be grouped by unique values. |
| dataType | The data type of the values. |
| rules | The container of rules items where the groups will be placed. The precision to be used in the conversion of the values. |
The groups will be stored in the container of legend items.
Definition at line 41 of file GroupingAlgorithms.cpp.
References te::common::Convert2String(), te::fe::CreateFilterByUniqueValue(), te::dt::DOUBLE_TYPE, te::dt::FLOAT_TYPE, te::dt::INT16_TYPE, te::dt::INT32_TYPE, te::dt::INT64_TYPE, te::se::Rule::setFilter(), te::se::Rule::setName(), TE_TR, te::dt::UINT16_TYPE, te::dt::UINT32_TYPE, and te::dt::UINT64_TYPE.
Referenced by te::sa::CreateSampleGeneratorStratifiedGrouping(), te::sa::CreateSkaterGrouping(), te::qt::widgets::RasterizationWizardPage::onApplyPushButtonClicked(), te::qt::plugins::tv::TimeViewerEditLegendDialog::onApplyPushButtonClicked(), te::qt::widgets::ColorMapWidget::onApplyPushButtonClicked(), and te::qt::widgets::GroupingWidget::onApplyPushButtonClicked().