public class SourceGenerator extends Object
| Constructor and Description |
|---|
SourceGenerator(double x,
double y,
double z,
EnvironmentalData data,
double size,
double spacing,
double elevation,
double frequency,
double azimuth,
int numRadials,
double beamWidth,
double sourceLevel,
String modelType)
Creates a new instance of SourceGenerator
|
| Modifier and Type | Method and Description |
|---|---|
double |
calculateRadialAzimuth()
Calculates the horizontal angle of "center" beam (in degrees from 000) to creates a new instance of SourceGenerator.
|
String |
generateSonarVisInputFile()
Generates SonarVisInput file to send to model
|
String[] |
getOutputFileList()
Get output file list
|
String |
getVRMLSource()
Get VRML string value to build a VRML scene.
|
void |
runModel(String type)
Invoke RRA model engine.
|
public SourceGenerator(double x,
double y,
double z,
EnvironmentalData data,
double size,
double spacing,
double elevation,
double frequency,
double azimuth,
int numRadials,
double beamWidth,
double sourceLevel,
String modelType)
x - The relative x position of source in virtual world.y - The relative y position of source in virtual world.z - The relative z position of source in virtual world.data - The container class to hold environmental data.size - The size (in nm) of one side of discrete area.spacing - The current spacing between data points.elevation - The vertical angle of "center" beam (in degrees).frequency - The frequency of source emitter (in KHz).azimuth - The horizontal angle of "center" beam (in degrees from 000).numRadials - The number of radials.beamWidth - The angle (in degrees) of horizontal sweep area.sourceLevel - The source level (in dB).modelType - The string describing which model engine to access.public String generateSonarVisInputFile()
public String[] getOutputFileList()
public void runModel(String type)
type - The type of RRA model engine to run.public String getVRMLSource()
public double calculateRadialAzimuth()