1 
2 ///////////////////////////////////////////////////////////
3 //                                                       //
4 //                         SAGA                          //
5 //                                                       //
6 //      System for Automated Geoscientific Analyses      //
7 //                                                       //
8 //                     Tool Library:                     //
9 //                      grids_tools                      //
10 //                                                       //
11 //-------------------------------------------------------//
12 //                                                       //
13 //             gridding3d_nearest_neighbour.h            //
14 //                                                       //
15 //                  Olaf Conrad (C) 2019                 //
16 //                                                       //
17 //-------------------------------------------------------//
18 //                                                       //
19 // This file is part of 'SAGA - System for Automated     //
20 // Geoscientific Analyses'. SAGA is free software; you   //
21 // can redistribute it and/or modify it under the terms  //
22 // of the GNU General Public License as published by the //
23 // Free Software Foundation, either version 2 of the     //
24 // License, or (at your option) any later version.       //
25 //                                                       //
26 // SAGA is distributed in the hope that it will be       //
27 // useful, but WITHOUT ANY WARRANTY; without even the    //
28 // implied warranty of MERCHANTABILITY or FITNESS FOR A  //
29 // PARTICULAR PURPOSE. See the GNU General Public        //
30 // License for more details.                             //
31 //                                                       //
32 // You should have received a copy of the GNU General    //
33 // Public License along with this program; if not, see   //
34 // <http://www.gnu.org/licenses/>.                       //
35 //                                                       //
36 //-------------------------------------------------------//
37 //                                                       //
38 //    e-mail:     oconrad@saga-gis.org                   //
39 //                                                       //
40 //    contact:    Olaf Conrad                            //
41 //                Institute of Geography                 //
42 //                University of Hamburg                  //
43 //                Germany                                //
44 //                                                       //
45 ///////////////////////////////////////////////////////////
46 
47 //---------------------------------------------------------
48 #ifndef HEADER_INCLUDED__gridding3d_nearest_neighbour_H
49 #define HEADER_INCLUDED__gridding3d_nearest_neighbour_H
50 
51 
52 ///////////////////////////////////////////////////////////
53 //														 //
54 //														 //
55 //														 //
56 ///////////////////////////////////////////////////////////
57 
58 //---------------------------------------------------------
59 #include <saga_api/saga_api.h>
60 
61 
62 ///////////////////////////////////////////////////////////
63 //														 //
64 //														 //
65 //														 //
66 ///////////////////////////////////////////////////////////
67 
68 //---------------------------------------------------------
69 class CGridding3D_Nearest_Neighbour : public CSG_Tool
70 {
71 public:
72 	CGridding3D_Nearest_Neighbour(void);
73 
Get_MenuPath(void)74 	virtual CSG_String			Get_MenuPath			(void)	{	return( _TL("A:Grid|Gridding|Interpolation (3D)") );	}
75 
76 
77 protected:
78 
79 	virtual int					On_Parameter_Changed	(CSG_Parameters *pParameters, CSG_Parameter *pParameter);
80 	virtual int					On_Parameters_Enable	(CSG_Parameters *pParameters, CSG_Parameter *pParameter);
81 
82 	virtual bool				On_Execute				(void);
83 
84 
85 private:
86 
87 	CSG_Parameters_Grid_Target	m_Grid_Target;
88 
89 };
90 
91 
92 ///////////////////////////////////////////////////////////
93 //														 //
94 //														 //
95 //														 //
96 ///////////////////////////////////////////////////////////
97 
98 //---------------------------------------------------------
99 #endif // #ifndef HEADER_INCLUDED__gridding3d_nearest_neighbour_H
100 
101