SAGA API  v9.9
parameters.h
Go to the documentation of this file.
1 
3 // //
4 // SAGA //
5 // //
6 // System for Automated Geoscientific Analyses //
7 // //
8 // Application Programming Interface //
9 // //
10 // Library: SAGA_API //
11 // //
12 //-------------------------------------------------------//
13 // //
14 // parameters.h //
15 // //
16 // Copyright (C) 2005 by Olaf Conrad //
17 // //
18 //-------------------------------------------------------//
19 // //
20 // This file is part of 'SAGA - System for Automated //
21 // Geoscientific Analyses'. //
22 // //
23 // This library is free software; you can redistribute //
24 // it and/or modify it under the terms of the GNU Lesser //
25 // General Public License as published by the Free //
26 // Software Foundation, either version 2.1 of the //
27 // License, or (at your option) any later version. //
28 // //
29 // This library is distributed in the hope that it will //
30 // be useful, but WITHOUT ANY WARRANTY; without even the //
31 // implied warranty of MERCHANTABILITY or FITNESS FOR A //
32 // PARTICULAR PURPOSE. See the GNU Lesser General Public //
33 // License for more details. //
34 // //
35 // You should have received a copy of the GNU Lesser //
36 // General Public License along with this program; if //
37 // not, see <http://www.gnu.org/licenses/>. //
38 // //
39 //-------------------------------------------------------//
40 // //
41 // contact: Olaf Conrad //
42 // Institute of Geography //
43 // University of Goettingen //
44 // Goldschmidtstr. 5 //
45 // 37077 Goettingen //
46 // Germany //
47 // //
48 // e-mail: oconrad@saga-gis.org //
49 // //
51 
52 //---------------------------------------------------------
53 #ifndef HEADER_INCLUDED__SAGA_API__parameters_H
54 #define HEADER_INCLUDED__SAGA_API__parameters_H
55 
56 
58 // //
59 // //
60 // //
62 
63 //---------------------------------------------------------
72 // //
74 // //
75 // //
77 
78 //---------------------------------------------------------
79 #include "grids.h"
80 #include "table.h"
81 #include "shapes.h"
82 #include "tin.h"
83 #include "pointcloud.h"
84 #include "datetime.h"
85 
86 
88 // //
89 // //
90 // //
92 
93 //---------------------------------------------------------
94 #define PARAMETER_INPUT 0x01
95 #define PARAMETER_OUTPUT 0x02
96 #define PARAMETER_OPTIONAL 0x04
97 #define PARAMETER_INFORMATION 0x08
98 #define PARAMETER_IGNORE_PROJECTION 0x10
99 #define PARAMETER_NOT_FOR_GUI 0x20
100 #define PARAMETER_NOT_FOR_CMD 0x40
101 #define PARAMETER_GUI_COLLAPSED 0x80
102 
103 #define PARAMETER_INPUT_OPTIONAL (PARAMETER_INPUT | PARAMETER_OPTIONAL)
104 #define PARAMETER_OUTPUT_OPTIONAL (PARAMETER_OUTPUT | PARAMETER_OPTIONAL)
105 
106 //---------------------------------------------------------
107 #define PARAMETER_DESCRIPTION_NAME 0x01
108 #define PARAMETER_DESCRIPTION_TYPE 0x02
109 #define PARAMETER_DESCRIPTION_OPTIONAL 0x04
110 #define PARAMETER_DESCRIPTION_PROPERTIES 0x08
111 #define PARAMETER_DESCRIPTION_TEXT 0x10
112 #define PARAMETER_DESCRIPTION_ALL (PARAMETER_DESCRIPTION_NAME | PARAMETER_DESCRIPTION_TYPE | PARAMETER_DESCRIPTION_OPTIONAL | PARAMETER_DESCRIPTION_PROPERTIES | PARAMETER_DESCRIPTION_TEXT)
113 
114 
116 // //
117 // //
118 // //
120 
121 //---------------------------------------------------------
122 typedef enum
123 {
125 
138 
143 
147 
154 
161 
163 
165 
167 }
169 
170 
172 // //
173 // //
174 // //
176 
177 //---------------------------------------------------------
181 
182 
184 // //
185 // //
186 // //
188 
189 //---------------------------------------------------------
190 #define PARAMETER_CHECK_VALUES 0x01
191 #define PARAMETER_CHECK_ENABLE 0x02
192 #define PARAMETER_CHECK_ALL (PARAMETER_CHECK_VALUES | PARAMETER_CHECK_ENABLE)
193 
194 //---------------------------------------------------------
195 #define SG_PARAMETER_DATA_SET_FALSE 0
196 #define SG_PARAMETER_DATA_SET_TRUE 1
197 #define SG_PARAMETER_DATA_SET_CHANGED 2
198 
199 
201 // //
202 // CSG_Parameter //
203 // //
205 
206 //---------------------------------------------------------
208 {
209 public:
210 
211  CSG_Parameters * Get_Parameters (void) const;
212  CSG_Parameter * Get_Parent (void) const;
213  class CSG_Data_Manager * Get_Manager (void) const;
214 
215  virtual TSG_Parameter_Type Get_Type (void) const = 0;
216  CSG_String Get_Type_Identifier (void) const;
217  CSG_String Get_Type_Name (void) const;
218 
219  const SG_Char * Get_Identifier (void) const;
220  bool Cmp_Identifier (const CSG_String &Identifier) const;
221  CSG_String Get_CmdID (void) const;
222  bool Set_Name (const CSG_String &Name);
223  const SG_Char * Get_Name (void) const;
224  const SG_Char * Get_Description (void) const;
225  bool Set_Description (const CSG_String &Description);
226  CSG_String Get_Description (int Flags) const;
227  CSG_String Get_Description (int Flags, const SG_Char *Separator) const;
228 
229  bool Set_Enabled (bool bEnabled = true);
230  bool is_Enabled (bool bCheckEnv = true) const;
231 
232  bool Set_Collapsed (bool bOn = true);
233  bool is_Collapsed (void) const { return( !!(m_Constraint & PARAMETER_GUI_COLLAPSED ) ); }
234 
235  virtual bool is_Valid (void) const { return( true ); }
236  bool is_Input (void) const { return( !!(m_Constraint & PARAMETER_INPUT ) ); }
237  bool is_Output (void) const { return( !!(m_Constraint & PARAMETER_OUTPUT ) ); }
238  bool is_Optional (void) const { return( !!(m_Constraint & PARAMETER_OPTIONAL ) ); }
239  bool is_Information (void) const { return( !!(m_Constraint & PARAMETER_INFORMATION) ); }
240  bool is_Option (void) const;
241  bool is_DataObject (void) const;
242  bool is_DataObject_List (void) const;
243  bool is_Parameters (void) const;
244  bool is_Serializable (void) const;
245  bool is_Compatible (CSG_Parameter *pParameter) const;
246  bool is_Value_Equal (CSG_Parameter *pParameter) const;
247 
248  void Set_UseInGUI (bool bOn = false);
249  void Set_UseInCMD (bool bOn = false);
250 
251  bool do_UseInGUI (void) const;
252  bool do_UseInCMD (void) const;
253 
254  void ignore_Projection (bool bIgnore);
255  bool ignore_Projection (void) const { return( !!(m_Constraint & PARAMETER_IGNORE_PROJECTION) ); }
256 
257  TSG_Data_Object_Type Get_DataObject_Type (void) const;
258 
259  int Get_Children_Count (void) const { return( m_nChildren ); }
260  CSG_Parameter * Get_Child (int iChild) const { return( iChild >= 0 && iChild < m_nChildren ? m_Children[iChild] : NULL ); }
261  bool Set_Children_Enabled (bool bEnabled = true);
262 
263  //-----------------------------------------------------
264  virtual bool Set_Value (int Value);
265  virtual bool Set_Value (double Value);
266  virtual bool Set_Value (const CSG_String &Value);
267  virtual bool Set_Value (const char *Value);
268  virtual bool Set_Value (const wchar_t *Value);
269  virtual bool Set_Value (void *Value);
270  virtual bool Set_Value (CSG_Parameter *Value);
271 
272  virtual bool Toggle_Value (void);
273 
274  bool Set_Default (int Value);
275  bool Set_Default (double Value);
276  bool Set_Default (const CSG_String &Value);
277  const CSG_String & Get_Default (void) const;
278  virtual bool is_Default (void) const;
279  virtual bool Restore_Default (void);
280 
281  bool Check (bool bSilent = true);
282 
283  bool has_Changed (int Check_Flags = PARAMETER_CHECK_ALL);
284 
285  bool asBool (void) const { return( (bool )!!_asInt () ); }
286  int asInt (void) const { return( (int )_asInt () ); }
287  long asColor (void) const { return( (long )_asInt () ); }
288  double asDouble (void) const { return( (double )_asDouble () ); }
289  const SG_Char * asString (void) const { return( (const SG_Char *)_asString () ); }
290  void * asPointer (void) const { return( (void *)_asPointer() ); }
291 
292  CSG_Colors * asColors (void) const;
293  const SG_Char * asFont (void) const;
294  CSG_Grid_System * asGrid_System (void) const;
295  CSG_Grid_Resampling asGrid_Resampling (void) const;
296 
297  CSG_Data_Object * asDataObject (void) const;
298  CSG_Grid * asGrid (void) const;
299  CSG_Grids * asGrids (void) const;
300  CSG_Table * asTable (void) const;
301  CSG_Shapes * asShapes (void) const;
302  CSG_TIN * asTIN (void) const;
303  CSG_PointCloud * asPointCloud (void) const;
304 
305  //-----------------------------------------------------
306  class CSG_Parameter_Value * asValue (void) const;
307  class CSG_Parameter_Date * asDate (void) const;
308  class CSG_Parameter_Data_Type * asDataType (void) const;
309  class CSG_Parameter_Choice * asChoice (void) const;
310  class CSG_Parameter_Choices * asChoices (void) const;
311  class CSG_Parameter_Range * asRange (void) const;
312  class CSG_Parameter_File_Name * asFilePath (void) const;
313  class CSG_Parameter_Table_Fields * asTableFields (void) const;
314  class CSG_Parameters * asParameters (void) const;
315 
316  class CSG_Parameter_List * asList (void) const;
317  class CSG_Parameter_Grid_List * asGridList (void) const;
318  class CSG_Parameter_Grids_List * asGridsList (void) const;
319  class CSG_Parameter_Table_List * asTableList (void) const;
320  class CSG_Parameter_Shapes_List * asShapesList (void) const;
321  class CSG_Parameter_TIN_List * asTINList (void) const;
323 
324  //-----------------------------------------------------
325  bool Assign (CSG_Parameter *pSource);
326  bool Serialize (CSG_MetaData &MetaData, bool bSave);
327 
328 
329 protected:
330 
331  friend class CSG_Parameters;
332 
333  CSG_Parameter(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
334  virtual ~CSG_Parameter(void);
335 
337 
338 
339  virtual int _Set_Value (int Value);
340  virtual int _Set_Value (double Value);
341  virtual int _Set_Value (const CSG_String &Value);
342  virtual int _Set_Value (void *Value);
343 
344  virtual void _Set_String (void);
345 
346  virtual int _asInt (void) const;
347  virtual double _asDouble (void) const;
348  virtual void * _asPointer (void) const;
349  virtual const SG_Char * _asString (void) const;
350 
351  virtual bool _Assign (CSG_Parameter *pSource);
352  virtual bool _Serialize (CSG_MetaData &MetaData, bool bSave);
353 
354 
355 private:
356 
357  void _Add_Child (CSG_Parameter *pChild);
358 
359 
360  bool m_bEnabled;
361 
362  int m_Constraint, m_nChildren;
363 
364  CSG_Parameter **m_Children;
365 
366  CSG_String m_Identifier, m_Name, m_Description, m_Default;
367 
368  CSG_Parameter *m_pParent;
369 
370  CSG_Parameters *m_pParameters;
371 
372 };
373 
374 
376 // //
378 
379 //---------------------------------------------------------
381 {
382 public:
383 
384  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Node ); }
385 
386 
387 protected:
388 
389  CSG_Parameter_Node(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
390 
391  friend class CSG_Parameters;
392 };
393 
394 
396 // //
398 
399 //---------------------------------------------------------
401 {
402 public:
403 
404  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Bool ); }
405 
406  virtual bool is_Default (void) const;
407 
408  virtual bool Toggle_Value (void);
409 
410 
411 protected:
412 
413  CSG_Parameter_Bool(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
414 
415  bool m_Value;
416 
417 
418  virtual int _Set_Value (int Value);
419  virtual int _Set_Value (double Value);
420  virtual int _Set_Value (const CSG_String &Value);
421 
422  virtual void _Set_String (void);
423 
424  virtual int _asInt (void) const { return( m_Value ); }
425 
426  virtual bool _Assign (CSG_Parameter *pSource);
427  virtual bool _Serialize (CSG_MetaData &Entry, bool bSave);
428 
429 
430  friend class CSG_Parameters;
431 };
432 
433 
435 // //
437 
438 //---------------------------------------------------------
440 {
441 public:
442 
443  bool Set_Valid_Range (double Minimum, double Maximum);
444 
445  void Set_Minimum (double Minimum, bool bOn = true);
446  double Get_Minimum (void) const { return( m_Minimum ); }
447  bool has_Minimum (void) const { return( m_bMinimum ); }
448 
449  void Set_Maximum (double Maximum, bool bOn = true);
450  double Get_Maximum (void) const { return( m_Maximum ); }
451  bool has_Maximum (void) const { return( m_bMaximum ); }
452 
453 
454 protected:
455 
456  CSG_Parameter_Value(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
457 
458  bool m_bMinimum, m_bMaximum;
459 
460  double m_Minimum, m_Maximum;
461 
462 
463  virtual bool _Assign (CSG_Parameter *pSource);
464 
465 
466  friend class CSG_Parameters;
467 };
468 
469 
471 // //
473 
474 //---------------------------------------------------------
476 {
477 public:
478 
479  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Int ); }
480 
481  virtual bool is_Default (void) const;
482 
483 
484 protected:
485 
486  CSG_Parameter_Int(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
487 
488  int m_Value;
489 
490 
491  virtual int _Set_Value (int Value);
492  virtual int _Set_Value (double Value);
493  virtual int _Set_Value (const CSG_String &Value);
494 
495  virtual void _Set_String (void);
496 
497  virtual int _asInt (void) const { return( m_Value ); }
498  virtual double _asDouble (void) const { return( m_Value ); }
499 
500  virtual bool _Assign (CSG_Parameter *pSource);
501  virtual bool _Serialize (CSG_MetaData &Entry, bool bSave);
502 
503 
504  friend class CSG_Parameters;
505 };
506 
507 
509 // //
511 
512 //---------------------------------------------------------
514 {
515 public:
516 
517  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Double ); }
518 
519  virtual bool is_Default (void) const;
520 
521 
522 protected:
523 
524  CSG_Parameter_Double(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
525 
526  double m_Value;
527 
528 
529  virtual int _Set_Value (int Value);
530  virtual int _Set_Value (double Value);
531  virtual int _Set_Value (const CSG_String &Value);
532 
533  virtual void _Set_String (void);
534 
535  virtual int _asInt (void) const { return( (int)m_Value ); }
536  virtual double _asDouble (void) const { return( m_Value ); }
537 
538  virtual bool _Assign (CSG_Parameter *pSource);
539  virtual bool _Serialize (CSG_MetaData &Entry, bool bSave);
540 
541 
542  friend class CSG_Parameters;
543 };
544 
545 
547 // //
549 
550 //---------------------------------------------------------
552 {
553 public:
554 
555  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Degree ); }
556 
557 
558 protected:
559 
560  CSG_Parameter_Degree(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
561 
562  virtual int _Set_Value (const CSG_String &Value);
563 
564  virtual void _Set_String (void);
565 
566 
567  friend class CSG_Parameters;
568 };
569 
570 
572 // //
574 
575 //---------------------------------------------------------
577 {
578 public:
579 
580  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Date ); }
581 
582  void Set_Date (const CSG_DateTime &Date);
583  const CSG_DateTime & Get_Date (void) const { return( m_Date ); }
584 
585 
586 protected:
587 
588  CSG_Parameter_Date(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
589 
591 
592 
593  virtual int _Set_Value (int Value);
594  virtual int _Set_Value (double Value);
595  virtual int _Set_Value (const CSG_String &Value);
596 
597  virtual void _Set_String (void);
598 
599  virtual int _asInt (void) const;
600  virtual double _asDouble (void) const;
601 
602  virtual bool _Assign (CSG_Parameter *pSource);
603  virtual bool _Serialize (CSG_MetaData &Entry, bool bSave);
604 
605 
606  friend class CSG_Parameters;
607 };
608 
609 
611 // //
613 
614 //---------------------------------------------------------
616 {
617 public:
618 
619  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Range ); }
620 
621  bool Set_Range (double Min, double Max);
622  double Get_Range (void) const { return( Get_Max() - Get_Min() ); }
623 
624  bool Set_Min (double Min);
625  double Get_Min (void) const;
626  CSG_Parameter_Double * Get_Min_Parameter (void) const { return( m_pMin ); }
627 
628  bool Set_Max (double Max);
629  double Get_Max (void) const;
630  CSG_Parameter_Double * Get_Max_Parameter (void) const { return( m_pMax ); }
631 
632  virtual bool is_Default (void) const;
633 
634  virtual bool Restore_Default (void);
635 
636 
637 protected:
638 
639  CSG_Parameter_Range(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
640  virtual ~CSG_Parameter_Range(void);
641 
643 
645 
646 
647  virtual int _Set_Value (const CSG_String &Value);
648 
649  virtual void _Set_String (void);
650 
651  virtual bool _Assign (CSG_Parameter *pSource);
652  virtual bool _Serialize (CSG_MetaData &Entry, bool bSave);
653 
654 
655  friend class CSG_Parameters;
656 };
657 
658 
660 // //
662 
663 //---------------------------------------------------------
665 {
666 public:
667 
668  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Choice ); }
669 
670  virtual bool is_Default (void) const;
671 
672  virtual bool Toggle_Value (void);
673 
674  bool Del_Items (void);
675  bool Add_Item (const CSG_String &Item, const CSG_String &Data = "");
676 
677  bool Set_Items (const SG_Char *String);
678  CSG_String Get_Items (void) const;
679 
680  const SG_Char * Get_Item (int Index) const;
681  CSG_String Get_Item_Data (int Index) const;
682 
683  CSG_String Get_Data (void) const;
684  bool Get_Data (CSG_String &Value) const;
685  bool Get_Data (int &Value) const;
686  bool Get_Data (double &Value) const;
687 
688  int Get_Count (void) const { return( m_Items.Get_Count() ); }
689 
690 
691 protected:
692 
693  CSG_Parameter_Choice(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
694 
695  int m_Value;
696 
698 
699 
700  virtual int _Set_Value (int Value);
701  virtual int _Set_Value (double Value);
702  virtual int _Set_Value (const CSG_String &Value);
703 
704  virtual void _Set_String (void);
705 
706  virtual int _asInt (void) const { return( m_Value ); }
707  virtual double _asDouble (void) const { return( m_Value ); }
708 
709  virtual bool _Assign (CSG_Parameter *pSource);
710  virtual bool _Serialize (CSG_MetaData &Entry, bool bSave);
711 
712 
713  friend class CSG_Parameters;
714 };
715 
716 
718 // //
720 
721 //---------------------------------------------------------
723 {
724 public:
725 
726  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Data_Type ); }
727 
728  bool Set_Data_Types (int Data_Types, TSG_Data_Type Default = SG_DATATYPE_Undefined, const CSG_String &User = "");
729 
730  bool Set_Data_Type (TSG_Data_Type Value);
731  TSG_Data_Type Get_Data_Type (TSG_Data_Type Default = SG_DATATYPE_Undefined) const;
732 
733 
734 protected:
735 
736  CSG_Parameter_Data_Type(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
737 
738 
739  virtual bool _Assign (CSG_Parameter *pSource);
740  virtual bool _Serialize (CSG_MetaData &Entry, bool bSave);
741 
742 
743  friend class CSG_Parameters;
744 };
745 
746 
748 // //
750 
751 //---------------------------------------------------------
753 {
754 public:
755 
756  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Choices ); }
757 
758  void Set_Items (const CSG_String &Items);
759  void Set_Items (const CSG_Strings &Items);
760  CSG_String Get_Items (void) const;
761  void Del_Items (void);
762  void Add_Item (const CSG_String &Item, const CSG_String &Data = "");
763 
764  int Get_Item_Count (void) const { return( m_Items[0].Get_Count() ); }
765  const CSG_String & Get_Item (int i) const { return( m_Items[0][i] ); }
766  const CSG_String & Get_Item_Data (int i) const { return( m_Items[1][i] ); }
767 
768  int Get_Selection_Count (void) const { return( (int)m_Selection.Get_Size() ); }
769  const CSG_String & Get_Selection (int i) const { return( Get_Item (Get_Selection_Index(i)) ); }
770  const CSG_String & Get_Selection_Data (int i) const { return( Get_Item_Data(Get_Selection_Index(i)) ); }
771  int Get_Selection_Index (int i) const { return( i >= 0 && i < Get_Selection_Count() ? m_Selection[i] : -1 ); }
772 
773  bool is_Selected (int Index);
774  bool Select (int Index, bool bSelect = true);
775  bool Clr_Selection (void);
776 
777 
778 protected:
779 
780  CSG_Parameter_Choices(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
781 
782  CSG_Strings m_Items[2];
783 
785 
786 
787  virtual int _Set_Value (const CSG_String &Value);
788 
789  virtual void _Set_String (void);
790 
791  virtual bool _Assign (CSG_Parameter *pSource);
792  virtual bool _Serialize (CSG_MetaData &Entry, bool bSave);
793 
794 
795  friend class CSG_Parameters;
796 };
797 
798 
800 // //
802 
803 //---------------------------------------------------------
805 {
806 public:
807 
808  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_String ); }
809 
810  virtual bool is_Valid (void) const;
811 
812  void Set_Password (bool bOn);
813  bool is_Password (void) const;
814 
815 
816 protected:
817 
818  CSG_Parameter_String(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
819 
821 
822 
823  virtual int _Set_Value (const CSG_String &Value);
824 
825  virtual bool _Assign (CSG_Parameter *pSource);
826  virtual bool _Serialize (CSG_MetaData &Entry, bool bSave);
827 
828 
829  friend class CSG_Parameters;
830 };
831 
832 
834 // //
836 
837 //---------------------------------------------------------
839 {
840 public:
841  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Text ); }
842 
843 
844 protected:
845 
846  CSG_Parameter_Text(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
847 
848 
849  friend class CSG_Parameters;
850 };
851 
852 
854 // //
856 
857 //---------------------------------------------------------
859 {
860 public:
861 
862  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_FilePath ); }
863 
864  void Set_Filter (const SG_Char *Filter);
865  const SG_Char * Get_Filter (void) const;
866 
867  void Set_Flag_Save (bool bFlag);
868  bool is_Save (void) const { return( m_bSave ); }
869 
870  void Set_Flag_Multiple (bool bFlag);
871  bool is_Multiple (void) const { return( m_bMultiple ); }
872 
873  void Set_Flag_Directory (bool bFlag);
874  bool is_Directory (void) const { return( m_bDirectory ); }
875 
876  bool Get_FilePaths (CSG_Strings &FilePaths) const;
877 
878 
879 protected:
880 
881  CSG_Parameter_File_Name(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
882 
883  bool m_bSave, m_bMultiple, m_bDirectory;
884 
886 
887 
888  virtual bool _Assign (CSG_Parameter *pSource);
889 
890 
891  friend class CSG_Parameters;
892 };
893 
894 
896 // //
898 
899 //---------------------------------------------------------
901 {
902 public:
903 
904  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Font ); }
905 
906  virtual bool Restore_Default (void);
907 
908 
909 protected:
910 
911  CSG_Parameter_Font(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
912 
913  int m_Color;
914 
915 
916  virtual int _Set_Value (int Value);
917  virtual int _Set_Value (const CSG_String &Value);
918 
919  virtual int _asInt (void) const;
920  virtual void * _asPointer (void) const;
921 
922  virtual bool _Assign (CSG_Parameter *pSource);
923  virtual bool _Serialize (CSG_MetaData &Entry, bool bSave);
924 
925 
926  friend class CSG_Parameters;
927 };
928 
929 
931 // //
933 
934 //---------------------------------------------------------
936 {
937 public:
938 
939  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Color ); }
940 
941  virtual int _Set_Value (const CSG_String &Value);
942 
943 
944 protected:
945 
946  CSG_Parameter_Color(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
947 
948 
949  virtual bool _Serialize (CSG_MetaData &Entry, bool bSave);
950 
951 
952  friend class CSG_Parameters;
953 };
954 
955 
957 // //
959 
960 //---------------------------------------------------------
962 {
963 public:
964 
965  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Colors ); }
966 
967 
968 protected:
969 
970  CSG_Parameter_Colors(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
971 
973 
974 
975  virtual int _Set_Value (int Value);
976 
977  virtual void _Set_String (void);
978 
979  virtual int _asInt (void) const;
980  virtual void * _asPointer (void) const;
981 
982  virtual bool _Assign (CSG_Parameter *pSource);
983  virtual bool _Serialize (CSG_MetaData &Entry, bool bSave);
984 
985 
986  friend class CSG_Parameters;
987 };
988 
989 
991 // //
993 
994 //---------------------------------------------------------
996 {
997 public:
998 
999  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_FixedTable ); }
1000 
1001 
1002 protected:
1003 
1004  CSG_Parameter_Fixed_Table(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1005 
1007 
1008 
1009  virtual int _Set_Value (void *Value);
1010 
1011  virtual void _Set_String (void);
1012 
1013  virtual void * _asPointer (void) const;
1014 
1015  virtual bool _Assign (CSG_Parameter *pSource);
1016  virtual bool _Serialize (CSG_MetaData &Entry, bool bSave);
1017 
1018 
1019  friend class CSG_Parameters;
1020 };
1021 
1022 
1024 // //
1026 
1027 //---------------------------------------------------------
1029 {
1030 public:
1031 
1032  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Grid_System ); }
1033 
1034 
1035 protected:
1036 
1037  CSG_Parameter_Grid_System(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1038 
1040 
1041 
1042  virtual int _Set_Value (const CSG_String &Value);
1043  virtual int _Set_Value (void *Value);
1044 
1045  virtual void _Set_String (void);
1046 
1047  virtual void * _asPointer (void) const;
1048 
1049  virtual bool _Assign (CSG_Parameter *pSource);
1050  virtual bool _Serialize (CSG_MetaData &Entry, bool bSave);
1051 
1052 
1053  friend class CSG_Parameters;
1054 };
1055 
1056 
1058 // //
1060 
1061 //---------------------------------------------------------
1063 {
1064 public:
1065 
1066  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Table_Field ); }
1067 
1068  bool Add_Default (double Value, double Minimum, bool bMinimum, double Maximum, bool bMaximum);
1069 
1070  CSG_Table * Get_Table (void) const;
1071 
1072  static CSG_String Get_Choices (const class CSG_Table &Table, bool bAllowNone = false);
1073 
1074 
1075 protected:
1076 
1077  CSG_Parameter_Table_Field(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1078 
1080 
1081 
1082  virtual int _Set_Value (int Value);
1083  virtual int _Set_Value (const CSG_String &Value);
1084 
1085  virtual void _Set_String (void);
1086 
1087  virtual double _asDouble (void) const;
1088 
1089  virtual bool _Assign (CSG_Parameter *pSource);
1090  virtual bool _Serialize (CSG_MetaData &Entry, bool bSave);
1091 
1092 
1093  friend class CSG_Parameters;
1094 };
1095 
1096 
1098 // //
1100 
1101 //---------------------------------------------------------
1103 {
1104 public:
1105 
1106  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Table_Fields ); }
1107 
1108  int Get_Count (void) const { return( m_nFields ); }
1109  int Get_Index (int i) const { return( i >= 0 && i < m_nFields ? m_Fields[i] : -1 ); }
1110 
1111  int operator [] (int i) const { return( i >= 0 && i < m_nFields ? m_Fields[i] : -1 ); }
1112 
1113  CSG_Table * Get_Table (void) const;
1114 
1115 
1116 protected:
1117 
1118  CSG_Parameter_Table_Fields(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1119  virtual ~CSG_Parameter_Table_Fields(void);
1120 
1121  int m_nFields, *m_Fields;
1122 
1123 
1124  virtual int _Set_Value (const CSG_String &Value);
1125 
1126  virtual int _asInt (void) const;
1127  virtual void * _asPointer (void) const;
1128 
1129  virtual bool _Assign (CSG_Parameter *pSource);
1130  virtual bool _Serialize (CSG_MetaData &Entry, bool bSave);
1131 
1132 
1133  friend class CSG_Parameters;
1134 };
1135 
1136 
1138 // //
1140 
1141 //---------------------------------------------------------
1143 {
1144 public:
1145 
1146  virtual bool is_Valid (void) const;
1147 
1148 
1149 protected:
1150 
1151  CSG_Parameter_Data_Object(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1152 
1154 
1155 
1156  virtual int _Set_Value (void *Value);
1157 
1158  virtual void _Set_String (void);
1159 
1160  virtual void * _asPointer (void) const;
1161 
1162  virtual bool _Assign (CSG_Parameter *pSource);
1163  virtual bool _Serialize (CSG_MetaData &Entry, bool bSave);
1164 
1165 
1166  friend class CSG_Parameters;
1167 };
1168 
1169 
1171 // //
1173 
1174 //---------------------------------------------------------
1176 {
1177 public:
1178 
1180 
1181  bool Set_DataObject_Type (TSG_Data_Object_Type Type);
1182  TSG_Data_Object_Type Get_DataObject_Type (void) const { return( m_Type ); }
1183 
1184 
1185 protected:
1186 
1187  CSG_Parameter_Data_Object_Output(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1188 
1190 
1191 
1192  virtual int _Set_Value (void *Value);
1193 
1194 
1195  friend class CSG_Parameters;
1196 };
1197 
1198 
1200 // //
1202 
1203 //---------------------------------------------------------
1205 {
1206 public:
1207 
1208  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Grid ); }
1209 
1210  void Set_Preferred_Type (TSG_Data_Type Type);
1211  TSG_Data_Type Get_Preferred_Type (void) const { return( m_Type ); }
1212 
1213  CSG_Grid_System * Get_System (void) const;
1214 
1215  bool Add_Default (double Value, double Minimum, bool bMinimum, double Maximum, bool bMaximum);
1216 
1217 
1218 protected:
1219 
1220  CSG_Parameter_Grid(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1221 
1223 
1225 
1226 
1227  virtual int _Set_Value (void *Value);
1228 
1229  virtual int _asInt (void) const;
1230  virtual double _asDouble (void) const;
1231 
1232  virtual bool _Assign (CSG_Parameter *pSource);
1233 
1234 
1235  friend class CSG_Parameters;
1236 };
1237 
1238 
1240 // //
1242 
1243 //---------------------------------------------------------
1245 {
1246 public:
1247 
1248  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Grids ); }
1249 
1250 
1251 protected:
1252 
1253  CSG_Parameter_Grids(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1254 
1255 
1256  friend class CSG_Parameters;
1257 };
1258 
1259 
1261 // //
1263 
1264 //---------------------------------------------------------
1266 {
1267 public:
1268 
1269  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Table ); }
1270 
1271  CSG_Parameter_Table(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1272 
1273 
1274 protected:
1275 
1276  virtual int _Set_Value (void *Value);
1277 
1278 
1279  friend class CSG_Parameters;
1280 };
1281 
1282 
1284 // //
1286 
1287 //---------------------------------------------------------
1289 {
1290 public:
1291 
1292  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Shapes ); }
1293 
1294  void Set_Shape_Type (TSG_Shape_Type Type);
1295  TSG_Shape_Type Get_Shape_Type (void) const { return( m_Type ); }
1296 
1297 
1298 protected:
1299 
1300  CSG_Parameter_Shapes(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1301 
1303 
1304 
1305  virtual int _Set_Value (void *Value);
1306 
1307  virtual bool _Assign (CSG_Parameter *pSource);
1308 
1309 
1310  friend class CSG_Parameters;
1311 };
1312 
1313 
1315 // //
1317 
1318 //---------------------------------------------------------
1320 {
1321 public:
1322 
1323  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_TIN ); }
1324 
1325 
1326 protected:
1327 
1328  CSG_Parameter_TIN(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1329 
1330 
1331  virtual int _Set_Value (void *Value);
1332 
1333 
1334  friend class CSG_Parameters;
1335 };
1336 
1337 
1339 // //
1341 
1342 //---------------------------------------------------------
1344 {
1345 public:
1346 
1347  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_PointCloud ); }
1348 
1349 
1350 protected:
1351 
1352  CSG_Parameter_PointCloud(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1353 
1354 
1355  virtual int _Set_Value (void *Value);
1356 
1357  virtual bool _Assign (CSG_Parameter *pSource);
1358 
1359 
1360  friend class CSG_Parameters;
1361 };
1362 
1363 
1365 // //
1367 
1368 //---------------------------------------------------------
1370 {
1371 public:
1372 
1373  virtual bool Add_Item (CSG_Data_Object *pItem);
1374  virtual bool Del_Item (CSG_Data_Object *pItem, bool bUpdateData = true);
1375  virtual bool Del_Item (int Index , bool bUpdateData = true);
1376  virtual bool Del_Items (void);
1377 
1378  int Get_Item_Count (void) const { return( (int)m_Objects.Get_Size() ); }
1379  CSG_Data_Object * Get_Item (int Index) const { return( Index >= 0 && Index < Get_Item_Count() ? (CSG_Data_Object *)m_Objects[Index] : NULL ); }
1380 
1381  virtual bool Update_Data (void) { return( true ); }
1382 
1383 
1384 protected:
1385 
1386  CSG_Parameter_List(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1387 
1388 
1389  virtual int _Set_Value (void *Value);
1390 
1391  virtual void _Set_String (void);
1392 
1393  virtual int _asInt (void) const;
1394  virtual void * _asPointer (void) const;
1395 
1396  virtual bool _Assign (CSG_Parameter *pSource);
1397  virtual bool _Serialize (CSG_MetaData &Entry, bool bSave);
1398 
1399 
1400 private:
1401 
1402  CSG_Array_Pointer m_Objects;
1403 
1404 
1405  friend class CSG_Parameters;
1406 };
1407 
1408 
1410 // //
1412 
1413 //---------------------------------------------------------
1415 {
1416 public:
1417 
1418  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Grid_List ); }
1419 
1420  CSG_Grid_System * Get_System (void) const;
1421 
1422  virtual bool Add_Item (CSG_Data_Object *pItem);
1423  virtual bool Del_Item (CSG_Data_Object *pItem, bool bUpdateData = true);
1424  virtual bool Del_Item (int Index , bool bUpdateData = true);
1425  virtual bool Del_Items (void);
1426 
1427  virtual bool Update_Data (void);
1428 
1429  int Get_Grid_Count (void) const { return( (int)m_Grids.Get_Size() ); }
1430  CSG_Grid * Get_Grid (int Index) const { return( Index >= 0 && Index < Get_Grid_Count() ? (CSG_Grid *)m_Grids[Index] : NULL ); }
1431 
1432 
1433 protected:
1434 
1435  CSG_Parameter_Grid_List(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1436 
1438 
1439 
1440  friend class CSG_Parameters;
1441 };
1442 
1443 
1445 // //
1447 
1448 //---------------------------------------------------------
1450 {
1451 public:
1452  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Grids_List ); }
1453 
1454  CSG_Grid_System * Get_System (void) const;
1455 
1456  virtual bool Add_Item (CSG_Data_Object *pItem);
1457 
1458  CSG_Grids * Get_Grids (int Index) const { return( (CSG_Grids *)Get_Item(Index) ); }
1459 
1460 
1461 protected:
1462 
1463  CSG_Parameter_Grids_List(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1464 
1465 
1466  friend class CSG_Parameters;
1467 };
1468 
1469 
1471 // //
1473 
1474 //---------------------------------------------------------
1476 {
1477 public:
1478 
1479  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Table_List ); }
1480 
1481  CSG_Table * Get_Table (int Index) const { return( (CSG_Table *)Get_Item(Index) ); }
1482 
1483 
1484 protected:
1485 
1486  CSG_Parameter_Table_List(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1487 
1488 
1489  friend class CSG_Parameters;
1490 };
1491 
1492 
1494 // //
1496 
1497 //---------------------------------------------------------
1499 {
1500 public:
1501 
1502  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Shapes_List ); }
1503 
1504  void Set_Shape_Type (TSG_Shape_Type Type);
1505  TSG_Shape_Type Get_Shape_Type (void) const { return( m_Type );}
1506 
1507  CSG_Shapes * Get_Shapes (int Index) const { return( (CSG_Shapes *)Get_Item(Index) ); }
1508 
1509 
1510 protected:
1511 
1512  CSG_Parameter_Shapes_List(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1513 
1515 
1516 
1517  virtual bool _Assign (CSG_Parameter *pSource);
1518 
1519 
1520  friend class CSG_Parameters;
1521 };
1522 
1523 
1525 // //
1527 
1528 //---------------------------------------------------------
1530 {
1531 public:
1532 
1533  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_TIN_List ); }
1534 
1535  CSG_TIN * asTIN (int Index) const { return( (CSG_TIN *)Get_Item(Index) ); }
1536 
1537 
1538 protected:
1539 
1540  CSG_Parameter_TIN_List(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1541 
1542 
1543  friend class CSG_Parameters;
1544 };
1545 
1546 
1548 // //
1550 
1551 //---------------------------------------------------------
1553 {
1554 public:
1555 
1556  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_PointCloud_List ); }
1557 
1558  CSG_PointCloud * Get_PointCloud (int Index) const { return( (CSG_PointCloud *)Get_Item(Index) ); }
1559 
1560 
1561 protected:
1562 
1563  CSG_Parameter_PointCloud_List(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1564 
1565 
1566  friend class CSG_Parameters;
1567 };
1568 
1569 
1571 // //
1573 
1574 //---------------------------------------------------------
1576 {
1577 public:
1578 
1579  virtual TSG_Parameter_Type Get_Type (void) const { return( PARAMETER_TYPE_Parameters ); }
1580 
1581  virtual bool Restore_Default (void);
1582 
1583 
1584 protected:
1585 
1586  CSG_Parameter_Parameters(CSG_Parameters *pOwner, CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1587  virtual ~CSG_Parameter_Parameters(void);
1588 
1590 
1591 
1592  virtual void _Set_String (void);
1593 
1594  virtual void * _asPointer (void) const;
1595 
1596  virtual bool _Assign (CSG_Parameter *pSource);
1597  virtual bool _Serialize (CSG_MetaData &Entry, bool bSave);
1598 
1599 
1600  friend class CSG_Parameters;
1601 };
1602 
1603 
1605 // //
1606 // Coordinate System Reference Picker //
1607 // //
1609 
1610 //---------------------------------------------------------
1612 {
1613 public:
1615 
1616  bool Create (CSG_Parameters &Parameters, const CSG_String &ParentID = "");
1617 
1618  bool Activate_GUI (bool bReset = false);
1619  bool Deactivate_GUI (void);
1620 
1621  static bool On_Parameter_Changed (CSG_Parameters *pParameters, CSG_Parameter *pParameter);
1622  static bool On_Parameters_Enable (CSG_Parameters *pParameters, CSG_Parameter *pParameter);
1623 
1624  bool Get_CRS (CSG_Projection &Projection, bool bMessage = false) const;
1625 
1626 
1627 private:
1628 
1629  CSG_Parameters *m_pParameters { NULL };
1630 
1631  class CSG_Tool *m_pCRS { NULL };
1632 
1633 };
1634 
1635 
1637 // //
1638 // Grid Target Selector //
1639 // //
1641 
1642 //---------------------------------------------------------
1644 {
1645 public:
1647 
1648  bool Create (CSG_Parameters *pParameters, bool bAddDefaultGrid , CSG_Parameter *pParent , const CSG_String &Prefix = "");
1649  bool Create (CSG_Parameters *pParameters, bool bAddDefaultGrid = true, const CSG_String &ParentID = "", const CSG_String &Prefix = "");
1650 
1651  bool Add_Grid (const CSG_String &ID, const CSG_String &Name, bool bOptional);
1652  bool Add_Grids (const CSG_String &ID, const CSG_String &Name, bool bOptional, bool bZLevels = false);
1653 
1654  bool On_Parameter_Changed (CSG_Parameters *pParameters, CSG_Parameter *pParameter);
1655  static bool On_Parameter_Changed (CSG_Parameters *pParameters, CSG_Parameter *pParameter, const CSG_String Prefix);
1656  bool On_Parameters_Enable (CSG_Parameters *pParameters, CSG_Parameter *pParameter);
1657  static bool On_Parameters_Enable (CSG_Parameters *pParameters, CSG_Parameter *pParameter, const CSG_String Prefix);
1658 
1659  bool Set_User_Defined (CSG_Parameters *pParameters, const TSG_Rect &Extent, int Rows = 0, int Rounding = 2);
1660  bool Set_User_Defined (CSG_Parameters *pParameters, CSG_Shapes *pPoints, int Scale = 4 , int Rounding = 2);
1661  bool Set_User_Defined (CSG_Parameters *pParameters, double xMin, double yMin, double Size, int nx, int ny);
1662  bool Set_User_Defined (CSG_Parameters *pParameters, const CSG_Grid_System &System);
1663 
1664  bool Set_User_Defined_ZLevels (CSG_Parameters *pParameters, double zMin, double zMax, int nLevels, int Rounding = 2);
1665 
1666  CSG_Grid_System Get_System (void) const;
1667  CSG_Grid_System Get_System (CSG_Parameters *pParameters) const;
1668 
1669  CSG_Grid * Get_Grid (const CSG_String &ID, TSG_Data_Type Type = SG_DATATYPE_Float);
1670  CSG_Grid * Get_Grid ( TSG_Data_Type Type = SG_DATATYPE_Float);
1671 
1672  CSG_Grids * Get_Grids (const CSG_String &ID, TSG_Data_Type Type = SG_DATATYPE_Float);
1673  CSG_Grids * Get_Grids ( TSG_Data_Type Type = SG_DATATYPE_Float);
1674 
1675 
1676 private:
1677 
1678  CSG_String m_Prefix;
1679 
1680  CSG_Parameters *m_pParameters;
1681 
1682 };
1683 
1684 
1686 // //
1687 // CSG_Parameters //
1688 // //
1690 
1691 //---------------------------------------------------------
1692 typedef int (* TSG_PFNC_Parameter_Changed) (CSG_Parameter *pParameter, int Flags);
1693 
1694 //---------------------------------------------------------
1696 {
1697  friend class CSG_Parameter;
1698  friend class CSG_Tool;
1699 
1700 public:
1701  CSG_Parameters(void);
1702  virtual ~CSG_Parameters(void);
1703 
1705  bool Create (const CSG_Parameters &Parameters);
1706 
1707  CSG_Parameters (const SG_Char *Name, const SG_Char *Description = NULL, const SG_Char *Identifier = NULL, bool bGrid_System = false);
1708  bool Create (const SG_Char *Name, const SG_Char *Description = NULL, const SG_Char *Identifier = NULL, bool bGrid_System = false);
1709 
1710  CSG_Parameters (void *pOwner, const SG_Char *Name, const SG_Char *Description = NULL, const SG_Char *Identifier = NULL, bool bGrid_System = false);
1711  bool Create (void *pOwner, const SG_Char *Name, const SG_Char *Description = NULL, const SG_Char *Identifier = NULL, bool bGrid_System = false);
1712 
1713  void Destroy (void);
1714 
1715  //-----------------------------------------------------
1716  void * Get_Owner (void) const { return( m_pOwner ); }
1717 
1718  class CSG_Tool * Get_Tool (void) const { return( m_pTool ); }
1719  void Set_Tool (class CSG_Tool *pTool);
1720 
1721  class CSG_Data_Manager * Get_Manager (void) const { return( m_pManager ); }
1722  void Set_Manager (class CSG_Data_Manager *pManager);
1723 
1724  bool Push (class CSG_Data_Manager *pManager = NULL, bool bRestoreDefaults = true);
1725  bool Pop (void);
1726 
1727  bool Use_Grid_System (void);
1728 
1729  bool has_GUI (void) const;
1730 
1731  int Get_Count (void) const { return( m_nParameters ); }
1732 
1733  void Set_Identifier (const CSG_String &Identifier);
1734  bool Cmp_Identifier (const CSG_String &Identifier) const;
1735  const CSG_String & Get_Identifier (void) const { return( m_Identifier ); }
1736 
1737  void Set_Name (const CSG_String &Name);
1738  const CSG_String & Get_Name (void) const { return( m_Name ); }
1739 
1740  void Set_Description (const CSG_String &Description);
1741  const CSG_String & Get_Description (void) const { return( m_Description ); }
1742 
1743  void Add_Reference (const CSG_String &Authors, const CSG_String &Year, const CSG_String &Title, const CSG_String &Where, const SG_Char *Link = NULL, const SG_Char *Link_Text = NULL);
1744  void Add_Reference (const CSG_String &Link, const SG_Char *Link_Text = NULL);
1745  void Del_References (void);
1746  const CSG_Strings & Get_References (void) const { return( m_References ); }
1747 
1748  void Set_Enabled (bool bEnabled = true);
1749  void Set_Enabled (const CSG_String &Identifier, bool bEnabled = true);
1750 
1751  //-----------------------------------------------------
1752  TSG_PFNC_Parameter_Changed Set_Callback_On_Parameter_Changed (TSG_PFNC_Parameter_Changed pCallback);
1753  bool Set_Callback (bool bActive = true);
1754 
1755  //-----------------------------------------------------
1756  CSG_Parameters & operator = (const CSG_Parameters &Parameters) { Create(Parameters); return( *this ); }
1757 
1758  CSG_Parameter * Get_Parameter (int i ) const { return( i >= 0 && i < m_nParameters ? m_Parameters[i] : NULL ); }
1759  CSG_Parameter * Get_Parameter (int i , bool MsgOnError ) const;
1760  CSG_Parameter * Get_Parameter (const CSG_String &ID, bool MsgOnError = false) const;
1761  CSG_Parameter * Get_Parameter (const char *ID, bool MsgOnError = false) const;
1762  CSG_Parameter * Get_Parameter (const wchar_t *ID, bool MsgOnError = false) const;
1763 
1764  CSG_Parameter * operator() (int i ) const { return( Get_Parameter(i ) ); }
1765  CSG_Parameter * operator() (const CSG_String &ID) const { return( Get_Parameter(ID) ); }
1766  CSG_Parameter * operator() (const char *ID) const { return( Get_Parameter(ID) ); }
1767  CSG_Parameter * operator() (const wchar_t *ID) const { return( Get_Parameter(ID) ); }
1768 
1769  CSG_Parameter & operator[] (int i ) const { return( *Get_Parameter(i ) ); }
1770  CSG_Parameter & operator[] (const CSG_String &ID) const { return( *Get_Parameter(ID) ); }
1771  CSG_Parameter & operator[] (const char *ID) const { return( *Get_Parameter(ID) ); }
1772  CSG_Parameter & operator[] (const wchar_t *ID) const { return( *Get_Parameter(ID) ); }
1773 
1774  //-----------------------------------------------------
1775  bool Del_Parameter (int i);
1776  bool Del_Parameter (const CSG_String &ID);
1777 
1778  bool Del_Parameters (void);
1779 
1780  //-----------------------------------------------------
1781  CSG_Parameter * Add_Parameter (CSG_Parameter *pParameter);
1782 
1783  CSG_Parameter * Add_Node (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, bool bCollapsed = false);
1784 
1785  CSG_Parameter * Add_Value (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, TSG_Parameter_Type Type, double Value = 0.0, double Minimum = 0.0, bool bMinimum = false, double Maximum = 0.0, bool bMaximum = false);
1786  CSG_Parameter * Add_Info_Value (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, TSG_Parameter_Type Type, double Value = 0.0);
1787 
1788  CSG_Parameter * Add_Bool (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, bool Value = false);
1789  CSG_Parameter * Add_Int (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Value = 0 , int Minimum = 0 , bool bMinimum = false, int Maximum = 0 , bool bMaximum = false);
1790  CSG_Parameter * Add_Double (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, double Value = 0.0, double Minimum = 0.0, bool bMinimum = false, double Maximum = 0.0, bool bMaximum = false);
1791  CSG_Parameter * Add_Degree (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, double Value = 0.0, double Minimum = 0.0, bool bMinimum = false, double Maximum = 0.0, bool bMaximum = false);
1792  CSG_Parameter * Add_Date (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, double Value = 0.0); // Julian Day Number
1793  CSG_Parameter * Add_Color (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Value = 0);
1794 
1795  CSG_Parameter * Add_Range (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, double Range_Min = 0.0, double Range_Max = 0.0, double Minimum = 0.0, bool bMinimum = false, double Maximum = 0.0, bool bMaximum = false);
1796  CSG_Parameter * Add_Info_Range (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, double Range_Min = 0.0, double Range_Max = 0.0);
1797 
1798  CSG_Parameter * Add_Data_Type (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Data_Types, TSG_Data_Type Default = SG_DATATYPE_Undefined, const CSG_String &User = "");
1799 
1800  CSG_Parameter * Add_Choice (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, const CSG_String &Items, int Default = 0);
1801  CSG_Parameter * Add_Choices (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, const CSG_String &Items);
1802 
1803  CSG_Parameter * Add_String (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, const CSG_String &String, bool bLongText = false, bool bPassword = false);
1804  CSG_Parameter * Add_Info_String (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, const CSG_String &String, bool bLongText = false);
1805 
1806  CSG_Parameter * Add_FilePath (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, const SG_Char *Filter = NULL, const SG_Char *Default = NULL, bool bSave = false, bool bDirectory = false, bool bMultiple = false);
1807 
1808  CSG_Parameter * Add_Colors (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Palette = 0, int nColors = 11, bool bRevert = false);
1809  CSG_Parameter * Add_Colors (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, CSG_Colors *pInit);
1810  CSG_Parameter * Add_Font (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, const SG_Char *pInit = NULL);
1811  CSG_Parameter * Add_FixedTable (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, CSG_Table *pInit = NULL);
1812 
1813  CSG_Parameter * Add_Grid_Resampling (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, CSG_Grid_Resampling Methods = CSG_Grid_Resampling::Interpolations, CSG_Grid_Resampling Default = CSG_Grid_Resampling::Bicubic_2);
1814  CSG_Parameter * Add_Grid_System (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, CSG_Grid_System *pInit = NULL);
1815  CSG_Parameter * Add_Grid (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint, bool bSystem_Dependent = true, TSG_Data_Type Preferred_Type = SG_DATATYPE_Undefined);
1816  CSG_Parameter * Add_Grid_or_Const (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, double Value = 0.0, double Minimum = 0.0, bool bMinimum = false, double Maximum = 0.0, bool bMaximum = false, bool bSystem_Dependent = true);
1817  CSG_Parameter * Add_Grid_Output (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description);
1818  CSG_Parameter * Add_Grid_List (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint, bool bSystem_Dependent = true);
1819 
1820  CSG_Parameter * Add_Grids (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint, bool bSystem_Dependent = true, TSG_Data_Type Preferred_Type = SG_DATATYPE_Undefined);
1821  CSG_Parameter * Add_Grids_Output (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description);
1822  CSG_Parameter * Add_Grids_List (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint, bool bSystem_Dependent = true);
1823 
1824  CSG_Parameter * Add_Table_Field (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, bool bAllowNone = false);
1825  CSG_Parameter * Add_Table_Field_or_Const(const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, double Value = 0.0, double Minimum = 0.0, bool bMinimum = false, double Maximum = 0.0, bool bMaximum = false);
1826  CSG_Parameter * Add_Table_Fields (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description);
1827  CSG_Parameter * Add_Table (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1828  CSG_Parameter * Add_Table_Output (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description);
1829  CSG_Parameter * Add_Table_List (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1830 
1831  CSG_Parameter * Add_Shapes (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint, TSG_Shape_Type Shape_Type = SHAPE_TYPE_Undefined);
1832  CSG_Parameter * Add_Shapes_Output (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description);
1833  CSG_Parameter * Add_Shapes_List (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint, TSG_Shape_Type = SHAPE_TYPE_Undefined);
1834 
1835  CSG_Parameter * Add_TIN (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1836  CSG_Parameter * Add_TIN_Output (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description);
1837  CSG_Parameter * Add_TIN_List (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1838 
1839  CSG_Parameter * Add_PointCloud (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1840  CSG_Parameter * Add_PointCloud_Output (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description);
1841  CSG_Parameter * Add_PointCloud_List (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint);
1842 
1843  CSG_Parameter * Add_Parameters (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description);
1844 
1845  //-----------------------------------------------------
1846  bool Set_Parameter (const CSG_String &ID, CSG_Parameter *pValue);
1847  bool Set_Parameter (const char *ID, CSG_Parameter *pValue);
1848  bool Set_Parameter (const wchar_t *ID, CSG_Parameter *pValue);
1849  bool Set_Parameter (const CSG_String &ID, void *Value, int Type = PARAMETER_TYPE_Undefined);
1850  bool Set_Parameter (const char *ID, void *Value, int Type = PARAMETER_TYPE_Undefined);
1851  bool Set_Parameter (const wchar_t *ID, void *Value, int Type = PARAMETER_TYPE_Undefined);
1852  bool Set_Parameter (const CSG_String &ID, CSG_Data_Object *Value, int Type = PARAMETER_TYPE_Undefined);
1853  bool Set_Parameter (const char *ID, CSG_Data_Object *Value, int Type = PARAMETER_TYPE_Undefined);
1854  bool Set_Parameter (const wchar_t *ID, CSG_Data_Object *Value, int Type = PARAMETER_TYPE_Undefined);
1855  bool Set_Parameter (const CSG_String &ID, int Value, int Type = PARAMETER_TYPE_Undefined);
1856  bool Set_Parameter (const char *ID, int Value, int Type = PARAMETER_TYPE_Undefined);
1857  bool Set_Parameter (const wchar_t *ID, int Value, int Type = PARAMETER_TYPE_Undefined);
1858  bool Set_Parameter (const CSG_String &ID, double Value, int Type = PARAMETER_TYPE_Undefined);
1859  bool Set_Parameter (const char *ID, double Value, int Type = PARAMETER_TYPE_Undefined);
1860  bool Set_Parameter (const wchar_t *ID, double Value, int Type = PARAMETER_TYPE_Undefined);
1861  bool Set_Parameter (const CSG_String &ID, const CSG_String &Value, int Type = PARAMETER_TYPE_Undefined);
1862  bool Set_Parameter (const char *ID, const CSG_String &Value, int Type = PARAMETER_TYPE_Undefined);
1863  bool Set_Parameter (const wchar_t *ID, const CSG_String &Value, int Type = PARAMETER_TYPE_Undefined);
1864  bool Set_Parameter (const CSG_String &ID, const char *Value, int Type = PARAMETER_TYPE_Undefined);
1865  bool Set_Parameter (const char *ID, const char *Value, int Type = PARAMETER_TYPE_Undefined);
1866  bool Set_Parameter (const wchar_t *ID, const char *Value, int Type = PARAMETER_TYPE_Undefined);
1867  bool Set_Parameter (const CSG_String &ID, const wchar_t *Value, int Type = PARAMETER_TYPE_Undefined);
1868  bool Set_Parameter (const char *ID, const wchar_t *Value, int Type = PARAMETER_TYPE_Undefined);
1869  bool Set_Parameter (const wchar_t *ID, const wchar_t *Value, int Type = PARAMETER_TYPE_Undefined);
1870 
1871  bool Restore_Defaults (bool bClearData = false);
1872 
1873  bool Assign (CSG_Parameters *pSource);
1874  bool Assign_Values (CSG_Parameters *pSource);
1875  bool Assign_Parameters (CSG_Parameters *pSource);
1876 
1877  bool Load (const CSG_MetaData &Data);
1878  bool Save ( CSG_MetaData &Data) const;
1879 
1880  bool Load (const CSG_String &File);
1881  bool Save (const CSG_String &File) const;
1882 
1883  bool Serialize ( CSG_MetaData &Data, bool bSave) { return( bSave ? Save(Data) : Load(Data) ); }
1884  bool Serialize ( CSG_MetaData &Data ) const { return( Save(Data) ); }
1885  bool Serialize (const CSG_String &File, bool bSave) { return( bSave ? Save(File) : Load(File) ); }
1886  bool Serialize (const CSG_String &File ) const { return( Save(File) ); }
1887 
1888  bool Serialize_Compatibility (CSG_File &Stream);
1889 
1890  //-----------------------------------------------------
1891  bool DataObjects_Check (bool bSilent = false);
1892 
1893  //-----------------------------------------------------
1894  bool Get_String (CSG_String &String, bool bOptionsOnly);
1895  bool Msg_String (bool bOptionsOnly);
1896 
1897  bool Set_History (CSG_MetaData &History, bool bOptions = true, bool bDataObjects = true);
1898 
1899  bool is_Managed (void) const { return( m_pManager != NULL ); }
1900 
1901  CSG_Parameter * Get_Grid_System_Parameter (void) const { return( m_pGrid_System ); }
1902  CSG_Grid_System * Get_Grid_System (void) const { return( m_pGrid_System ? m_pGrid_System->asGrid_System() : NULL ); }
1903  bool Set_Grid_System (const CSG_Grid_System &System);
1904  bool Reset_Grid_System (void);
1905 
1906 
1907 private:
1908 
1909  void *m_pOwner;
1910 
1911  class CSG_Tool *m_pTool;
1912 
1913  class CSG_Data_Manager *m_pManager;
1914 
1915  bool m_bCallback;
1916 
1917  CSG_String m_Identifier, m_Name, m_Description;
1918 
1919  CSG_Strings m_References;
1920 
1921  int m_nParameters;
1922 
1923  CSG_Parameter **m_Parameters, *m_pGrid_System;
1924 
1925  CSG_Parameters *m_pStack;
1926 
1927  TSG_PFNC_Parameter_Changed m_Callback;
1928 
1929 
1930  void _On_Construction (void);
1931 
1932  bool _On_Parameter_Changed (CSG_Parameter *pParameter, int Flags);
1933 
1934  CSG_Parameter * _Add_Value (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, bool bInformation, TSG_Parameter_Type Type, double Value, double Minimum, bool bMinimum, double Maximum, bool bMaximum);
1935  CSG_Parameter * _Add_Range (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, bool bInformation, double Range_Min, double Range_Max, double Minimum, bool bMinimum, double Maximum, bool bMaximum);
1936  CSG_Parameter * _Add_String (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, bool bInformation, const SG_Char *String, bool bLongText, bool bPassword);
1937 
1938  CSG_Parameter * _Add (const CSG_String &ParentID, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, TSG_Parameter_Type Type, int Constraint);
1939  CSG_Parameter * _Add (CSG_Parameter *pSource);
1940 
1941  bool DataObjects_Create (void);
1942  bool DataObjects_Synchronize (void);
1943  bool DataObjects_Get_Projection (CSG_Projection &Projection) const;
1944  bool DataObjects_Set_Projection (const CSG_Projection &Projection);
1945 
1946 
1947 public: // DEPRECATED BEGIN
1948 
1949  // old style calls (parent as csg_parameter pointer instead of identifier)
1950 
1951  CSG_Parameter * Add_Node (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description)
1952  { return( Add_Node (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description) ); }
1953  CSG_Parameter * Add_Value (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, TSG_Parameter_Type Type, double Value = 0.0, double Minimum = 0.0, bool bMinimum = false, double Maximum = 0.0, bool bMaximum = false)
1954  { return( Add_Value (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Type, Value, Minimum, bMinimum, Maximum, bMaximum) ); }
1955  CSG_Parameter * Add_Info_Value (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, TSG_Parameter_Type Type, double Value = 0.0)
1956  { return( Add_Info_Value (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Type, Value) ); }
1957  CSG_Parameter * Add_Bool (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, bool Value = false)
1958  { return( Add_Bool (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Value) ); }
1959  CSG_Parameter * Add_Int (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Value = 0 , int Minimum = 0 , bool bMinimum = false, int Maximum = 0 , bool bMaximum = false)
1960  { return( Add_Int (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Value, Minimum, bMinimum, Maximum, bMaximum) ); }
1961  CSG_Parameter * Add_Double (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, double Value = 0.0, double Minimum = 0.0, bool bMinimum = false, double Maximum = 0.0, bool bMaximum = false)
1962  { return( Add_Double (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Value, Minimum, bMinimum, Maximum, bMaximum) ); }
1963  CSG_Parameter * Add_Degree (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, double Value = 0.0, double Minimum = 0.0, bool bMinimum = false, double Maximum = 0.0, bool bMaximum = false)
1964  { return( Add_Degree (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Value, Minimum, bMinimum, Maximum, bMaximum) ); }
1965  CSG_Parameter * Add_Date (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, double Value = 0.0)
1966  { return( Add_Date (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Value) ); }
1967  CSG_Parameter * Add_Color (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Value = 0)
1968  { return( Add_Color (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Value) ); }
1969  CSG_Parameter * Add_Range (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, double Range_Min = 0.0, double Range_Max = 0.0, double Minimum = 0.0, bool bMinimum = false, double Maximum = 0.0, bool bMaximum = false)
1970  { return( Add_Range (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Range_Min, Range_Max, Minimum, bMinimum, Maximum, bMaximum) ); }
1971  CSG_Parameter * Add_Info_Range (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, double Range_Min = 0.0, double Range_Max = 0.0)
1972  { return( Add_Info_Range (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Range_Min, Range_Max) ); }
1973  CSG_Parameter * Add_Choice (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, const CSG_String &Items, int Default = 0)
1974  { return( Add_Choice (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Items, Default) ); }
1975  CSG_Parameter * Add_String (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, const CSG_String &String, bool bLongText = false, bool bPassword = false)
1976  { return( Add_String (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, String, bLongText, bPassword) ); }
1977  CSG_Parameter * Add_Info_String (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, const CSG_String &String, bool bLongText = false)
1978  { return( Add_Info_String (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, String, bLongText) ); }
1979  CSG_Parameter * Add_FilePath (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, const SG_Char *Filter = NULL, const SG_Char *Default = NULL, bool bSave = false, bool bDirectory = false, bool bMultiple = false)
1980  { return( Add_FilePath (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Filter, Default, bSave, bDirectory, bMultiple) ); }
1981  CSG_Parameter * Add_Font (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, const SG_Char *pInit = NULL)
1982  { return( Add_Font (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, pInit) ); }
1983  CSG_Parameter * Add_Colors (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, CSG_Colors *pInit = NULL)
1984  { return( Add_Colors (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, pInit) ); }
1985  CSG_Parameter * Add_FixedTable (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, CSG_Table *pInit = NULL)
1986  { return( Add_FixedTable (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, pInit) ); }
1987  CSG_Parameter * Add_Grid_System (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, CSG_Grid_System *pInit = NULL)
1988  { return( Add_Grid_System (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, pInit) ); }
1989  CSG_Parameter * Add_Grid (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint, bool bSystem_Dependent = true, TSG_Data_Type Preferred_Type = SG_DATATYPE_Undefined)
1990  { return( Add_Grid (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Constraint, bSystem_Dependent, Preferred_Type) ); }
1991  CSG_Parameter * Add_Grid_or_Const (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, double Value = 0.0, double Minimum = 0.0, bool bMinimum = false, double Maximum = 0.0, bool bMaximum = false, bool bSystem_Dependent = true)
1992  { return( Add_Grid_or_Const (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Value, Minimum, bMinimum, Maximum, bMaximum, bSystem_Dependent) ); }
1993  CSG_Parameter * Add_Grid_Output (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description)
1994  { return( Add_Grid_Output (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description) ); }
1995  CSG_Parameter * Add_Grid_List (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint, bool bSystem_Dependent = true)
1996  { return( Add_Grid_List (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Constraint, bSystem_Dependent) ); }
1997  CSG_Parameter * Add_Table_Field (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, bool bAllowNone = false)
1998  { return( Add_Table_Field (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, bAllowNone) ); }
1999  CSG_Parameter * Add_Table_Field_or_Const(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, double Value = 0.0, double Minimum = 0.0, bool bMinimum = false, double Maximum = 0.0, bool bMaximum = false)
2000  { return( Add_Table_Field_or_Const(pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Value, Minimum, bMinimum, Maximum, bMaximum) ); }
2001  CSG_Parameter * Add_Table_Fields (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description)
2002  { return( Add_Table_Fields (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description) ); }
2003  CSG_Parameter * Add_Table (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint)
2004  { return( Add_Table (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Constraint) ); }
2005  CSG_Parameter * Add_Table_Output (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description)
2006  { return( Add_Table_Output (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description) ); }
2007  CSG_Parameter * Add_Table_List (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint)
2008  { return( Add_Table_List (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Constraint) ); }
2009  CSG_Parameter * Add_Shapes (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint, TSG_Shape_Type Shape_Type = SHAPE_TYPE_Undefined)
2010  { return( Add_Shapes (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Constraint, Shape_Type) ); }
2011  CSG_Parameter * Add_Shapes_Output (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description)
2012  { return( Add_Shapes_Output (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description) ); }
2013  CSG_Parameter * Add_Shapes_List (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint, TSG_Shape_Type Shape_Type = SHAPE_TYPE_Undefined)
2014  { return( Add_Shapes_List (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Constraint, Shape_Type) ); }
2015  CSG_Parameter * Add_TIN (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint)
2016  { return( Add_TIN (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Constraint) ); }
2017  CSG_Parameter * Add_TIN_Output (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description)
2018  { return( Add_TIN_Output (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description) ); }
2019  CSG_Parameter * Add_TIN_List (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint)
2020  { return( Add_TIN_List (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Constraint) ); }
2021  CSG_Parameter * Add_PointCloud (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint)
2022  { return( Add_PointCloud (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Constraint) ); }
2023  CSG_Parameter * Add_PointCloud_Output (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description)
2024  { return( Add_PointCloud_Output (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description) ); }
2025  CSG_Parameter * Add_PointCloud_List (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint)
2026  { return( Add_PointCloud_List (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description, Constraint) ); }
2027  CSG_Parameter * Add_Parameters (CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description)
2028  { return( Add_Parameters (pParent ? pParent->Get_Identifier() : SG_T(""), ID, Name, Description) ); }
2029 
2030  // DEPRECATED END
2031 
2032 };
2033 
2034 
2036 // //
2037 // //
2038 // //
2040 
2041 //---------------------------------------------------------
2042 #endif // #ifndef HEADER_INCLUDED__SAGA_API__parameters_H
CSG_Parameter::asGridsList
class CSG_Parameter_Grids_List * asGridsList(void) const
Definition: parameter.cpp:1156
CSG_Parameter_Colors::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:965
CSG_Parameter_Data_Object
Definition: parameters.h:1143
CSG_Parameter_Date
Definition: parameters.h:577
CSG_Parameter_Bool::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:404
CSG_Parameter_Shapes_List::Get_Shape_Type
TSG_Shape_Type Get_Shape_Type(void) const
Definition: parameters.h:1505
CSG_Parameters::Get_Description
const CSG_String & Get_Description(void) const
Definition: parameters.h:1741
CSG_Parameter_Grid::m_Type
TSG_Data_Type m_Type
Definition: parameters.h:1224
CSG_Parameter::asPointer
void * asPointer(void) const
Definition: parameters.h:290
PARAMETER_TYPE_Double
@ PARAMETER_TYPE_Double
Definition: parameters.h:128
CSG_Parameter_Choices::Get_Selection_Count
int Get_Selection_Count(void) const
Definition: parameters.h:768
CSG_Parameters::Add_Degree
CSG_Parameter * Add_Degree(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, double Value=0.0, double Minimum=0.0, bool bMinimum=false, double Maximum=0.0, bool bMaximum=false)
Definition: parameters.h:1963
CSG_Parameters::Get_Parameter
CSG_Parameter * Get_Parameter(int i) const
Definition: parameters.h:1758
PARAMETER_TYPE_FilePath
@ PARAMETER_TYPE_FilePath
Definition: parameters.h:137
CSG_Parameters::Get_Grid_System
CSG_Grid_System * Get_Grid_System(void) const
Definition: parameters.h:1902
SG_DATATYPE_Undefined
@ SG_DATATYPE_Undefined
Definition: api_core.h:1013
PARAMETER_TYPE_Degree
@ PARAMETER_TYPE_Degree
Definition: parameters.h:129
CSG_Parameter_Grid_System::m_System
CSG_Grid_System m_System
Definition: parameters.h:1039
CSG_Tool::Parameters
CSG_Parameters Parameters
Definition: tool.h:255
CSG_Parameter_Grid
Definition: parameters.h:1205
CSG_Parameters::Add_Shapes_Output
CSG_Parameter * Add_Shapes_Output(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description)
Definition: parameters.h:2011
SG_T
#define SG_T(s)
Definition: api_core.h:537
CSG_Parameters::Add_FixedTable
CSG_Parameter * Add_FixedTable(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, CSG_Table *pInit=NULL)
Definition: parameters.h:1985
CSG_Parameter::asShapesList
class CSG_Parameter_Shapes_List * asShapesList(void) const
Definition: parameter.cpp:1158
CSG_Parameters::Add_Table
CSG_Parameter * Add_Table(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint)
Definition: parameters.h:2003
CSG_Parameter_List::Add_Item
virtual bool Add_Item(CSG_Data_Object *pItem)
Definition: parameter_data.cpp:3042
CSG_Parameter_Degree
Definition: parameters.h:552
CSG_Parameter_Choice::_Assign
virtual bool _Assign(CSG_Parameter *pSource)
Definition: parameter_data.cpp:1097
CSG_Parameter_Parameters
Definition: parameters.h:1576
PARAMETER_TYPE_Table_Fields
@ PARAMETER_TYPE_Table_Fields
Definition: parameters.h:146
CSG_Parameter::m_String
CSG_String m_String
Definition: parameters.h:336
CSG_Parameter_Data_Object::_Set_Value
virtual int _Set_Value(void *Value)
Definition: parameter_data.cpp:2494
CSG_Parameter_Int::_Set_String
virtual void _Set_String(void)
Definition: parameter_data.cpp:483
CSG_Parameter_Table_Fields::m_nFields
int m_nFields
Definition: parameters.h:1121
CSG_Parameter_Data_Object_Output::m_Type
TSG_Data_Object_Type m_Type
Definition: parameters.h:1189
CSG_Parameter_Int::_asInt
virtual int _asInt(void) const
Definition: parameters.h:497
CSG_Parameter_Grids_List::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:1452
CSG_Parameter::Get_Identifier
const SG_Char * Get_Identifier(void) const
Definition: parameter.cpp:562
CSG_Parameter::asInt
int asInt(void) const
Definition: parameters.h:286
CSG_Parameter_Int::_Set_Value
virtual int _Set_Value(int Value)
Definition: parameter_data.cpp:443
CSG_Parameters::Add_PointCloud
CSG_Parameter * Add_PointCloud(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint)
Definition: parameters.h:2021
CSG_Parameters::Get_Manager
class CSG_Data_Manager * Get_Manager(void) const
Definition: parameters.h:1721
PARAMETER_TYPE_Node
@ PARAMETER_TYPE_Node
Definition: parameters.h:124
CSG_Parameter::asString
const SG_Char * asString(void) const
Definition: parameters.h:289
PARAMETER_OPTIONAL
#define PARAMETER_OPTIONAL
Definition: parameters.h:96
CSG_Parameters::Get_Grid_System_Parameter
CSG_Parameter * Get_Grid_System_Parameter(void) const
Definition: parameters.h:1901
CSG_Parameters::Get_Owner
void * Get_Owner(void) const
Definition: parameters.h:1716
CSG_Parameter_TIN
Definition: parameters.h:1320
CSG_Parameter_Table_Fields::Get_Index
int Get_Index(int i) const
Definition: parameters.h:1109
CSG_Parameter_Table_List
Definition: parameters.h:1476
CSG_Parameter_Grid_List::Get_Grid_Count
int Get_Grid_Count(void) const
Definition: parameters.h:1429
CSG_Parameter_Value::Get_Maximum
double Get_Maximum(void) const
Definition: parameters.h:450
CSG_Parameter::is_Valid
virtual bool is_Valid(void) const
Definition: parameters.h:235
TSG_Shape_Type
TSG_Shape_Type
Definition: shapes.h:100
CSG_Parameter_Value::has_Minimum
bool has_Minimum(void) const
Definition: parameters.h:447
CSG_Parameter_Table_Field::m_Default
int m_Default
Definition: parameters.h:1079
PARAMETER_TYPE_Grids_List
@ PARAMETER_TYPE_Grids_List
Definition: parameters.h:156
CSG_Parameter::asTINList
class CSG_Parameter_TIN_List * asTINList(void) const
Definition: parameter.cpp:1159
PARAMETER_TYPE_String
@ PARAMETER_TYPE_String
Definition: parameters.h:135
CSG_Parameter::_Assign
virtual bool _Assign(CSG_Parameter *pSource)
Definition: parameter.cpp:1200
CSG_Grid_System
Definition: grid.h:220
CSG_Parameters::Add_TIN_List
CSG_Parameter * Add_TIN_List(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint)
Definition: parameters.h:2019
CSG_Parameter::asDate
class CSG_Parameter_Date * asDate(void) const
Definition: parameter.cpp:1144
PARAMETER_TYPE_Int
@ PARAMETER_TYPE_Int
Definition: parameters.h:127
CSG_Parameter_Shapes_List::m_Type
TSG_Shape_Type m_Type
Definition: parameters.h:1514
CSG_Parameter_List::Get_Item
CSG_Data_Object * Get_Item(int Index) const
Definition: parameters.h:1379
CSG_Parameter_PointCloud_List::Get_PointCloud
CSG_PointCloud * Get_PointCloud(int Index) const
Definition: parameters.h:1558
CSG_Parameter::asColor
long asColor(void) const
Definition: parameters.h:287
CSG_Parameter_String::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:808
CSG_Parameters::CSG_Parameter
friend class CSG_Parameter
Definition: parameters.h:1697
CSG_Data_Manager::Add_PointCloud
CSG_PointCloud * Add_PointCloud(void)
Definition: data_manager.cpp:557
CSG_Parameters::Add_Grid_Output
CSG_Parameter * Add_Grid_Output(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description)
Definition: parameters.h:1993
CSG_Parameter_Range::m_pMin
CSG_Parameter_Double * m_pMin
Definition: parameters.h:644
CSG_Parameter::is_Input
bool is_Input(void) const
Definition: parameters.h:236
CSG_Parameter_Choice::_asInt
virtual int _asInt(void) const
Definition: parameters.h:706
CSG_Parameter_Int::_Assign
virtual bool _Assign(CSG_Parameter *pSource)
Definition: parameter_data.cpp:489
CSG_Parameters::is_Managed
bool is_Managed(void) const
Definition: parameters.h:1899
CSG_Parameters::Add_Info_Range
CSG_Parameter * Add_Info_Range(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, double Range_Min=0.0, double Range_Max=0.0)
Definition: parameters.h:1971
CSG_Parameter_Colors
Definition: parameters.h:962
CSG_Parameter_Choices
Definition: parameters.h:753
PARAMETER_TYPE_TIN
@ PARAMETER_TYPE_TIN
Definition: parameters.h:153
CSG_Parameter_Data_Object_Output
Definition: parameters.h:1176
CSG_Tool
Definition: tool.h:135
CSG_Parameter_Colors::m_Colors
CSG_Colors m_Colors
Definition: parameters.h:972
CSG_Parameters::Add_Color
CSG_Parameter * Add_Color(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Value=0)
Definition: parameters.h:1967
SG_Parameter_Type_Get_Name
SAGA_API_DLL_EXPORT CSG_String SG_Parameter_Type_Get_Name(TSG_Parameter_Type Type)
Definition: parameter_data.cpp:64
CSG_Parameter_Data_Object::m_pDataObject
CSG_Data_Object * m_pDataObject
Definition: parameters.h:1153
CSG_Parameter_Choices::Get_Item_Count
int Get_Item_Count(void) const
Definition: parameters.h:764
CSG_Parameters::Add_Shapes
CSG_Parameter * Add_Shapes(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint, TSG_Shape_Type Shape_Type=SHAPE_TYPE_Undefined)
Definition: parameters.h:2009
CSG_Parameter_Double::_Set_String
virtual void _Set_String(void)
Definition: parameter_data.cpp:572
PARAMETER_TYPE_FixedTable
@ PARAMETER_TYPE_FixedTable
Definition: parameters.h:142
CSG_Parameter_Table_Field
Definition: parameters.h:1063
CSG_Parameter_Choice::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:668
CSG_Parameters::Add_Shapes_List
CSG_Parameter * Add_Shapes_List(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint, TSG_Shape_Type Shape_Type=SHAPE_TYPE_Undefined)
Definition: parameters.h:2013
CSG_Parameters::Add_PointCloud_Output
CSG_Parameter * Add_PointCloud_Output(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description)
Definition: parameters.h:2023
CSG_Parameter_File_Name::m_Filter
CSG_String m_Filter
Definition: parameters.h:885
CSG_Parameter_Grid::Get_Preferred_Type
TSG_Data_Type Get_Preferred_Type(void) const
Definition: parameters.h:1211
CSG_Parameter_TIN_List::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:1533
CSG_Parameter::_asDouble
virtual double _asDouble(void) const
Definition: parameter.cpp:1045
CSG_Parameter_Node
Definition: parameters.h:381
CSG_Parameter::Assign
bool Assign(CSG_Parameter *pSource)
Definition: parameter.cpp:1180
SG_Parameter_Type_Get_Identifier
SAGA_API_DLL_EXPORT CSG_String SG_Parameter_Type_Get_Identifier(TSG_Parameter_Type Type)
Definition: parameter_data.cpp:114
CSG_Parameter_Table_List::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:1479
CSG_Parameter_File_Name::is_Directory
bool is_Directory(void) const
Definition: parameters.h:874
CSG_Parameter_Value
Definition: parameters.h:440
CSG_Parameters::Add_Choice
CSG_Parameter * Add_Choice(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, const CSG_String &Items, int Default=0)
Definition: parameters.h:1973
tin.h
CSG_Parameter_String::_Assign
virtual bool _Assign(CSG_Parameter *pSource)
Definition: parameter_data.cpp:1487
PARAMETER_TYPE_PointCloud
@ PARAMETER_TYPE_PointCloud
Definition: parameters.h:148
CSG_Parameter_List::_Assign
virtual bool _Assign(CSG_Parameter *pSource)
Definition: parameter_data.cpp:3150
CSG_Parameters::Add_Int
CSG_Parameter * Add_Int(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Value=0, int Minimum=0, bool bMinimum=false, int Maximum=0, bool bMaximum=false)
Definition: parameters.h:1959
CSG_Parameter_File_Name::is_Save
bool is_Save(void) const
Definition: parameters.h:868
CSG_Parameter_Choice::_asDouble
virtual double _asDouble(void) const
Definition: parameters.h:707
CSG_Parameter::asValue
class CSG_Parameter_Value * asValue(void) const
Definition: parameter.cpp:1130
CSG_Parameter_Font
Definition: parameters.h:901
CSG_Parameter_Data_Object_Output::Get_DataObject_Type
TSG_Data_Object_Type Get_DataObject_Type(void) const
Definition: parameters.h:1182
SG_Parameter_Type_Get_Type
SAGA_API_DLL_EXPORT TSG_Parameter_Type SG_Parameter_Type_Get_Type(const CSG_String &Identifier)
Definition: parameter_data.cpp:164
CSG_Parameter_Node::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:384
CSG_Parameter_Choice::m_Items
CSG_Strings m_Items
Definition: parameters.h:697
CSG_Parameter::_Set_Value
virtual int _Set_Value(int Value)
Definition: parameter.cpp:808
CSG_Parameters::Add_Node
CSG_Parameter * Add_Node(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description)
Definition: parameters.h:1951
CSG_File
Definition: api_core.h:1129
CSG_Parameter_File_Name::is_Multiple
bool is_Multiple(void) const
Definition: parameters.h:871
CSG_Parameter_TIN_List::asTIN
CSG_TIN * asTIN(int Index) const
Definition: parameters.h:1535
CSG_Parameter_PointCloud
Definition: parameters.h:1344
CSG_Parameter_Grid_List::m_Grids
CSG_Array_Pointer m_Grids
Definition: parameters.h:1437
PARAMETER_TYPE_Shapes_List
@ PARAMETER_TYPE_Shapes_List
Definition: parameters.h:158
SSG_Rect
Definition: geo_tools.h:467
CSG_Parameter::asGridList
class CSG_Parameter_Grid_List * asGridList(void) const
Definition: parameter.cpp:1155
PARAMETER_TYPE_Grids
@ PARAMETER_TYPE_Grids
Definition: parameters.h:150
CSG_Parameter_Font::m_Color
int m_Color
Definition: parameters.h:913
CSG_Parameter_Range::m_pRange
CSG_Parameters * m_pRange
Definition: parameters.h:642
CSG_Parameter::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const =0
CSG_Parameters::Add_Colors
CSG_Parameter * Add_Colors(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, CSG_Colors *pInit=NULL)
Definition: parameters.h:1983
CSG_Parameter::Serialize
bool Serialize(CSG_MetaData &MetaData, bool bSave)
Definition: parameter.cpp:1206
CSG_Parameter_Date::m_Date
CSG_DateTime m_Date
Definition: parameters.h:590
CSG_Parameter_Table_List::Get_Table
CSG_Table * Get_Table(int Index) const
Definition: parameters.h:1481
CSG_Parameter_Text
Definition: parameters.h:839
PARAMETER_TYPE_Choices
@ PARAMETER_TYPE_Choices
Definition: parameters.h:134
CSG_Parameter_Grid_List::Get_Grid
CSG_Grid * Get_Grid(int Index) const
Definition: parameters.h:1430
CSG_Parameter::ignore_Projection
bool ignore_Projection(void) const
Definition: parameters.h:255
PARAMETER_TYPE_Data_Type
@ PARAMETER_TYPE_Data_Type
Definition: parameters.h:132
CSG_Parameters::Add_String
CSG_Parameter * Add_String(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, const CSG_String &String, bool bLongText=false, bool bPassword=false)
Definition: parameters.h:1975
CSG_Parameter_Shapes
Definition: parameters.h:1289
CSG_Parameter_List::Del_Items
virtual bool Del_Items(void)
Definition: parameter_data.cpp:3084
CSG_TIN
Definition: tin.h:222
CSG_Parameter_Fixed_Table
Definition: parameters.h:996
PARAMETER_TYPE_Colors
@ PARAMETER_TYPE_Colors
Definition: parameters.h:141
CSG_Parameters::Add_Parameters
CSG_Parameter * Add_Parameters(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description)
Definition: parameters.h:2027
CSG_Data_Object
Definition: dataobject.h:180
CSG_Parameter_Int::_Serialize
virtual bool _Serialize(CSG_MetaData &Entry, bool bSave)
Definition: parameter_data.cpp:497
CSG_Parameter
Definition: parameters.h:208
CSG_Parameter_Double::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:517
CSG_Parameter_Choices::Get_Item_Data
const CSG_String & Get_Item_Data(int i) const
Definition: parameters.h:766
CSG_Parameter_Grid_System
Definition: parameters.h:1029
CSG_Parameters::Add_Info_Value
CSG_Parameter * Add_Info_Value(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, TSG_Parameter_Type Type, double Value=0.0)
Definition: parameters.h:1955
PARAMETER_TYPE_Undefined
@ PARAMETER_TYPE_Undefined
Definition: parameters.h:166
CSG_Data_Manager::Add_TIN
CSG_TIN * Add_TIN(void)
Definition: data_manager.cpp:573
CSG_Parameter::_asInt
virtual int _asInt(void) const
Definition: parameter.cpp:1044
PARAMETER_TYPE_Table
@ PARAMETER_TYPE_Table
Definition: parameters.h:151
PARAMETER_TYPE_Bool
@ PARAMETER_TYPE_Bool
Definition: parameters.h:126
CSG_Parameter_Choices::Get_Selection_Data
const CSG_String & Get_Selection_Data(int i) const
Definition: parameters.h:770
CSG_Parameter_List::Update_Data
virtual bool Update_Data(void)
Definition: parameters.h:1381
CSG_Parameters::Get_Count
int Get_Count(void) const
Definition: parameters.h:1731
PARAMETER_TYPE_Table_Field
@ PARAMETER_TYPE_Table_Field
Definition: parameters.h:145
CSG_Parameter_Parameters::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:1579
CSG_Parameter_Date::Get_Date
const CSG_DateTime & Get_Date(void) const
Definition: parameters.h:583
CSG_Parameters::Add_Table_List
CSG_Parameter * Add_Table_List(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint)
Definition: parameters.h:2007
CSG_Parameter_Fixed_Table::m_Table
CSG_Table m_Table
Definition: parameters.h:1006
CSG_Parameter_List::Del_Item
virtual bool Del_Item(CSG_Data_Object *pItem, bool bUpdateData=true)
Definition: parameter_data.cpp:3054
PARAMETER_TYPE_Choice
@ PARAMETER_TYPE_Choice
Definition: parameters.h:133
CSG_Parameter::_Serialize
virtual bool _Serialize(CSG_MetaData &MetaData, bool bSave)
Definition: parameter.cpp:1242
CSG_Parameter_File_Name
Definition: parameters.h:859
CSG_Parameters::Add_Table_Field_or_Const
CSG_Parameter * Add_Table_Field_or_Const(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, double Value=0.0, double Minimum=0.0, bool bMinimum=false, double Maximum=0.0, bool bMaximum=false)
Definition: parameters.h:1999
CSG_Parameter_Grids
Definition: parameters.h:1245
CSG_Parameters::Get_Tool
class CSG_Tool * Get_Tool(void) const
Definition: parameters.h:1718
CSG_Data_Manager::Add_Grid
CSG_Grid * Add_Grid(void)
Definition: data_manager.cpp:589
CSG_Parameter_Range::Get_Range
double Get_Range(void) const
Definition: parameters.h:622
CSG_Parameters::Add_Table_Output
CSG_Parameter * Add_Table_Output(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description)
Definition: parameters.h:2005
CSG_Parameter_Grids_List
Definition: parameters.h:1450
CSG_Data_Manager::Add_Grids
CSG_Grids * Add_Grids(void)
Definition: data_manager.cpp:605
CSG_Parameter_Choice::Get_Count
int Get_Count(void) const
Definition: parameters.h:688
CSG_Parameter_Shapes::m_Type
TSG_Shape_Type m_Type
Definition: parameters.h:1302
CSG_Tool::Destroy
virtual void Destroy(void)
Definition: tool.cpp:102
CSG_Parameter::asDataType
class CSG_Parameter_Data_Type * asDataType(void) const
Definition: parameter.cpp:1145
CSG_Parameter::_asPointer
virtual void * _asPointer(void) const
Definition: parameter.cpp:1046
CSG_Parameter::Get_Child
CSG_Parameter * Get_Child(int iChild) const
Definition: parameters.h:260
CSG_Parameter_Value::_Assign
virtual bool _Assign(CSG_Parameter *pSource)
Definition: parameter_data.cpp:411
PARAMETER_CHECK_ALL
#define PARAMETER_CHECK_ALL
Definition: parameters.h:192
CSG_Parameters::Add_TIN
CSG_Parameter * Add_TIN(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint)
Definition: parameters.h:2015
CSG_Parameters::Serialize
bool Serialize(CSG_MetaData &Data) const
Definition: parameters.h:1884
CSG_Parameter_Grid_List
Definition: parameters.h:1415
CSG_Parameter_Shapes_List::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:1502
CSG_Parameter_Double::_asDouble
virtual double _asDouble(void) const
Definition: parameters.h:536
SG_DATATYPE_Float
@ SG_DATATYPE_Float
Definition: api_core.h:1007
CSG_Parameters::Add_Grid_List
CSG_Parameter * Add_Grid_List(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint, bool bSystem_Dependent=true)
Definition: parameters.h:1995
PARAMETER_TYPE_Grid
@ PARAMETER_TYPE_Grid
Definition: parameters.h:149
CSG_Parameter::asPointCloudList
class CSG_Parameter_PointCloud_List * asPointCloudList(void) const
Definition: parameter.cpp:1160
CSG_Parameters::Add_FilePath
CSG_Parameter * Add_FilePath(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, const SG_Char *Filter=NULL, const SG_Char *Default=NULL, bool bSave=false, bool bDirectory=false, bool bMultiple=false)
Definition: parameters.h:1979
CSG_Parameter_Range
Definition: parameters.h:616
CSG_Data_Manager::Add_Table
CSG_Table * Add_Table(void)
Definition: data_manager.cpp:525
PARAMETER_IGNORE_PROJECTION
#define PARAMETER_IGNORE_PROJECTION
Definition: parameters.h:98
CSG_Array_Int
Definition: api_core.h:423
CSG_Parameter_Int::_asDouble
virtual double _asDouble(void) const
Definition: parameters.h:498
CSG_Parameters::Add_Double
CSG_Parameter * Add_Double(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, double Value=0.0, double Minimum=0.0, bool bMinimum=false, double Maximum=0.0, bool bMaximum=false)
Definition: parameters.h:1961
PARAMETER_TYPE_Date
@ PARAMETER_TYPE_Date
Definition: parameters.h:130
CSG_Parameter_Grid_System::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:1032
CSG_Parameters::Add_PointCloud_List
CSG_Parameter * Add_PointCloud_List(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint)
Definition: parameters.h:2025
CSG_Parameter_Degree::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:555
CSG_Parameter::Toggle_Value
virtual bool Toggle_Value(void)
Definition: parameter.cpp:895
CSG_Parameters::Get_References
const CSG_Strings & Get_References(void) const
Definition: parameters.h:1746
SAGA_API_DLL_EXPORT
#define SAGA_API_DLL_EXPORT
Definition: api_core.h:94
CSG_Parameter_Table::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:1269
PARAMETER_TYPE_Grid_List
@ PARAMETER_TYPE_Grid_List
Definition: parameters.h:155
CSG_Parameter::_Set_String
virtual void _Set_String(void)
Definition: parameter.cpp:909
CSG_Parameters::Add_TIN_Output
CSG_Parameter * Add_TIN_Output(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description)
Definition: parameters.h:2017
pointcloud.h
CSG_Parameter_Bool::_asInt
virtual int _asInt(void) const
Definition: parameters.h:424
CSG_Parameters::Add_Date
CSG_Parameter * Add_Date(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, double Value=0.0)
Definition: parameters.h:1965
CSG_Parameter::is_Optional
bool is_Optional(void) const
Definition: parameters.h:238
CSG_Parameter_PointCloud_List::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:1556
CSG_Strings
Definition: api_core.h:701
CSG_DateTime
Definition: datetime.h:183
CSG_Parameter_Shapes::Get_Shape_Type
TSG_Shape_Type Get_Shape_Type(void) const
Definition: parameters.h:1295
CSG_Parameter::asFilePath
class CSG_Parameter_File_Name * asFilePath(void) const
Definition: parameter.cpp:1150
CSG_Parameter_Shapes_List::Get_Shapes
CSG_Shapes * Get_Shapes(int Index) const
Definition: parameters.h:1507
CSG_Grid_Resampling
CSG_Grid_Resampling
Definition: grid.h:156
CSG_Parameter::is_Output
bool is_Output(void) const
Definition: parameters.h:237
CSG_Parameters::Add_Table_Fields
CSG_Parameter * Add_Table_Fields(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description)
Definition: parameters.h:2001
CSG_Parameters::Add_Bool
CSG_Parameter * Add_Bool(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, bool Value=false)
Definition: parameters.h:1957
CSG_Parameter_List::Get_Item_Count
int Get_Item_Count(void) const
Definition: parameters.h:1378
CSG_Parameter_Shapes_List
Definition: parameters.h:1499
CSG_Parameter_Font::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:904
CSG_Projection
Definition: geo_tools.h:827
CSG_Parameters::Get_Identifier
const CSG_String & Get_Identifier(void) const
Definition: parameters.h:1735
CSG_Parameter_Data_Object_Output::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:1179
CSG_Parameter_Double::m_Value
double m_Value
Definition: parameters.h:526
CSG_Parameter_Int
Definition: parameters.h:476
CSG_Table
Definition: table.h:285
CSG_Parameter_Value::has_Maximum
bool has_Maximum(void) const
Definition: parameters.h:451
CSG_Parameter_String::m_bPassword
bool m_bPassword
Definition: parameters.h:820
CSG_Parameters::Add_Grid_or_Const
CSG_Parameter * Add_Grid_or_Const(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, double Value=0.0, double Minimum=0.0, bool bMinimum=false, double Maximum=0.0, bool bMaximum=false, bool bSystem_Dependent=true)
Definition: parameters.h:1991
PARAMETER_GUI_COLLAPSED
#define PARAMETER_GUI_COLLAPSED
Definition: parameters.h:101
CSG_Parameter::Get_Children_Count
int Get_Children_Count(void) const
Definition: parameters.h:259
CSG_Parameter_Grid::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:1208
CSG_Parameter_Double::_Set_Value
virtual int _Set_Value(int Value)
Definition: parameter_data.cpp:532
CSG_Parameter_Choice::_Serialize
virtual bool _Serialize(CSG_MetaData &Entry, bool bSave)
Definition: parameter_data.cpp:1109
CSG_Parameter_Double
Definition: parameters.h:514
CSG_Parameter_Bool
Definition: parameters.h:401
SG_Char
#define SG_Char
Definition: api_core.h:536
CSG_Parameters_CRSPicker
Definition: parameters.h:1612
TSG_Data_Object_Type
TSG_Data_Object_Type
Definition: dataobject.h:117
shapes.h
CSG_Parameters::Add_Value
CSG_Parameter * Add_Value(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, TSG_Parameter_Type Type, double Value=0.0, double Minimum=0.0, bool bMinimum=false, double Maximum=0.0, bool bMaximum=false)
Definition: parameters.h:1953
CSG_Parameter_Table_Field::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:1066
CSG_String
Definition: api_core.h:563
CSG_Parameter::asTableFields
class CSG_Parameter_Table_Fields * asTableFields(void) const
Definition: parameter.cpp:1151
CSG_Parameter_Parameters::m_pParameters
CSG_Parameters * m_pParameters
Definition: parameters.h:1589
CSG_Array_Pointer
Definition: api_core.h:368
CSG_Parameter::asChoice
class CSG_Parameter_Choice * asChoice(void) const
Definition: parameter.cpp:1146
PARAMETER_INFORMATION
#define PARAMETER_INFORMATION
Definition: parameters.h:97
CSG_Parameter_Data_Object::_Assign
virtual bool _Assign(CSG_Parameter *pSource)
Definition: parameter_data.cpp:2530
CSG_Data_Manager
Definition: data_manager.h:129
CSG_MetaData
Definition: metadata.h:88
CSG_Parameter_File_Name::m_bSave
bool m_bSave
Definition: parameters.h:883
CSG_Parameters::Serialize
bool Serialize(CSG_MetaData &Data, bool bSave)
Definition: parameters.h:1883
CSG_Parameter_Table_Fields
Definition: parameters.h:1103
CSG_Parameter_String
Definition: parameters.h:805
CSG_Parameter_Grids::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:1248
CSG_Parameter_Choice::m_Value
int m_Value
Definition: parameters.h:695
CSG_Parameter_Date::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:580
CSG_Parameter_Table_Fields::Get_Count
int Get_Count(void) const
Definition: parameters.h:1108
CSG_Parameter_Shapes::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:1292
CSG_Parameter_Choices::m_Selection
CSG_Array_Int m_Selection
Definition: parameters.h:784
CSG_Parameter::asDouble
double asDouble(void) const
Definition: parameters.h:288
CSG_Parameter_Color
Definition: parameters.h:936
CSG_Parameter_PointCloud::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:1347
CSG_Parameters_Grid_Target
Definition: parameters.h:1644
PARAMETER_TYPE_Grid_System
@ PARAMETER_TYPE_Grid_System
Definition: parameters.h:144
CSG_Parameter_Text::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:841
CSG_Parameter_Fixed_Table::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:999
CSG_Parameter_Choices::Get_Selection
const CSG_String & Get_Selection(int i) const
Definition: parameters.h:769
PARAMETER_TYPE_PointCloud_List
@ PARAMETER_TYPE_PointCloud_List
Definition: parameters.h:160
CSG_Parameter_Range::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:619
CSG_Parameter_Grid::m_Default
int m_Default
Definition: parameters.h:1222
CSG_Parameter_Grid_List::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:1418
PARAMETER_TYPE_Table_List
@ PARAMETER_TYPE_Table_List
Definition: parameters.h:157
CSG_Parameter_Value::Get_Minimum
double Get_Minimum(void) const
Definition: parameters.h:446
CSG_Parameter::asRange
class CSG_Parameter_Range * asRange(void) const
Definition: parameter.cpp:1149
CSG_Parameter_Choices::Get_Selection_Index
int Get_Selection_Index(int i) const
Definition: parameters.h:771
CSG_Parameter_Data_Type::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:726
CSG_Grid
Definition: grid.h:501
CSG_Parameter_TIN::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:1323
CSG_Parameter::asTableList
class CSG_Parameter_Table_List * asTableList(void) const
Definition: parameter.cpp:1157
TSG_PFNC_Parameter_Changed
int(* TSG_PFNC_Parameter_Changed)(CSG_Parameter *pParameter, int Flags)
Definition: parameters.h:1692
CSG_Parameter::is_Collapsed
bool is_Collapsed(void) const
Definition: parameters.h:233
CSG_Parameters::Add_Font
CSG_Parameter * Add_Font(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, const SG_Char *pInit=NULL)
Definition: parameters.h:1981
PARAMETER_TYPE_DataObject_Output
@ PARAMETER_TYPE_DataObject_Output
Definition: parameters.h:162
CSG_Parameter_Color::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:939
CSG_Parameter_Choice
Definition: parameters.h:665
CSG_Parameter_Choices::Get_Item
const CSG_String & Get_Item(int i) const
Definition: parameters.h:765
CSG_Parameters::Get_Name
const CSG_String & Get_Name(void) const
Definition: parameters.h:1738
CSG_Parameter_Range::Get_Min_Parameter
CSG_Parameter_Double * Get_Min_Parameter(void) const
Definition: parameters.h:626
CSG_Shapes
Definition: shapes.h:772
CSG_PointCloud
Definition: pointcloud.h:105
CSG_Parameters::Add_Grid_System
CSG_Parameter * Add_Grid_System(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, CSG_Grid_System *pInit=NULL)
Definition: parameters.h:1987
CSG_Parameter_PointCloud_List
Definition: parameters.h:1553
CSG_Parameter_Int::m_Value
int m_Value
Definition: parameters.h:488
CSG_Parameter_TIN_List
Definition: parameters.h:1530
CSG_Parameters
Definition: parameters.h:1696
TSG_Data_Type
TSG_Data_Type
Definition: api_core.h:997
CSG_Parameter_Double::_asInt
virtual int _asInt(void) const
Definition: parameters.h:535
CSG_Parameter_Value::m_bMinimum
bool m_bMinimum
Definition: parameters.h:458
CSG_Parameters::Serialize
bool Serialize(const CSG_String &File, bool bSave)
Definition: parameters.h:1885
CSG_Parameter_Table_Fields::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:1106
CSG_Parameter_List
Definition: parameters.h:1370
CSG_Parameter_Choices::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:756
CSG_Parameters::Add_Range
CSG_Parameter * Add_Range(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, double Range_Min=0.0, double Range_Max=0.0, double Minimum=0.0, bool bMinimum=false, double Maximum=0.0, bool bMaximum=false)
Definition: parameters.h:1969
CSG_Parameters::Serialize
bool Serialize(const CSG_String &File) const
Definition: parameters.h:1886
CSG_Parameter::is_Default
virtual bool is_Default(void) const
Definition: parameter.cpp:950
PARAMETER_TYPE_Range
@ PARAMETER_TYPE_Range
Definition: parameters.h:131
CSG_Parameter_Range::Get_Max_Parameter
CSG_Parameter_Double * Get_Max_Parameter(void) const
Definition: parameters.h:630
CSG_Parameter_Int::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:479
CSG_Parameter_Grids_List::Get_Grids
CSG_Grids * Get_Grids(int Index) const
Definition: parameters.h:1458
PARAMETER_OUTPUT
#define PARAMETER_OUTPUT
Definition: parameters.h:95
CSG_Grids
Definition: grids.h:119
CSG_Parameter_File_Name::Get_Type
virtual TSG_Parameter_Type Get_Type(void) const
Definition: parameters.h:862
PARAMETER_TYPE_TIN_List
@ PARAMETER_TYPE_TIN_List
Definition: parameters.h:159
CSG_Data_Manager::Add_Shapes
CSG_Shapes * Add_Shapes(void)
Definition: data_manager.cpp:541
TSG_Parameter_Type
TSG_Parameter_Type
Definition: parameters.h:123
PARAMETER_TYPE_Parameters
@ PARAMETER_TYPE_Parameters
Definition: parameters.h:164
CSG_Parameter_Value::m_Minimum
double m_Minimum
Definition: parameters.h:460
PARAMETER_TYPE_Font
@ PARAMETER_TYPE_Font
Definition: parameters.h:139
CSG_Parameter_Bool::m_Value
bool m_Value
Definition: parameters.h:415
CSG_Parameter::asList
class CSG_Parameter_List * asList(void) const
Definition: parameter.cpp:1154
table.h
PARAMETER_TYPE_Color
@ PARAMETER_TYPE_Color
Definition: parameters.h:140
CSG_Parameters::Add_Info_String
CSG_Parameter * Add_Info_String(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, const CSG_String &String, bool bLongText=false)
Definition: parameters.h:1977
PARAMETER_TYPE_Shapes
@ PARAMETER_TYPE_Shapes
Definition: parameters.h:152
CSG_Parameter::Restore_Default
virtual bool Restore_Default(void)
Definition: parameter.cpp:956
SHAPE_TYPE_Undefined
@ SHAPE_TYPE_Undefined
Definition: shapes.h:101
CSG_Parameter::asChoices
class CSG_Parameter_Choices * asChoices(void) const
Definition: parameter.cpp:1148
CSG_Parameter::is_Information
bool is_Information(void) const
Definition: parameters.h:239
CSG_Parameter_Table
Definition: parameters.h:1266
PARAMETER_INPUT
#define PARAMETER_INPUT
Definition: parameters.h:94
CSG_Parameters::Add_Grid
CSG_Parameter * Add_Grid(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, int Constraint, bool bSystem_Dependent=true, TSG_Data_Type Preferred_Type=SG_DATATYPE_Undefined)
Definition: parameters.h:1989
CSG_Parameter_Data_Type
Definition: parameters.h:723
CSG_Colors
Definition: api_core.h:1408
CSG_Parameters::Add_Table_Field
CSG_Parameter * Add_Table_Field(CSG_Parameter *pParent, const CSG_String &ID, const CSG_String &Name, const CSG_String &Description, bool bAllowNone=false)
Definition: parameters.h:1997
CSG_Parameter::asBool
bool asBool(void) const
Definition: parameters.h:285
datetime.h
PARAMETER_TYPE_Text
@ PARAMETER_TYPE_Text
Definition: parameters.h:136
grids.h