1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186
|
/**********************************************************
* Version $Id$
*********************************************************/
///////////////////////////////////////////////////////////
// //
// SAGA //
// //
// System for Automated Geoscientific Analyses //
// //
// Module Library: //
// Shapes_Tools //
// //
//-------------------------------------------------------//
// //
// MLB_Interface.cpp //
// //
// Copyright (C) 2003 by //
// Olaf Conrad //
// //
//-------------------------------------------------------//
// //
// This file is part of 'SAGA - System for Automated //
// Geoscientific Analyses'. SAGA is free software; you //
// can redistribute it and/or modify it under the terms //
// of the GNU General Public License as published by the //
// Free Software Foundation; version 2 of the License. //
// //
// SAGA is distributed in the hope that it will be //
// useful, but WITHOUT ANY WARRANTY; without even the //
// implied warranty of MERCHANTABILITY or FITNESS FOR A //
// PARTICULAR PURPOSE. See the GNU General Public //
// License for more details. //
// //
// You should have received a copy of the GNU General //
// Public License along with this program; if not, //
// write to the Free Software Foundation, Inc., //
// 51 Franklin Street, 5th Floor, Boston, MA 02110-1301, //
// USA. //
// //
//-------------------------------------------------------//
// //
// e-mail: oconrad@saga-gis.org //
// //
// contact: Olaf Conrad //
// Institute of Geography //
// University of Goettingen //
// Goldschmidtstr. 5 //
// 37077 Goettingen //
// Germany //
// //
///////////////////////////////////////////////////////////
//---------------------------------------------------------
///////////////////////////////////////////////////////////
// //
// The Module Link Library Interface //
// //
///////////////////////////////////////////////////////////
//---------------------------------------------------------
// 1. Include the appropriate SAGA-API header...
#include "MLB_Interface.h"
//---------------------------------------------------------
// 2. Place general module library informations here...
CSG_String Get_Info(int i)
{
switch( i )
{
case MLB_INFO_Name: default:
return( _TL("Tools") );
case MLB_INFO_Category:
return( _TL("Shapes") );
case MLB_INFO_Author:
return( SG_T("O. Conrad, V. Olaya, V. Wichmann (c) 2002-2013") );
case MLB_INFO_Description:
return( _TL("Tools for the manipulation of vector data.") );
case MLB_INFO_Version:
return( SG_T("1.0") );
case MLB_INFO_Menu_Path:
return( _TL("Shapes|Tools") );
}
}
//---------------------------------------------------------
// 3. Include the headers of your modules here...
#include "Shapes_Create_Empty.h"
#include "Shapes_Merge.h"
#include "QueryBuilder.h"
#include "SearchInTable.h"
#include "SelectByTheme.h"
#include "NewLayerFromSelectedShapes.h"
#include "SeparateShapes.h"
#include "TransformShapes.h"
#include "CreateChartLayer.h"
#include "GraticuleBuilder.h"
#include "shapes_cut.h"
#include "shapes_cut_interactive.h"
#include "shapes_split.h"
#include "shapes_split_randomly.h"
#include "shapes_split_by_attribute.h"
#include "shapes_buffer.h"
#include "shapes_extents.h"
#include "quadtree_structure.h"
#include "shapes_polar_to_cartes.h"
#include "shapes_generate.h"
#include "shapes_convert_vertex_type.h"
#include "LandUse_Scenario.h"
//---------------------------------------------------------
// 4. Allow your modules to be created here...
CSG_Module * Create_Module(int i)
{
switch( i )
{
case 0: return( new CShapes_Create_Empty );
case 2: return( new CShapes_Merge );
case 24: return( new CTables_Merge );
case 3: return( new CSelect_Numeric );
case 4: return( new CSelect_String );
case 5: return( new CSelect_Location );
case 6: return( new CSelection_Copy );
case 7: return( new CSelection_Delete );
case 8: return( new CSelection_Invert );
case 9: return( new CSeparateShapes );
case 10: return( new CTransformShapes );
case 11: return( new CCreateChartLayer );
case 12: return( new CGraticuleBuilder );
case 13: return( new CShapes_Cut );
case 14: return( new CShapes_Cut_Interactive );
case 15: return( new CShapes_Split );
case 16: return( new CShapes_Split_Randomly );
case 17: return( new CShapes_Split_by_Attribute );
case 18: return( new CShapes_Buffer );
case 19: return( new CShapes_Extents );
case 20: return( new CQuadTree_Structure );
case 21: return( new CShapes_Polar_to_Cartes );
case 22: return( new CShapes_Generate );
case 23: return( new CShapes_Convert_Vertex_Type );
case 25: return( new CLandUse_Scenario );
case 30: return( NULL );
}
return( MLB_INTERFACE_SKIP_MODULE );
}
///////////////////////////////////////////////////////////
// //
// //
// //
///////////////////////////////////////////////////////////
//---------------------------------------------------------
//{{AFX_SAGA
MLB_INTERFACE
//}}AFX_SAGA
|