Class TLspRadarDisplayResolution
java.lang.Object
com.luciad.realtime.lightspeed.radarvideo.TLspRadarDisplayResolution
Properties that control the resolution at which a radar video feed is displayed.
These settings can be applied using
TLspRadarVideoLayerBuilder
.
The resolution is defined by the number of angular and radial steps.- Since:
- 2024.0
-
Constructor Summary
ConstructorsConstructorDescriptionTLspRadarDisplayResolution
(int aAngularSteps, double aMaxDistance, int aRadialSteps) Creates new resampling settings with the specified values. -
Method Summary
Modifier and TypeMethodDescriptiondouble
Returns the maximum distance within which the radar data is visualized.int
Returns the angular resolution of the radar display.int
Returns the radial resolution of the radar display.
-
Constructor Details
-
TLspRadarDisplayResolution
public TLspRadarDisplayResolution(int aAngularSteps, double aMaxDistance, int aRadialSteps) Creates new resampling settings with the specified values.- Parameters:
aAngularSteps
- seegetNumberOfAngularSteps()
aMaxDistance
- seegetMaxDistance()
aRadialSteps
- seegetNumberOfRadialSteps()
-
-
Method Details
-
getNumberOfAngularSteps
public int getNumberOfAngularSteps()Returns the angular resolution of the radar display. This is the number of steps that are displayed between 0 and 360 degrees. The number of steps cannot exceed the maximum texture size supported by the GPU -- if it does, the effective display resolution will be clamped.- Returns:
- the angular resolution of the radar display
-
getMaxDistance
public double getMaxDistance()Returns the maximum distance within which the radar data is visualized. If this distance is set to be smaller than the actual range of the radar, all data beyond this distance will be discarded.- Returns:
- the distance range of the radar display
-
getNumberOfRadialSteps
public int getNumberOfRadialSteps()Returns the radial resolution of the radar display. This is the number of cells that are displayed between the radar's position and themaximum distance
. The number of steps cannot exceed the maximum texture size supported by the GPU -- if it does, the effective display resolution will be clamped.- Returns:
- the radial resolution of the radar display
-