VR-Vantage 3.1 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 "
ssIncAll.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
ACType
// Acoustics - 2 values per material.
39
};
40
41
43
// ssMaterialTable
47
ssMaterialTable
(
BRDF_MODEL
brdf=
ORIGINAL_PHONG
,
enum
ResponseWidthType
responseType=
PhongSR_Type
);
48
49
51
//~ssMaterialTable
55
~ssMaterialTable
();
56
58
//initialize
65
void
initialize
(
unsigned
int
numberMaterials,
unsigned
int
numberWavelengths,
unsigned
int
numberRCSangles = 1);
66
68
//getBRDFModel
73
BRDF_MODEL
getBRDFModel
()
74
{
75
return
m_brdfModel
;
76
}
77
78
80
//getNumberWavelengths
85
unsigned
int
getNumberWavelengths
();
86
88
//getNumberRCSangles
93
unsigned
int
getNumberRCSangles
();
94
96
//*getReflectanceParameter
103
double
*
getReflectanceParameter
(
int
material,
int
index
);
104
106
//*getResponseData
111
float
*
getResponseData
();
112
114
//*getMaterialSpectralTablePtr
120
MATL_SPECTRAL_TABLE
*
getMaterialSpectralTablePtr
(
int
material);
121
122
unsigned
int
getResponseWidth
();
123
124
private
:
125
126
// SigSim members
127
129
MATL_SPECTRAL_TABLE
*
m_materialSpectralTablePtr
;
130
132
BRDF_MODEL
m_brdfModel
;
133
135
unsigned
int
m_numberWavelengths
;
137
unsigned
int
m_numberMaterials
;
139
unsigned
int
m_numberRCSangles
;
140
142
float
*
m_responseData
;
143
144
enum
ResponseWidthType
m_responseType
;
145
146
};
147
148
149
#endif
150
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (
www.mak.com
)