GRASS GIS 7 Programmer's Manual  7.5.svn(2018)-r72272
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
param.c File Reference
#include <string.h>
#include <grass/gis.h>
#include <grass/glocale.h>
#include "raster3d_intern.h"
Include dependency graph for param.c:

Go to the source code of this file.

Functions

void Rast3d_set_standard3d_input_params ()
 Initializes a parameter structure for the subset of command line arguments which lets the user overwrite the default properties of the new file. Applications are encouraged to use this function in order to provide a uniform style. The command line arguments provided are the type of the cell values, the precision, the properties of the compression, and the dimension of the tiles (tiledimension). Every of these values defaults to the value described in RASTER3D Defaults. This function has to be used in conjunction with Rast3d_getStandard3dInputParams() (cf.{g3d:G3d.getStandard3dInputParams}). More...
 
int Rast3d_get_standard3d_params (int *useTypeDefault, int *type, int *useCompressionDefault, int *doCompression, int *usePrecisionDefault, int *precision, int *useDimensionDefault, int *tileX, int *tileY, int *tileZ)
 
void Rast3d_set_window_params (void)
 
char * Rast3d_get_window_params (void)
 

Function Documentation

int Rast3d_get_standard3d_params ( int useTypeDefault,
int type,
int useCompressionDefault,
int doCompression,
int usePrecisionDefault,
int precision,
int useDimensionDefault,
int tileX,
int tileY,
int tileZ 
)
char* Rast3d_get_window_params ( void  )

Definition at line 134 of file param.c.

References Option::answer, G_store(), NULL, and RASTER3D_WINDOW_ELEMENT.

Referenced by Rast3d_init_defaults().

void Rast3d_set_standard3d_input_params ( )

Initializes a parameter structure for the subset of command line arguments which lets the user overwrite the default properties of the new file. Applications are encouraged to use this function in order to provide a uniform style. The command line arguments provided are the type of the cell values, the precision, the properties of the compression, and the dimension of the tiles (tiledimension). Every of these values defaults to the value described in RASTER3D Defaults. This function has to be used in conjunction with Rast3d_getStandard3dInputParams() (cf.{g3d:G3d.getStandard3dInputParams}).

Returns
void

Definition at line 41 of file param.c.

References G_define_standard_option(), G_OPT_R3_COMPRESSION, G_OPT_R3_PRECISION, G_OPT_R3_TILE_DIMENSION, G_OPT_R3_TYPE, and Rast3d_malloc().

void Rast3d_set_window_params ( void  )