VR-Vantage 2.8 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ssMaterialProperties.h
Go to the documentation of this file.
1 
3 // Copyright JRM Enterprises, Inc. 2006
4 // All rights reserved.
5 //
6 // This code is the intellectual property of JRM Enterprises, Inc.
7 // It may not be used or released as source or compiled binary form
8 // without the prior written consent of JRM Enterprises, Inc.
9 //
10 // Original Author: Tom Rix Date: Sep 2006
12 
13 #ifndef _ssMaterialProperties_
14 #define _ssMaterialProperties_
15 
16 #include "ssdllexport.h"
17 #include <SigSimStructs.h>
18 
20 // ssMaterialProperties
28 {
29 
30 public:
31 
33  // ssMaterialProperties
38 
40  //ssMaterialProperties
45 
46 
48  //ssMaterialProperties
53 
54 
56  //setMaterialSystemFileName
62  void setMaterialSystemFileName(char *name);
63 
65  //setSigSimDataDirectory
71  void setSigSimDataDirectory(char *name);
72 
74  //isValid
79  bool isValid();
80 
82  //getNumberMaterials
87  unsigned int getNumberMaterials();
88 
89 
91  //getNumberLayers
97  unsigned int getNumberLayers(unsigned int materialIndex);
98 
100  //getNumberWavelengths
106  unsigned int getNumberWavelengths(unsigned int materialIndex);
107 
109  //getMaterialName
115  char *getMaterialName(unsigned int materialIndex);
116 
118  //setMaterialName
125  void setMaterialName(unsigned int materialIndex, char *matName);
126 
128  //getIntensityModulationScalarParameter
135  double getIntensityModulationScalarParameter(unsigned int material, bool visualBand);
136 
138  //getAltitude
146  bool getAltitude (unsigned int materialIndex, double &altitude);
147 
149  //setAltitude
156  void setAltitude (unsigned int materialIndex, double altitude);
157 
159  //getUpperBoundaryConditionType
172  bool getUpperBoundaryConditionType (unsigned int materialIndex, unsigned int &boundaryConditionType);
173 
175  //setUpperBoundaryConditionType
188  void setUpperBoundaryConditionType (unsigned int materialIndex, unsigned int boundaryConditionType);
189 
190 
192  //getUpperBoundaryConditionType
198  const char *getUpperBoundaryConditionType (unsigned int materialIndex);
199 
201  //getUpperBoundaryTemperature
208  bool getUpperBoundaryTemperature (unsigned int materialIndex, double &temperature);
209 
211  //setUpperBoundaryTemperature
218  bool setUpperBoundaryTemperature (unsigned int materialIndex, double temperature);
219 
221  //getUpperBoundaryWindSpeed
228  bool getUpperBoundaryWindSpeed (unsigned int materialIndex, double &windSpeed);
229 
231  //setUpperBoundaryWindSpeed
238  bool setUpperBoundaryWindSpeed (unsigned int materialIndex, double windSpeed);
239 
241  //getUpperBoundaryHeatLoad
248  bool getUpperBoundaryHeatLoad (unsigned int materialIndex, double &heatLoad);
249 
251  //setUpperBoundaryHeatLoad
258  bool setUpperBoundaryHeatLoad (unsigned int materialIndex, double heatLoad);
259 
261  //getLowerBoundaryConditionType
275  bool getLowerBoundaryConditionType (unsigned int materialIndex, unsigned int &boundaryConditionType);
276 
278  //setLowerBoundaryConditionType
291  void setLowerBoundaryConditionType (unsigned int materialIndex, unsigned int boundaryConditionType);
292 
294  //getLowerBoundaryConditionType
300  const char *getLowerBoundaryConditionType (unsigned int materialIndex);
301 
303  //getLowerBoundaryTemperature
310  bool getLowerBoundaryTemperature (unsigned int materialIndex, double &temperature);
311 
313  //setLowerBoundaryTemperature
320  bool setLowerBoundaryTemperature (unsigned int materialIndex, double temperature);
321 
323  //getLowerBoundaryWindSpeed
330  bool getLowerBoundaryWindSpeed (unsigned int materialIndex, double &windSpeed);
331 
333  //setLowerBoundaryWindSpeed
340  bool setLowerBoundaryWindSpeed (unsigned int materialIndex, double windSpeed);
341 
342 
344  //getLowerBoundaryHeatLoad
351  bool getLowerBoundaryHeatLoad (unsigned int materialIndex, double &heatLoad);
352 
354  //setLowerBoundaryHeatLoad
361  bool setLowerBoundaryHeatLoad (unsigned int materialIndex, double heatLoad);
362 
364  //getReflectType
374  bool getReflectType(unsigned int materialIndex, unsigned int wavelengthIndex, enum ReflectType &reflectType);
375 
377  //getReflectType
386  const char *getReflectType(unsigned int materialIndex, unsigned int wavelengthIndex);
387 
389  //setReflectType
399  void setReflectType(unsigned int materialIndex, unsigned int wavelengthIndex, enum ReflectType &reflectType);
400 
402  //getDHR
410  bool getDHR(unsigned int materialIndex, unsigned int wavelengthIndex, double &DHR);
411 
412  //setDHR
420  void setDHR(unsigned int materialIndex, unsigned int wavelengthIndex, double DHR);
421 
423  //getPercentSpecular
431  bool getPercentSpecular(unsigned int materialIndex, unsigned int wavelengthIndex, double &PercentSpecular);
432 
434  //setPercentSpecular
442  void setPercentSpecular(unsigned int materialIndex, unsigned int wavelengthIndex, double PercentSpecular);
443 
444 
446  //getLobeWidth
454  bool getLobeWidth(unsigned int materialIndex, unsigned int wavelengthIndex, double &LobeWidth);
455 
457  //setLobeWidth
465  void setLobeWidth(unsigned int materialIndex, unsigned int wavelengthIndex, double LobeWidth);
466 
467 
469  //isValidMaterialIndex
475  bool isValidMaterialIndex(unsigned int materialIndex);
476 
478  //isValidMaterialLayerIndex
485  bool isValidMaterialLayerIndex(unsigned int materialIndex, unsigned int layerIndex);
486 
488  //isValidMaterialWavelengthIndex
495  bool isValidMaterialWavelengthIndex(unsigned int materialIndex, unsigned int wavelengthIndex);
496 
498  //setUpdateTimeofDay
504  void setUpdateTimeofDay (unsigned int materialIndex, JRMTIME time);
505 
507  //getUpdateTimeofDay
514  bool getUpdateTimeofDay (unsigned int materialIndex, JRMTIME &time);
515 
517  //*getMaterialPropertyTablePtr
527  MATL_PROP_TABLE *getMaterialPropertyTablePtr();
528 
530  //getEnvironmentUpdateInterval
535  double getEnvironmentUpdateInterval();
536 
537 
539  //setEnvironmentUpdateInterval
544  void setEnvironmentUpdateInterval(double interval);
545 
547  //hasChanged
552  bool hasChanged();
553 
554 
555 protected:
556 
558  //validate
564  bool validate ();
565 
567  //clean
571  void clean ();
572 
575 
577  unsigned int m_numMaterials;
578 
580  unsigned int m_numTemperatures;
581 
583  char m_dataDirectory[256];
585  char m_materialSystemFileName[256];
587  char m_timeStamp[256];
590 };
591 
592 #endif // _ssMaterialProperties_
593 


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