![]() |
SAGA API v9.10
|
Go to the source code of this file.
Classes | |
class | CSG_Grid_System |
class | CSG_Grid_File_Info |
class | CSG_Grid |
class | CSG_Grid_Stack |
class | CSG_Grid_Cell_Addressor |
Variables | |
const SG_Char | gSG_Grid_File_Key_Names [GRID_FILE_KEY_Count][32] |
Classes for raster data management.
Definition in file grid.h.
#define GRID_FILE_KEY_FALSE SG_T("FALSE") |
Definition at line 145 of file grid.h.
Referenced by CSG_Grid_File_Info::Save().
#define GRID_FILE_KEY_TRUE SG_T("TRUE") |
Definition at line 144 of file grid.h.
Referenced by CSG_Grid_File_Info::Create(), and CSG_Grid_File_Info::Save().
#define GRID_RESAMPLING_BicubicSpline CSG_Grid_Resampling::Bicubic_1 |
#define GRID_RESAMPLING_Bilinear CSG_Grid_Resampling::Bilinear |
#define GRID_RESAMPLING_BSpline CSG_Grid_Resampling::Bicubic_2 |
#define GRID_RESAMPLING_Majority CSG_Grid_Resampling::Majority |
#define GRID_RESAMPLING_Maximum CSG_Grid_Resampling::Maximum |
#define GRID_RESAMPLING_Mean_Cells CSG_Grid_Resampling::Mean_Cells |
#define GRID_RESAMPLING_Mean_Nodes CSG_Grid_Resampling::Mean_Nodes |
#define GRID_RESAMPLING_Minimum CSG_Grid_Resampling::Minimum |
#define GRID_RESAMPLING_NearestNeighbour CSG_Grid_Resampling::NearestNeighbour |
#define GRID_RESAMPLING_Undefined CSG_Grid_Resampling::Undefined |
#define SG_GRID_PTR_SAFE_SET_NODATA | ( | g, | |
x, | |||
y ) |
#define SG_GRID_PTR_SAFE_SET_VALUE | ( | g, | |
x, | |||
y, | |||
z ) |
#define SG_GRIDCELLADDR_PARM_ANNULUS 0x04 |
Definition at line 1120 of file grid.h.
Referenced by CSG_Grid_Cell_Addressor::Add_Parameters(), CSG_Grid_Cell_Addressor::Enable_Parameters(), CSG_Grid_Cell_Addressor::Set_Annulus(), and CSG_Grid_Cell_Addressor::Set_Parameters().
#define SG_GRIDCELLADDR_PARM_CIRCLE 0x02 |
Definition at line 1119 of file grid.h.
Referenced by CSG_Grid_Cell_Addressor::Add_Parameters(), CSG_Grid_Cell_Addressor::Set_Circle(), and CSG_Grid_Cell_Addressor::Set_Parameters().
#define SG_GRIDCELLADDR_PARM_DEFAULT (SG_GRIDCELLADDR_PARM_SQUARE|SG_GRIDCELLADDR_PARM_CIRCLE) |
#define SG_GRIDCELLADDR_PARM_MAPUNIT 0x20 |
Definition at line 1123 of file grid.h.
Referenced by CSG_Grid_Cell_Addressor::Add_Parameters().
#define SG_GRIDCELLADDR_PARM_SECTOR 0x08 |
Definition at line 1121 of file grid.h.
Referenced by CSG_Grid_Cell_Addressor::Add_Parameters(), CSG_Grid_Cell_Addressor::Enable_Parameters(), CSG_Grid_Cell_Addressor::Set_Parameters(), and CSG_Grid_Cell_Addressor::Set_Sector().
#define SG_GRIDCELLADDR_PARM_SIZEDBL 0x10 |
Definition at line 1122 of file grid.h.
Referenced by CSG_Grid_Cell_Addressor::Add_Parameters().
#define SG_GRIDCELLADDR_PARM_SQUARE 0x01 |
Definition at line 1118 of file grid.h.
Referenced by CSG_Grid_Cell_Addressor::Add_Parameters(), CSG_Grid_Cell_Addressor::Set_Parameters(), and CSG_Grid_Cell_Addressor::Set_Square().
#define SG_GRIDCELLADDR_PARM_WEIGHTING 0x40 |
Definition at line 1124 of file grid.h.
Referenced by CSG_Grid_Cell_Addressor::Add_Parameters().
#define TSG_Grid_Resampling CSG_Grid_Resampling |
|
strong |
enum TSG_Grid_File_Format |
enum TSG_Grid_File_Key |
enum TSG_Grid_Operation |
SAGA_API_DLL_EXPORT CSG_Grid * SG_Create_Grid | ( | const char * | File, |
TSG_Data_Type | Type = SG_DATATYPE_Undefined, | ||
bool | bCached = false, | ||
bool | bLoadData = true ) |
SAGA_API_DLL_EXPORT CSG_Grid * SG_Create_Grid | ( | const CSG_Grid & | Grid | ) |
SAGA_API_DLL_EXPORT CSG_Grid * SG_Create_Grid | ( | const CSG_Grid_System & | System, |
TSG_Data_Type | Type = SG_DATATYPE_Undefined, | ||
bool | bCached = false ) |
SAGA_API_DLL_EXPORT CSG_Grid * SG_Create_Grid | ( | const CSG_String & | File, |
TSG_Data_Type | Type = SG_DATATYPE_Undefined, | ||
bool | bCached = false, | ||
bool | bLoadData = true ) |
SAGA_API_DLL_EXPORT CSG_Grid * SG_Create_Grid | ( | const wchar_t * | File, |
TSG_Data_Type | Type = SG_DATATYPE_Undefined, | ||
bool | bCached = false, | ||
bool | bLoadData = true ) |
SAGA_API_DLL_EXPORT CSG_Grid * SG_Create_Grid | ( | CSG_Grid * | pGrid, |
TSG_Data_Type | Type = SG_DATATYPE_Undefined, | ||
bool | bCached = false ) |
SAGA_API_DLL_EXPORT CSG_Grid * SG_Create_Grid | ( | TSG_Data_Type | Type, |
int | NX, | ||
int | NY, | ||
double | Cellsize = 0., | ||
double | xMin = 0., | ||
double | yMin = 0., | ||
bool | bCached = false ) |
SAGA_API_DLL_EXPORT CSG_Grid * SG_Create_Grid | ( | void | ) |
Safe grid construction
Definition at line 72 of file grid.cpp.
Referenced by CSG_Grids::Add_Grid(), CSG_Grids::Add_Grid(), CSG_Grids::Del_Grid(), CSG_Grids::Del_Grids(), CSG_Parameters_Grid_Target::Get_Grid(), SG_Create_Grid(), and SG_Create_Grid().
SAGA_API_DLL_EXPORT const SG_Char * SG_Grid_Cache_Get_Directory | ( | void | ) |
Get default directory for grid caching
Definition at line 81 of file grid_memory.cpp.
References gSG_Grid_Cache_Directory, and SG_Char.
SAGA_API_DLL_EXPORT int SG_Grid_Cache_Get_Mode | ( | void | ) |
Definition at line 110 of file grid_memory.cpp.
References gSG_Grid_Cache_Mode.
SAGA_API_DLL_EXPORT sLong SG_Grid_Cache_Get_Threshold | ( | void | ) |
Definition at line 139 of file grid_memory.cpp.
References gSG_Grid_Cache_Threshold.
SAGA_API_DLL_EXPORT double SG_Grid_Cache_Get_Threshold_MB | ( | void | ) |
Definition at line 145 of file grid_memory.cpp.
References gSG_Grid_Cache_Threshold, and N_MEGABYTE_BYTES.
SAGA_API_DLL_EXPORT void SG_Grid_Cache_Set_Directory | ( | const SG_Char * | Directory | ) |
Set default directory for grid caching
Definition at line 87 of file grid_memory.cpp.
References gSG_Grid_Cache_Directory, SG_Char, and SG_Dir_Exists().
SAGA_API_DLL_EXPORT void SG_Grid_Cache_Set_Mode | ( | int | Mode | ) |
Definition at line 104 of file grid_memory.cpp.
References gSG_Grid_Cache_Mode.
SAGA_API_DLL_EXPORT void SG_Grid_Cache_Set_Threshold | ( | int | nBytes | ) |
Definition at line 124 of file grid_memory.cpp.
References gSG_Grid_Cache_Threshold.
Referenced by SG_Grid_Cache_Set_Threshold_MB().
SAGA_API_DLL_EXPORT void SG_Grid_Cache_Set_Threshold_MB | ( | double | nMegabytes | ) |
Definition at line 133 of file grid_memory.cpp.
References N_MEGABYTE_BYTES, and SG_Grid_Cache_Set_Threshold().
SAGA_API_DLL_EXPORT CSG_String SG_Grid_Get_File_Extension_Default | ( | void | ) |
Definition at line 129 of file grid_io.cpp.
References GRID_FILE_FORMAT_Binary, GRID_FILE_FORMAT_Binary_old, GRID_FILE_FORMAT_Compressed, GRID_FILE_FORMAT_GeoTIFF, and gSG_Grid_File_Format_Default.
SAGA_API_DLL_EXPORT TSG_Grid_File_Format SG_Grid_Get_File_Format_Default | ( | void | ) |
Definition at line 123 of file grid_io.cpp.
References gSG_Grid_File_Format_Default.
SAGA_API_DLL_EXPORT bool SG_Grid_Set_File_Format_Default | ( | int | Format | ) |
Definition at line 106 of file grid_io.cpp.
References GRID_FILE_FORMAT_ASCII, GRID_FILE_FORMAT_Binary, GRID_FILE_FORMAT_Binary_old, GRID_FILE_FORMAT_Compressed, GRID_FILE_FORMAT_GeoTIFF, and gSG_Grid_File_Format_Default.
const SG_Char gSG_Grid_File_Key_Names[GRID_FILE_KEY_Count][32] |