src/terralib/vp/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
The geographic operation Line.
The geographic operation Minimum Bounding Rectangle.
The boundaries between buffers will not be dissolved.
GroupingFunctionsType
Define grouping functions type.
MemoryUse
Define possible states for memory use.
Partially memory use.
Total not null values.
Sum of values.
BoundariesBetweenBuffers
Define the boundaries between buffers.
Low memory use.
GeometricOpObjStrategy
Defines the strategy used for the processing of the input geometries.
Total number of values.
The buffer is generated only outside of the polygons.
The geographic operation Area.
Coefficient variation.
Aggregate all objects.
The buffer is generated only inside of the polygons.
URI C++ Library.
Definition: Attributes.h:37
Aggregate objects by attribute.
The geographic operation Perimeter.
The geographic operation Centroid.
Whole memory use.
The buffer is generated Inside and outside of the polygons.
The geographic operation Convex Hull.
All objects individually.
The boundaries between buffers will be dissolved.