public abstract class SensorFieldOfView extends Solid implements IServiceProvider
| Constructor and Description |
|---|
SensorFieldOfView() |
| Modifier and Type | Method and Description |
|---|---|
SensorProjection |
getProjection(Ellipsoid ellipsoid,
KinematicTransformation ellipsoidToSensorTransformation)
Gets the projection of the sensor onto the front surface of a specified ellipsoid and into space.
|
abstract SensorProjection |
getProjection(Ellipsoid ellipsoid,
KinematicTransformation ellipsoidToSensorTransformation,
SensorProjectionOptions projectionOptions)
Gets the projection of the sensor onto the front surface of a specified ellipsoid and onto a plane at a
specified distance in space.
|
double |
getRadius()
Gets the radial limit of the volume.
|
Object |
getService(Class<?> serviceType)
Gets the service object of the specified type.
|
protected void |
onRadiusChanged()
|
void |
setRadius(double value)
Sets the radial limit of the volume.
|
encloses, getEnclosureDescriptionsgetIsConnectedpublic final double getRadius()
ArgumentOutOfRangeException - Thrown when the radius is less than or equal to zero.public final void setRadius(double value)
ArgumentOutOfRangeException - Thrown when the radius is less than or equal to zero.@Nonnull public final SensorProjection getProjection(@Nonnull Ellipsoid ellipsoid, @Nonnull KinematicTransformation ellipsoidToSensorTransformation)
ellipsoid - The ellipsoid on which the sensor is to be projected.ellipsoidToSensorTransformation - The transformation from the reference frame of the ellipsoid to the reference frame of the sensor.@Nonnull public abstract SensorProjection getProjection(@Nonnull Ellipsoid ellipsoid, @Nonnull KinematicTransformation ellipsoidToSensorTransformation, @Nullable SensorProjectionOptions projectionOptions)
ellipsoid - The ellipsoid on which the sensor is to be projected.ellipsoidToSensorTransformation - The transformation from the reference frame of the ellipsoid to the reference frame of the sensor.projectionOptions - The options controlling how the sensor is projected, or null to use defaults.protected void onRadiusChanged()
@Nullable public Object getService(@Nonnull Class<?> serviceType)
getService in interface IServiceProviderserviceType - An object that specifies the type of service object to get.null if the service does not exist.ArgumentNullException - Thrown when serviceType is null.