Loading...
Searching...
No Matches
IntersectionMemory.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 IntersectionMemory.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 "../common/Exception.h"
33#include "../common/STLUtils.h"
34#include "../datatype/Property.h"
35#include "../dataaccess/dataset/DataSetType.h"
36#include "../geometry/Geometry.h"
37#include "../memory/DataSet.h"
38#include "../sam.h"
39#include "../statistics/core/Enums.h"
40
41#include "IntersectionOp.h"
42#include "Config.h"
43#include "Enums.h"
44#include "Exception.h"
45
46
47// STL
48#include <map>
49#include <memory>
50#include <string>
51#include <vector>
52
53namespace te
54{
55 namespace vp
56 {
58 {
59
60 public:
61
63
65
66 bool run() ;
67
68 private:
69
71 {
73 te::da::DataSet* ds; //gets the ownership of the dataset
74 std::vector<te::dt::Property*> props;
75 };
76
78
79
80 std::pair<te::da::DataSetType*, te::da::DataSet*> pairwiseIntersection(std::string newName,
81 IntersectionMember firstMember,
82 IntersectionMember secondMember);
83
84
85 }; // end class
86 } // end namespace vp
87} // end namespace te
88
89#endif // __TERRALIB_VP_INTERNAL_INTERSECTION_MEMORY_H
90
Intersection operation.
A class that models the description of a dataset.
Definition: DataSetType.h:73
A dataset is the unit of information manipulated by the data access module of TerraLib.
Definition: DataSet.h:114
A class that represents an R-tree.
Definition: Index.h:57
te::sam::rtree::Index< size_t, 8 > * DataSetRTree
std::pair< te::da::DataSetType *, te::da::DataSet * > pairwiseIntersection(std::string newName, IntersectionMember firstMember, IntersectionMember secondMember)
TerraLib.
std::vector< te::dt::Property * > props
#define TEVPEXPORT
You can use this macro in order to export/import classes and functions from this module.
Definition: Config.h:61
Proxy configuration file for TerraView (see terraview_config.h).
Enumerations of XML module.
An exception class for the XML module.