All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
IntersectionMemory.h
Go to the documentation of this file.
1 /* Copyright (C) 2001-2009 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 AggregationMemory.h
22 
23  \brief
24 
25  \ingroup vp
26 */
27 
28 #ifndef __TERRALIB_VP_INTERNAL_INTERSECTION_MEMORY_H
29 #define __TERRALIB_VP_INTERNAL_INTERSECTION_MEMORY_H
30 
31 //Terralib
32 #include "../datatype/Property.h"
33 #include "../dataaccess/dataset/DataSetType.h"
34 #include "../geometry/Geometry.h"
35 #include "../memory/DataSet.h"
36 #include "../sam.h"
37 #include "../statistics/core/Enums.h"
38 
39 #include "IntersectionOp.h"
40 #include "Config.h"
41 #include "Enums.h"
42 #include "Exception.h"
43 
44 
45 // STL
46 #include <map>
47 #include <memory>
48 #include <string>
49 #include <vector>
50 
51 namespace te
52 {
53  namespace vp
54  {
56  {
57 
58  public:
59 
61 
63 
64  bool run();
65 
66  private:
67 
69  {
72  std::vector<te::dt::Property*> props;
73  };
74 
76 
77 
78  std::pair<te::da::DataSetType*, te::da::DataSet*> pairwiseIntersection(std::string newName,
79  IntersectionMember firstMember,
80  IntersectionMember secondMember,
81  std::size_t outputSRID);
82 
83  te::da::DataSetType* createDataSetType(std::string newName,
84  te::da::DataSetType* firstDt,
85  std::vector<te::dt::Property*> firstProps,
86  te::da::DataSetType* secondDt,
87  std::vector<te::dt::Property*> secondProps);
88 
89  }; // end class
90  } // end namespace vp
91 } // end namespace te
92 
93 #endif // __TERRALIB_VP_INTERNAL_INTERSECTION_MEMORY_H
94 
#define TEVPEXPORT
You can use this macro in order to export/import classes and functions from this module.
Definition: Config.h:64
An exception class for the Vector processing module.
A class that represents an R-tree.
Definition: Index.h:56
A class that models the description of a dataset.
Definition: DataSetType.h:72
std::vector< te::dt::Property * > props
te::sam::rtree::Index< size_t, 8 > * DataSetRTree
Enumerations related to Vector Processing module.
Intersection operation.
A dataset is the unit of information manipulated by the data access module of TerraLib.
Definition: DataSet.h:112
Configuration flags for the Terrralib Vector Processing module.