VR-Vantage 3.1 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Macros | Functions
sigsimio.h File Reference

Go to the source code of this file.

Macros

#define NUMBER_MATERIAL_SYSTEM_FILE_HEADERS   5
#define NUMBER_MATERIAL_SYSTEM_FILE_FIELDS   16
#define NUMBER_MATERIAL_FILE_BULK_FIELDS   8
#define NUMBER_MATERIAL_FILE_SURFACE_OPTICAL_SCALARS_FIELDS   4
#define NUMBER_MATERIAL_FILE_BRDF_MODEL_TITLE_FIELDS   3
#define NUMBER_MATERIAL_FILE_SPECRECIDENTIFIERS   3
#define NUMBER_MATERIAL_FILE_SPECRECIOPARAMS   11
#define NUMBER_MATERIAL_FILE_SPECRECRFPARAMS   9
#define NUMBER_MATERIAL_FILE_SIGSIM_BRDF_FIELDS   3
#define NUMBER_MATERIAL_FILE_SR_BRDF_FIELDS   4
#define NUMBER_MATERIAL_FILE_PHONG_BRDF_FIELDS   4
#define MAX_NUM_LAYERS   10
#define MAX_NUM_NODES_PER_LAYER   33
#define MIN_NUM_NODES_PER_LAYER   3
#define MAXSTAB   1.0

Functions

SIGSIM_API int CreateMaterialSystemTables (char *sigsim_data_dir, char *matl_sys_file, long *nmatls, MATL_PROP_TABLE **mp_table, double env_update_interval)
SIGSIM_API int CreateMaterialSystem (char *materialDirName, char *materialSystemFile, long *nmatls, MATL_PROP_TABLE **mp_table, double env_update_interval)
SIGSIM_API int CreateBlackBodyMaterialSet (int nmatls, MATL_PROP_TABLE **mp_table, double degC, double env_update_interval)
SIGSIM_API int ReadMaterialSystemsStateTable (char *sigsim_data_dir, char *ms_state_file, MATL_PROP_TABLE **mp_table, long *nmatls)
SIGSIM_API int WriteMaterialSystemsStateTable (char *sigsim_data_dir, char *ms_state_file, MATL_PROP_TABLE *mp_table, long nmatls)
SIGSIM_API int ReadMSFile (char *sigsim_data_dir, char *matl_sys_file, long *nmatls, MATL_PROP_TABLE **mp_table, char *dbname)
SIGSIM_API int WriteMSFile (char *sigsim_data_dir, char *ms_filename, MATL_PROP_TABLE *mp_table, long nmatls, char *dbname)
SIGSIM_API int WriteMSFileFromPointers (char *sigsim_data_dir, char *ms_filename, MATL_PROP_TABLE **mp_table, long nmatls, char *dbname)
SIGSIM_API int ReadMTLFile (char *mat_file, MATL_PROP_TABLE *mp_table, int layer)
int CreateMaterialTables3_1 (char *sigsim_data_dir, char *matl_sys_file, long *nmatls, MATL_PROP_TABLE **mp_table, MATL_OGL_TABLE **mogl_table)
int CreateCelestialTable (char *sigsim_data_dir, char *night_sky_file, long *num_bodies, CELESTIAL_TABLE **celestial_table)
int WriteMS_MTL_Files (char *sigsim_data_dir, char *ms_filename, MATL_PROP_TABLE *mp_table, long nmatls, char *dbname)
int WriteMTL_File (char *sigsim_data_dir, MATL_PROP_TABLE *mp_table)
int InitializeThermalNodes (MATL_PROP_TABLE *mp_table, double env_update_interval)
int csiMaterialserializeStr (char *fileStream, char delim[], MATL_PROP_TABLE *mp_table, int layer)
int csiMaterialserialize (char *filepath, jrmbool isEncrypted, char delim[], MATL_PROP_TABLE *mp_table, int layer)
char * csiGetMaterialStream (char *filepath, jrmbool isEncrypted, char delim[], MATL_PROP_TABLE *mp_table, int layer)
SIGSIM_API int CreateManmadeLightsourceTable (char *sigsim_data_dir, char *mm_lsources_file, int *num_mm_lsources, MANMADE_LIGHTSOURCE_TABLE **mm_lstable)
int SemaphoreOpen (char *file, char *purpose, FILE **fptr)
int SemaphoreClose (char *file, FILE **fptr)

Macro Definition Documentation

