Enums.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/vp/Enums.h
22 
23  \brief Enumerations related to Vector Processing module.
24 */
25 
26 
27 #ifndef __TERRALIB_VP_ENUMS_H
28 #define __TERRALIB_VP_ENUMS_H
29 
30 namespace te
31 {
32  namespace vp
33  {
34 
35  /*!
36  \enum GroupingFunctionsType
37 
38  \brief Define grouping functions type.
39  */
41  {
42  MIN_VALUE, //!< Minimum value.
43  MAX_VALUE, //!< Maximum value.
44  MEAN, //!< Mean.
45  SUM, //!< Sum of values.
46  COUNT, //!< Total number of values.
47  VALID_COUNT, //!< Total not null values.
48  STANDARD_DEVIATION, //!< Standard deviation.
49  KERNEL, //!< Kernel.
50  VARIANCE, //!< Variance.
51  SKEWNESS, //!< Skewness.
52  KURTOSIS, //!< Kurtosis.
53  AMPLITUDE, //!< Amplitude.
54  MEDIAN, //!< Median.
55  VAR_COEFF, //!< Coefficient variation.
56  MODE //!< Mode.
57  };
58 
59 
60  /*!
61  \enum MemoryUse
62 
63  \brief Define possible states for memory use.
64  */
65  enum MemoryUse
66  {
67  WHOLE_MEM, //!< Whole memory use.
68  PARTIALLY_MEM, //!< Partially memory use.
69  LOW_MEM //!< Low memory use.
70  };
71 
72  /*!
73  \enum RuleForPolygons
74 
75  \brief Define the rule for polygons generated by buffer.
76  */
78  {
79  INSIDE_OUTSIDE, //!< The buffer is generated Inside and outside of the polygons.
80  ONLY_OUTSIDE, //!< The buffer is generated only outside of the polygons.
81  ONLY_INSIDE //!< The buffer is generated only inside of the polygons.
82  };
83 
84  /*!
85  \enum BoundariesBetweenBuffers
86 
87  \brief Define the boundaries between buffers.
88  */
90  {
91  DISSOLVE, //!< The boundaries between buffers will be dissolved.
92  NOT_DISSOLVE //!< The boundaries between buffers will not be dissolved.
93  };
94 
95  /*!
96  \enum GeographicOperation
97 
98  \brief Define the geographic operation.
99  */
101  {
102  CONVEX_HULL, //!< The geographic operation Convex Hull.
103  CENTROID, //!< The geographic operation Centroid.
104  MBR, //!< The geographic operation Minimum Bounding Rectangle.
105  AREA, //!< The geographic operation Area.
106  LINE, //!< The geographic operation Line.
107  PERIMETER //!< The geographic operation Perimeter.
108  };
109 
110  /*!
111  \enum GeometricOpObjStrategy
112 
113  \brief Defines the strategy used for the processing of the input geometries.
114  */
116  {
117  ALL_OBJ, //!< All objects individually
118  AGGREG_OBJ, //!< Aggregate all objects.
119  AGGREG_BY_ATTRIBUTE //!< Aggregate objects by attribute.
120  };
121 
122  }
123 }
124 
125 #endif // __TERRALIB_VP_ENUMS_H
Skewness.
Definition: Enums.h:51
Kernel.
Definition: Enums.h:49
The geographic operation Line.
Definition: Enums.h:106
The geographic operation Minimum Bounding Rectangle.
Definition: Enums.h:104
The boundaries between buffers will not be dissolved.
Definition: Enums.h:92
GroupingFunctionsType
Define grouping functions type.
Definition: Enums.h:40
MemoryUse
Define possible states for memory use.
Definition: Enums.h:65
Partially memory use.
Definition: Enums.h:68
Minimum value.
Definition: Enums.h:42
Total not null values.
Definition: Enums.h:47
Sum of values.
Definition: Enums.h:45
BoundariesBetweenBuffers
Define the boundaries between buffers.
Definition: Enums.h:89
Low memory use.
Definition: Enums.h:69
GeometricOpObjStrategy
Defines the strategy used for the processing of the input geometries.
Definition: Enums.h:115
Total number of values.
Definition: Enums.h:46
Variance.
Definition: Enums.h:50
The buffer is generated only outside of the polygons.
Definition: Enums.h:80
Mode.
Definition: Enums.h:56
The geographic operation Area.
Definition: Enums.h:105
Coefficient variation.
Definition: Enums.h:55
Aggregate all objects.
Definition: Enums.h:118
Mean.
Definition: Enums.h:44
The buffer is generated only inside of the polygons.
Definition: Enums.h:81
URI C++ Library.
Aggregate objects by attribute.
Definition: Enums.h:119
The geographic operation Perimeter.
Definition: Enums.h:107
Maximum value.
Definition: Enums.h:43
RuleForBuffer
Definition: Enums.h:77
The geographic operation Centroid.
Definition: Enums.h:103
Whole memory use.
Definition: Enums.h:67
The buffer is generated Inside and outside of the polygons.
Definition: Enums.h:79
Amplitude.
Definition: Enums.h:53
GeometricOperation
Definition: Enums.h:100
The geographic operation Convex Hull.
Definition: Enums.h:102
Median.
Definition: Enums.h:54
Kurtosis.
Definition: Enums.h:52
All objects individually.
Definition: Enums.h:117
Standard deviation.
Definition: Enums.h:48
The boundaries between buffers will be dissolved.
Definition: Enums.h:91