GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
g3dparam.c File Reference
#include <string.h>
#include <grass/gis.h>
#include <grass/glocale.h>
#include "G3d_intern.h"
Include dependency graph for g3dparam.c:

Go to the source code of this file.

Data Structures

struct  G3d_paramType
 

Functions

void G3d_setStandard3dInputParams ()
 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 G3D Defaults. This function has to be used in conjunction with G3d_getStandard3dInputParams() (cf.{g3d:G3d.getStandard3dInputParams}). More...
 
int G3d_getStandard3dParams (int *useTypeDefault, int *type, int *useLzwDefault, int *doLzw, int *useRleDefault, int *doRle, int *usePrecisionDefault, int *precision, int *useDimensionDefault, int *tileX, int *tileY, int *tileZ)
 
void G3d_setWindowParams (void)
 
char * G3d_getWindowParams (void)
 

Function Documentation

int G3d_getStandard3dParams ( int useTypeDefault,
int type,
int useLzwDefault,
int doLzw,
int useRleDefault,
int doRle,
int usePrecisionDefault,
int precision,
int useDimensionDefault,
int tileX,
int tileY,
int tileZ 
)
char* G3d_getWindowParams ( void  )

Definition at line 178 of file g3dparam.c.

References G_store(), and NULL.

Referenced by G3d_initDefaults().

void G3d_setStandard3dInputParams ( )

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 G3D Defaults. This function has to be used in conjunction with G3d_getStandard3dInputParams() (cf.{g3d:G3d.getStandard3dInputParams}).

Returns
void

Definition at line 41 of file g3dparam.c.

References G3d_paramType::compression, G3d_paramType::dimension, G3d_malloc(), G_define_option(), G3d_paramType::precision, and G3d_paramType::type.

void G3d_setWindowParams ( void  )

Definition at line 165 of file g3dparam.c.

References G_define_option(), and NULL.

Referenced by G3d_useWindowParams().