#define NUMBER_MATERIAL_SYSTEM_FILE_HEADERS   5
#define NUMBER_MATERIAL_SYSTEM_FILE_FIELDS   16
#define NUMBER_MATERIAL_FILE_BULK_FIELDS   8
#define NUMBER_MATERIAL_FILE_SURFACE_OPTICAL_SCALARS_FIELDS   4
#define NUMBER_MATERIAL_FILE_BRDF_MODEL_TITLE_FIELDS   3
#define NUMBER_MATERIAL_FILE_SPECRECIDENTIFIERS   3
#define NUMBER_MATERIAL_FILE_SPECRECIOPARAMS   11
#define NUMBER_MATERIAL_FILE_SPECRECRFPARAMS   9
#define NUMBER_MATERIAL_FILE_SIGSIM_BRDF_FIELDS   3
#define NUMBER_MATERIAL_FILE_SR_BRDF_FIELDS   4
#define NUMBER_MATERIAL_FILE_PHONG_BRDF_FIELDS   4
#define MAX_NUM_LAYERS   10
#define MAX_NUM_NODES_PER_LAYER   33
#define MIN_NUM_NODES_PER_LAYER   3
#define MAXSTAB   1.0

Function Documentation

SIGSIM_API int CreateMaterialSystemTables ( char *  sigsim_data_dir,
char *  matl_sys_file,
long *  nmatls,
MATL_PROP_TABLE **  mp_table,
double  env_update_interval 
)
SIGSIM_API int CreateMaterialSystem ( char *  materialDirName,
char *  materialSystemFile,
long *  nmatls,
MATL_PROP_TABLE **  mp_table,
double  env_update_interval 
)
SIGSIM_API int CreateBlackBodyMaterialSet ( int  nmatls,
MATL_PROP_TABLE **  mp_table,
double  degC,
double  env_update_interval 
)
SIGSIM_API int ReadMaterialSystemsStateTable ( char *  sigsim_data_dir,
char *  ms_state_file,
MATL_PROP_TABLE **  mp_table,
long *  nmatls 
)
SIGSIM_API int WriteMaterialSystemsStateTable ( char *  sigsim_data_dir,
char *  ms_state_file,
MATL_PROP_TABLE mp_table,
long  nmatls 
)
SIGSIM_API int ReadMSFile ( char *  sigsim_data_dir,
char *  matl_sys_file,
long *  nmatls,
MATL_PROP_TABLE **  mp_table,
char *  dbname 
)
SIGSIM_API int WriteMSFile ( char *  sigsim_data_dir,
char *  ms_filename,
MATL_PROP_TABLE mp_table,
long  nmatls,
char *  dbname 
)
SIGSIM_API int WriteMSFileFromPointers ( char *  sigsim_data_dir,
char *  ms_filename,
MATL_PROP_TABLE **  mp_table,
long  nmatls,
char *  dbname 
)
SIGSIM_API int ReadMTLFile ( char *  mat_file,
MATL_PROP_TABLE mp_table,
int  layer 
)
int CreateMaterialTables3_1 ( char *  sigsim_data_dir,
char *  matl_sys_file,
long *  nmatls,
MATL_PROP_TABLE **  mp_table,
MATL_OGL_TABLE **  mogl_table 
)
int CreateCelestialTable ( char *  sigsim_data_dir,
char *  night_sky_file,
long *  num_bodies,
CELESTIAL_TABLE **  celestial_table 
)
int WriteMS_MTL_Files ( char *  sigsim_data_dir,
char *  ms_filename,
MATL_PROP_TABLE mp_table,
long  nmatls,
char *  dbname 
)
int WriteMTL_File ( char *  sigsim_data_dir,
MATL_PROP_TABLE mp_table 
)
int InitializeThermalNodes ( MATL_PROP_TABLE mp_table,
double  env_update_interval 
)
int csiMaterialserializeStr ( char *  fileStream,
char  delim[],
MATL_PROP_TABLE mp_table,
int  layer 
)
int csiMaterialserialize ( char *  filepath,
jrmbool  isEncrypted,
char  delim[],
MATL_PROP_TABLE mp_table,
int  layer 
)
char* csiGetMaterialStream ( char *  filepath,
jrmbool  isEncrypted,
char  delim[],
MATL_PROP_TABLE mp_table,
int  layer 
)
SIGSIM_API int CreateManmadeLightsourceTable ( char *  sigsim_data_dir,
char *  mm_lsources_file,
int num_mm_lsources,
MANMADE_LIGHTSOURCE_TABLE **  mm_lstable 
)
int SemaphoreOpen ( char *  file,
char *  purpose,
FILE **  fptr 
)
int SemaphoreClose ( char *  file,
FILE **  fptr 
)


Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)