SAGA API
v9.5
|
#include <wx/utils.h>
#include <wx/app.h>
#include <wx/dir.h>
#include "api_core.h"
#include "tool_library.h"
Go to the source code of this file.
Functions | |
void | SG_OMP_Set_Max_Num_Threads (int iCores) |
int | SG_OMP_Get_Max_Num_Threads (void) |
int | SG_OMP_Get_Max_Num_Procs (void) |
int | SG_OMP_Get_Thread_Num (void) |
CSG_String | SG_Data_Type_Get_Name (TSG_Data_Type Type, bool bShort) |
CSG_String | SG_Data_Type_Get_Identifier (TSG_Data_Type Type) |
TSG_Data_Type | SG_Data_Type_Get_Type (const CSG_String &Identifier) |
int | SG_Data_Type_Get_Flag (TSG_Data_Type Type) |
bool | SG_Data_Type_is_Numeric (TSG_Data_Type Type) |
bool | SG_Data_Type_Range_Check (TSG_Data_Type Type, double &Value) |
bool | SG_Add_Dll_Paths (const wxString &Directory, wxString &Paths) |
bool | SG_Initialize_Environment (bool bLibraries, bool bProjections, const SG_Char *Directory, bool bInitializeWX) |
bool | SG_Uninitialize_Environment (void) |
Variables | |
CSG_App_Initialize | g_App_Initialize |
bool SG_Add_Dll_Paths | ( | const wxString & | Directory, |
wxString & | Paths | ||
) |
Definition at line 342 of file api_core.cpp.
Referenced by SG_Initialize_Environment().
int SG_Data_Type_Get_Flag | ( | TSG_Data_Type | Type | ) |
Definition at line 173 of file api_core.cpp.
References SG_DATATYPE_Binary, SG_DATATYPE_Bit, SG_DATATYPE_Byte, SG_DATATYPE_Char, SG_DATATYPE_Color, SG_DATATYPE_Date, SG_DATATYPE_Double, SG_DATATYPE_DWord, SG_DATATYPE_Float, SG_DATATYPE_Int, SG_DATATYPE_Long, SG_DATATYPE_Short, SG_DATATYPE_String, SG_DATATYPE_ULong, SG_DATATYPE_Word, SG_DATATYPES_Binary, SG_DATATYPES_Bit, SG_DATATYPES_Byte, SG_DATATYPES_Char, SG_DATATYPES_Color, SG_DATATYPES_Date, SG_DATATYPES_Double, SG_DATATYPES_DWord, SG_DATATYPES_Float, SG_DATATYPES_Int, SG_DATATYPES_Long, SG_DATATYPES_Short, SG_DATATYPES_String, SG_DATATYPES_ULong, SG_DATATYPES_Undefined, and SG_DATATYPES_Word.
CSG_String SG_Data_Type_Get_Identifier | ( | TSG_Data_Type | Type | ) |
Definition at line 146 of file api_core.cpp.
References gSG_Data_Type_Identifier.
Referenced by CSG_Parameter_Data_Type::Set_Data_Types().
CSG_String SG_Data_Type_Get_Name | ( | TSG_Data_Type | Type, |
bool | bShort | ||
) |
Definition at line 122 of file api_core.cpp.
References _TL, SG_DATATYPE_Binary, SG_DATATYPE_Bit, SG_DATATYPE_Byte, SG_DATATYPE_Char, SG_DATATYPE_Color, SG_DATATYPE_Date, SG_DATATYPE_Double, SG_DATATYPE_DWord, SG_DATATYPE_Float, SG_DATATYPE_Int, SG_DATATYPE_Long, SG_DATATYPE_Short, SG_DATATYPE_String, SG_DATATYPE_ULong, and SG_DATATYPE_Word.
Referenced by CSG_Parameter::Get_Description(), and SG_XML_Add_Parameter().
TSG_Data_Type SG_Data_Type_Get_Type | ( | const CSG_String & | Identifier | ) |
Definition at line 152 of file api_core.cpp.
References CSG_String::Cmp(), gSG_Data_Type_Identifier, SG_DATATYPE_Bit, SG_DATATYPE_Byte, SG_DATATYPE_Char, SG_DATATYPE_Color, SG_DATATYPE_Date, SG_DATATYPE_Double, SG_DATATYPE_DWord, SG_DATATYPE_Float, SG_DATATYPE_Int, SG_DATATYPE_Long, SG_DATATYPE_Short, SG_DATATYPE_String, SG_DATATYPE_ULong, SG_DATATYPE_Undefined, and SG_DATATYPE_Word.
Referenced by CSG_Parameter_Fixed_Table::_Serialize(), CSG_Parameter_Data_Type::Get_Data_Type(), and CSG_Parameter_Data_Type::Set_Data_Type().
bool SG_Data_Type_is_Numeric | ( | TSG_Data_Type | Type | ) |
Definition at line 197 of file api_core.cpp.
References SG_DATATYPE_Binary, SG_DATATYPE_Bit, SG_DATATYPE_Byte, SG_DATATYPE_Char, SG_DATATYPE_Color, SG_DATATYPE_Date, SG_DATATYPE_Double, SG_DATATYPE_DWord, SG_DATATYPE_Float, SG_DATATYPE_Int, SG_DATATYPE_Long, SG_DATATYPE_Short, SG_DATATYPE_String, SG_DATATYPE_ULong, and SG_DATATYPE_Word.
Referenced by CSG_PointCloud::Add_Shape().
bool SG_Data_Type_Range_Check | ( | TSG_Data_Type | Type, |
double & | Value | ||
) |
Definition at line 223 of file api_core.cpp.
References SG_DATATYPE_Bit, SG_DATATYPE_Byte, SG_DATATYPE_Char, SG_DATATYPE_Double, SG_DATATYPE_DWord, SG_DATATYPE_Float, SG_DATATYPE_Int, SG_DATATYPE_Short, and SG_DATATYPE_Word.
bool SG_Initialize_Environment | ( | bool | bLibraries, |
bool | bProjections, | ||
const SG_Char * | Directory, | ||
bool | bInitializeWX | ||
) |
Definition at line 392 of file api_core.cpp.
References CSG_Tool_Library_Manager::Add_Directory(), CSG_String::c_str(), g_App_Initialize, CSG_Strings::Get_Count(), CSG_Projections::Load(), SG_Add_Dll_Paths(), SG_Dir_Exists(), SG_File_Make_Path(), SG_Get_Projections(), SG_Get_Tool_Library_Manager(), SG_String_Tokenize(), SG_UI_Console_Print_StdOut(), SG_UI_Get_Application_Path(), and SG_UI_ProgressAndMsg_Lock().
int SG_OMP_Get_Max_Num_Procs | ( | void | ) |
Definition at line 110 of file api_core.cpp.
Referenced by CSG_PointCloud::_On_Construction().
int SG_OMP_Get_Max_Num_Threads | ( | void | ) |
Definition at line 109 of file api_core.cpp.
int SG_OMP_Get_Thread_Num | ( | void | ) |
Definition at line 111 of file api_core.cpp.
void SG_OMP_Set_Max_Num_Threads | ( | int | iCores | ) |
Definition at line 108 of file api_core.cpp.
bool SG_Uninitialize_Environment | ( | void | ) |
Definition at line 528 of file api_core.cpp.
References g_App_Initialize.
CSG_App_Initialize g_App_Initialize |
Definition at line 334 of file api_core.cpp.
Referenced by SG_Initialize_Environment(), and SG_Uninitialize_Environment().