VR-Vantage 3.0 API Documentation
Home
Modules
Namespaces
Classes
Files
Libraries
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
sensorFx
include
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
//
27
class
ssMaterialTable
28
{
29
public
:
30
enum
ResponseWidthType
{
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
36
SRType
,
37
UDType
,
// 4 RCS values - 1 for each polarization.
38
};
39
40
42
// ssMaterialTable
46
ssMaterialTable
(
BRDF_MODEL
brdf=
ORIGINAL_PHONG
,
enum
ResponseWidthType
responseType=
PhongSR_Type
);
47
49
// ssMaterialTable
53
ssMaterialTable
(
ssMaterialTable
©Table);
54
56
//~ssMaterialTable
60
~ssMaterialTable
();
61
63
//initialize
70
void
initialize
(
unsigned
int
numberMaterials,
unsigned
int
numberWavelengths,
unsigned
int
numberRCSangles = 1);
71
73
//getBRDFModel
78
BRDF_MODEL
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
125
MATL_SPECTRAL_TABLE
*
getMaterialSpectralTablePtr
(
int
material);
126
127
unsigned
int
getResponseWidth
();
128
129
private
:
130
131
// SigSim members
132
134
MATL_SPECTRAL_TABLE
*
m_materialSpectralTablePtr
;
135
137
BRDF_MODEL
m_brdfModel
;
138
140
unsigned
int
m_numberWavelengths
;
142
unsigned
int
m_numberMaterials
;
144
unsigned
int
m_numberRCSangles
;
145
147
float
*
m_responseData
;
148
149
enum
ResponseWidthType
m_responseType
;
150
151
};
152
153
154
#endif
155
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (
www.mak.com
)