|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.cnes.sirius.patrius.assembly.properties.SensorProperty
public final class SensorProperty
This class represents a generic sensor property for a part of the assembly. This sensor is defined by a sight axis and some optional features : a target, some fields of view and inhibition.
IPartProperty,
IFieldOfView| Constructor Summary | |
|---|---|
SensorProperty(Vector3D sightAxis)
Constructor of the generic sensor property |
|
| Method Summary | |
|---|---|
IFieldOfView[] |
getInhibitionFields()
|
PVCoordinatesProvider[] |
getInhibitionTargets()
|
double[] |
getInhibitionTargetsRadiuses()
|
Vector3D |
getInSightAxis()
|
IFieldOfView |
getMainField()
|
PVCoordinatesProvider |
getMainTarget()
|
double |
getMainTargetRadius()
|
Vector3D[] |
getReferenceAxis()
|
PropertyType |
getType()
Get the type of the property. |
void |
setInhibitionFieldsAndTargets(IFieldOfView[] fields,
PVCoordinatesProvider[] targets,
double[] 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,
double radius)
Sets the main target of the sensor |
void |
setReferenceAxis(Vector3D[] refAxis)
Sets the reference axis |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SensorProperty(Vector3D sightAxis)
sightAxis - the main sight axis of this sensor.| Method Detail |
|---|
public void setMainFieldOfView(IFieldOfView field)
field - the new main field of view
public void setInhibitionFieldsAndTargets(IFieldOfView[] fields,
PVCoordinatesProvider[] targets,
double[] targetRadiuses)
fields - the inhibition fieldstargets - the targets associated to those fieldstargetRadiuses - the radiuses of the target objects (set 0.0 for to create a simple point target)public void setReferenceAxis(Vector3D[] refAxis)
refAxis - the axis arraypublic Vector3D getInSightAxis()
public IFieldOfView getMainField()
public IFieldOfView[] getInhibitionFields()
public PVCoordinatesProvider[] getInhibitionTargets()
public double[] getInhibitionTargetsRadiuses()
public Vector3D[] getReferenceAxis()
public void setMainTarget(PVCoordinatesProvider target,
double 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 double getMainTargetRadius()
public PropertyType getType()
getType in interface IPartProperty
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||