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

Go to the source code of this file.

Classes

struct  LIGHT_SOURCE_TABLE
struct  MATL_OGL_TABLE

Functions

SIGSIM_API int Allocate_MatlOGLTables (MATL_OGL_TABLE **mogl, int nmatls)
SIGSIM_API int Free_MatlOGLTables (MATL_OGL_TABLE **mogl)
SIGSIM_API int Free_LightSourceTables (LIGHT_SOURCE_TABLE *lstable, int nlstables)
SIGSIM_API int AllocateLightSourceTables (int num_ls, LIGHT_SOURCE_TABLE **ls_table)
SIGSIM_API int AllocateManMadeLightSourceOGLOutput (int num_ls, LIGHT_SOURCE_TABLE **ls_table, int nmmls)
int ComputeReflectanceParametersOGL (long matl_index, double ax, double bx, MATL_PROP_TABLE *mp_table, MATL_OGL_TABLE *mogl)
double LtotalOGL (VECTOR View, VECTOR Norm, VECTOR Vdir, double Lamb, double Ldif, double Lspec, double Kamb, double Kdif, double Kspec, double Shine, jrmbool CROP)
SIGSIM_API int Radiance2MaterialOGL (long matl_index, SENSOR *sens, MATL_PROP_TABLE *mp_table, MATL_OGL_TABLE *mogl, METIN *metin, LIGHT_SOURCE_TABLE *lstable, jrmbool MOGL_MODE, jrmbool CROP)
SIGSIM_API double OGL2Radiance (double oglval, SENSOR *sens)
SIGSIM_API double CalcIntensityOGL (double range, long matl_index, MATL_PROP_TABLE *mp_table, MATL_OGL_TABLE *mogl, LIGHT_SOURCE_TABLE *lstable, METIN *metin, SENSOR *sens, jrmbool CROP)
SIGSIM_API double OGL2MaterialRadiance (SENSOR *sens, double range, double Rogl)
SIGSIM_API int CalcSceneMinMaxRadiances (METIN *metin, MATL_PROP_TABLE *mp_table, int nmatls, SENSOR *sensor, double *Tmax, double *Tmin, double *Rmax, double *Rmin)
SIGSIM_API int TransferSensorPassbandOGLEnvironment (METIN *metin, SENSOR *sens, LIGHT_SOURCE_TABLE *lstable, jrmbool MOGL_MODE, jrmbool CROP)
SIGSIM_API int UpdateSensorPassbandAndOGLEnvironment (METIN *metin, SENSOR *sens, LIGHT_SOURCE_TABLE *lstable, jrmbool PaintStars, jrmbool PaintSky, jrmbool MOGL_MODE, jrmbool CROP)

Function Documentation

SIGSIM_API int Allocate_MatlOGLTables ( MATL_OGL_TABLE **  mogl,
int  nmatls 
)
SIGSIM_API int Free_MatlOGLTables ( MATL_OGL_TABLE **  mogl)
SIGSIM_API int Free_LightSourceTables ( LIGHT_SOURCE_TABLE lstable,
int  nlstables 
)
SIGSIM_API int AllocateLightSourceTables ( int  num_ls,
LIGHT_SOURCE_TABLE **  ls_table 
)
SIGSIM_API int AllocateManMadeLightSourceOGLOutput ( int  num_ls,
LIGHT_SOURCE_TABLE **  ls_table,
int  nmmls 
)
int ComputeReflectanceParametersOGL ( long  matl_index,
double  ax,
double  bx,
MATL_PROP_TABLE mp_table,
MATL_OGL_TABLE mogl 
)
double LtotalOGL ( VECTOR  View,
VECTOR  Norm,
VECTOR  Vdir,
double  Lamb,
double  Ldif,
double  Lspec,
double  Kamb,
double  Kdif,
double  Kspec,
double  Shine,
jrmbool  CROP 
)
SIGSIM_API int Radiance2MaterialOGL ( long  matl_index,
SENSOR sens,
MATL_PROP_TABLE mp_table,
MATL_OGL_TABLE mogl,
METIN metin,
LIGHT_SOURCE_TABLE lstable,
jrmbool  MOGL_MODE,
jrmbool  CROP 
)
SIGSIM_API double OGL2Radiance ( double  oglval,
SENSOR sens 
)
SIGSIM_API double CalcIntensityOGL ( double  range,
long  matl_index,
MATL_PROP_TABLE mp_table,
MATL_OGL_TABLE mogl,
LIGHT_SOURCE_TABLE lstable,
METIN metin,
SENSOR sens,
jrmbool  CROP 
)
SIGSIM_API double OGL2MaterialRadiance ( SENSOR sens,
double  range,
double  Rogl 
)
SIGSIM_API int CalcSceneMinMaxRadiances ( METIN metin,
MATL_PROP_TABLE mp_table,
int  nmatls,
SENSOR sensor,
double *  Tmax,
double *  Tmin,
double *  Rmax,
double *  Rmin 
)
SIGSIM_API int TransferSensorPassbandOGLEnvironment ( METIN metin,
SENSOR sens,
LIGHT_SOURCE_TABLE lstable,
jrmbool  MOGL_MODE,
jrmbool  CROP 
)
SIGSIM_API int UpdateSensorPassbandAndOGLEnvironment ( METIN metin,
SENSOR sens,
LIGHT_SOURCE_TABLE lstable,
jrmbool  PaintStars,
jrmbool  PaintSky,
jrmbool  MOGL_MODE,
jrmbool  CROP 
)


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