VR-Vantage 3.0.3 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ssMaterialTable.h
Go to the documentation of this file.
1 
3 // Copyright JRM Enterprises, Inc. 2004 - 2012
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: Eric Olson Date: May 2004
12 
13 #ifndef _ssMaterialTable_
14 #define _ssMaterialTable_
15 
16 #include "SigSimStructs.h"
17 #include "Eigenmaterials.h"
18 
20 // class: ssMaterialTable
21 //
22 // description: class for the material systems in SigSim library for scene generation
23 // Each material set has a material table for each sensor.
24 // This class is not part of the API and is accessed thru ssMaterialSet.
25 //
26 //
28 {
29 public:
31  NoType = 0,
32  IntensityType, // single value like a radiance
33  ELType, // emission and (solar) loading
34  ADSType, // ambient, diffuse, specular
35  PhongSR_Type, // ambient, diffuse, specular, shine, Tbase, Tcos, and SR parameters
37  UDType, // 4 RCS values - 1 for each polarization.
38  };
39 
40 
42  // ssMaterialTable
47 
49  // ssMaterialTable
53  ssMaterialTable(ssMaterialTable &copyTable);
54 
56  //~ssMaterialTable
61 
63  //initialize
70  void initialize(unsigned int numberMaterials, unsigned int numberWavelengths, unsigned int numberRCSangles = 1);
71 
73  //getBRDFModel
79  {
80  return m_brdfModel;
81  }
82 
83 
85  //getNumberWavelengths
90  unsigned int getNumberWavelengths();
91 
93  //getNumberRCSangles
98  unsigned int getNumberRCSangles();
99 
101  //*getReflectanceParameter
108  double *getReflectanceParameter(int material, int index);
109 
111  //*getResponseData
116  float *getResponseData();
117 
119  //*getMaterialSpectralTablePtr
126 
127  unsigned int getResponseWidth();
128 
129 private:
130 
131  // SigSim members
132 
135 
138 
140  unsigned int m_numberWavelengths;
142  unsigned int m_numberMaterials;
144  unsigned int m_numberRCSangles;
145 
148 
150 
151 };
152 
153 
154 #endif
155 


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