Loading...
Searching...
No Matches
Utils.h
Go to the documentation of this file.
1/* Copyright (C) 2008 National Institute For Space Research (INPE) - Brazil.
2
3 This file is part of the TerraLib - a Framework for building GIS enabled applications.
4
5 TerraLib is free software: you can redistribute it and/or modify
6 it under the terms of the GNU Lesser General Public License as published by
7 the Free Software Foundation, either version 3 of the License,
8 or (at your option) any later version.
9
10 TerraLib is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public License
16 along with TerraLib. See COPYING. If not, write to
17 TerraLib Team at <terralib-team@terralib.org>.
18 */
19
20/*!
21 \file terralib/qt/plugins/terralib5/Utils.h
22
23 \brief
24*/
25
26#ifndef __TERRALIB_QT_TERRALIB4_INTERNAL_UTILS_H
27#define __TERRALIB_QT_TERRALIB4_INTERNAL_UTILS_H
28
29// TerraLib
30#include "Config.h"
31
32struct TeColor;
33struct TeGrouping;
34class TeRasterTransform;
35class TeTheme;
36class TeVisual;
37
38namespace te
39{
40 namespace color
41 {
42 class RGBAColor;
43 }
44
45 namespace map
46 {
47 class Grouping;
48 }
49
50 namespace se
51 {
52 class Fill;
53 class LineSymbolizer;
54 class PointSymbolizer;
55 class PolygonSymbolizer;
56 class Style;
57 class Stroke;
58 class Symbolizer;
59 }
60
61 namespace qt
62 {
63 namespace plugins
64 {
65 namespace terralib4
66 {
67
69
70 std::string GetLineStyle(int type);
71
72 std::string GetPointStyle(int type);
73
74 bool IsHollow(int type);
75
76 te::se::Style* Convert2TerraLib5(int geometryType, TeTheme* theme, bool isRaster = false);
77
79
81
82 te::se::Symbolizer* GetSymbolizer(int geometryType, TeVisual* visual);
83
85
87
89
90 te::se::RasterSymbolizer* GetRasterSymbolizer(TeRasterTransform* visual);
91
92 } // end namespace terralib4
93 } // end namespace plugins
94 } // end namespace qt
95} // end namespace te
96
97#endif // __TERRALIB_QT_TERRALIB4_INTERNAL_UTILS_H
A helper class for 32-bit RGBA (Red-Green-Blue-Alpha channel) color.
Definition: RGBAColor.h:58
This class contains the parameters needed for grouping the values of a Property.
Definition: Grouping.h:58
A ColorMap defines either the colors of a pallette-type raster source or the mapping of numeric pixel...
Definition: ColorMap.h:62
A LineSymbolizer is used to style a stroke along a linear geometry type, such as a string of line seg...
A PointSymbolizer specifies the rendering of a graphic Symbolizer at a point.
A PolygonSymbolizer is used to draw a polygon (or other area-type geometries), including filling its ...
The RasterSymbolizer describes how to render raster/matrix-coverage data (e.g., satellite photos,...
The Style defines the styling that is to be applied to a geographic dataset (vector geometries or cov...
Definition: Style.h:66
A Symbolizer describes how a feature is to appear on a map.
Definition: Symbolizer.h:81
te::se::PolygonSymbolizer * GetPolygonSymbolizer(TeVisual *visual)
te::se::PointSymbolizer * GetPointSymbolizer(TeVisual *visual)
te::se::Symbolizer * GetSymbolizer(int geometryType, TeVisual *visual)
te::map::Grouping * GetGrouping(TeTheme *theme, te::se::Style *style)
std::string GetPointStyle(int type)
te::se::LineSymbolizer * GetLineSymbolizer(TeVisual *visual)
te::color::RGBAColor Convert2TerraLib5(TeColor color)
te::se::ColorMap * GetRasterGrouping(TeTheme *theme)
te::se::RasterSymbolizer * GetRasterSymbolizer(TeRasterTransform *visual)
std::string GetLineStyle(int type)
TerraLib.
Definition: Band.h:35
Proxy configuration file for TerraView (see terraview_config.h).