public final class SensorProperty extends Object implements IPartProperty
IPartProperty,
IFieldOfView,
Serialized Form| Constructor and Description |
|---|
SensorProperty(Vector3D sightAxis)
Constructor of the generic sensor property
|
| Modifier and Type | Method and Description |
|---|---|
IFieldOfView[] |
getInhibitionFields() |
PVCoordinatesProvider[] |
getInhibitionTargets() |
ApparentRadiusProvider[] |
getInhibitionTargetsRadiuses() |
Vector3D |
getInSightAxis() |
IFieldOfView |
getMainField() |
PVCoordinatesProvider |
getMainTarget() |
ApparentRadiusProvider |
getMainTargetRadius() |
Vector3D[] |
getReferenceAxis() |
PropertyType |
getType()
Get the type of the property.
|
void |
setInhibitionFieldsAndTargets(IFieldOfView[] fields,
PVCoordinatesProvider[] targets,
ApparentRadiusProvider[] targetRadiuses)
Sets the arrays of inhibition fields and the associated targets : the two array must
have the same length.
|
void |
setMainFieldOfView(IFieldOfView field)
Sets the main field of view of this sensor
|
void |
setMainTarget(PVCoordinatesProvider target,
ApparentRadiusProvider radius)
Sets the main target of the sensor
|
void |
setReferenceAxis(Vector3D[] refAxis)
Sets the reference axis
|
public SensorProperty(Vector3D sightAxis)
sightAxis - the main sight axis of this sensor.public void setMainFieldOfView(IFieldOfView field)
field - the new main field of viewpublic void setInhibitionFieldsAndTargets(IFieldOfView[] fields, PVCoordinatesProvider[] targets, ApparentRadiusProvider[] targetRadiuses)
fields - the inhibition fieldstargets - the targets associated to those fieldstargetRadiuses - the radiuses of the target objectspublic void setReferenceAxis(Vector3D[] refAxis)
refAxis - the axis arraypublic Vector3D getInSightAxis()
public IFieldOfView getMainField()
public IFieldOfView[] getInhibitionFields()
public PVCoordinatesProvider[] getInhibitionTargets()
public ApparentRadiusProvider[] getInhibitionTargetsRadiuses()
public Vector3D[] getReferenceAxis()
public void setMainTarget(PVCoordinatesProvider target, ApparentRadiusProvider radius)
target - the new main target centerradius - the target's radius (set 0.0 for to create a simple point target)public PVCoordinatesProvider getMainTarget()
public ApparentRadiusProvider getMainTargetRadius()
public PropertyType getType()
getType in interface IPartPropertyCopyright © 2025 CNES. All rights reserved.