DtVrfSensorFieldOfView manages a VR-Link sensor field of view (FOV) publisher, and sets all the values associated with a sensor's field of view.
More...
Detailed Description
DtVrfSensorFieldOfView manages a VR-Link sensor field of view (FOV) publisher, and sets all the values associated with a sensor's field of view.
The emitter system can be initialized from a DtSesnorFieldOfViewEntry RW class. tick() must be called periodically to tick the VRL publisher.
Constructor & Destructor Documentation
| DtVrfSensorFieldOfView::DtVrfSensorFieldOfView |
( |
| ) |
|
|
private |
| DtVrfSensorFieldOfView::DtVrfSensorFieldOfView |
( |
DtVrfObject * |
hostEntity, |
|
|
const DtString & |
id |
|
) |
| |
| virtual DtVrfSensorFieldOfView::~DtVrfSensorFieldOfView |
( |
| ) |
|
|
virtual |
Member Function Documentation
| virtual void DtVrfSensorFieldOfView::tick |
( |
| ) |
|
|
virtual |
| bool DtVrfSensorFieldOfView::init |
( |
| ) |
|
| DtString DtVrfSensorFieldOfView::id |
( |
| ) |
const |
Location of the sensor relative to the host entity.
| DtVector DtVrfSensorFieldOfView::relativeLocation |
( |
| ) |
const |
Location of the sensor relative to the host entity.
| void DtVrfSensorFieldOfView::setRelativeLocation |
( |
const DtVector & |
loc | ) |
|
| DtTaitBryan DtVrfSensorFieldOfView::relativeOrientation |
( |
| ) |
const |
Orientation of the sensor relative to the host entity.
When set, targeted entity will be cleared out.
| void DtVrfSensorFieldOfView::setRelativeOrientation |
( |
const DtTaitBryan & |
ori | ) |
|
| virtual void DtVrfSensorFieldOfView::setTargetedLocation |
( |
const DtVector & |
target | ) |
|
|
virtual |
| virtual const DtVector& DtVrfSensorFieldOfView::targetedLocation |
( |
| ) |
const |
|
virtual |
| DtFloat64 DtVrfSensorFieldOfView::radius |
( |
| ) |
const |
The radius of the field of view (distance from entity to max range).
| void DtVrfSensorFieldOfView::setRadius |
( |
DtFloat64 |
rad | ) |
|
| DtFloat64 DtVrfSensorFieldOfView::xHalfAngle |
( |
| ) |
const |
Half width of the FOV along the x-axis, measured in radians.
| void DtVrfSensorFieldOfView::setXHalfAngle |
( |
DtFloat64 |
angle | ) |
|
| DtFloat64 DtVrfSensorFieldOfView::yHalfAngle |
( |
| ) |
const |
Half width of the FOV along the y-axis, measured in radians.
| void DtVrfSensorFieldOfView::setYHalfAngle |
( |
DtFloat64 |
angle | ) |
|
| DtFloat64 DtVrfSensorFieldOfView::minAzimuthAngle |
( |
| ) |
const |
Minimum azimuth angle at which sensor can be aimed, measured in radians.
| void DtVrfSensorFieldOfView::setMinAzimuthAngle |
( |
DtFloat64 |
angle | ) |
|
| DtFloat64 DtVrfSensorFieldOfView::maxAzimuthAngle |
( |
| ) |
const |
Maximum azimuth angle at which sensor can be aimed, measured in radians.
| void DtVrfSensorFieldOfView::setMaxAzimuthAngle |
( |
DtFloat64 |
angle | ) |
|
| DtFloat64 DtVrfSensorFieldOfView::minElevationAngle |
( |
| ) |
const |
Minimum elevation angle at which sensor can be aimed, measured in radians.
| void DtVrfSensorFieldOfView::setMinElevationAngle |
( |
DtFloat64 |
angle | ) |
|
| DtFloat64 DtVrfSensorFieldOfView::maxElevationAngle |
( |
| ) |
const |
Maximum elevation angle at which sensor can be aimed, measured in radians.
| void DtVrfSensorFieldOfView::setMaxElevationAngle |
( |
DtFloat64 |
angle | ) |
|
| DtFloat64 DtVrfSensorFieldOfView::maxZoomLevel |
( |
| ) |
const |
| void DtVrfSensorFieldOfView::setMaxZoomLevel |
( |
DtFloat64 |
level | ) |
|
| DtFloat64 DtVrfSensorFieldOfView::currentZoomLevel |
( |
| ) |
const |
| void DtVrfSensorFieldOfView::setCurrentZoomLevel |
( |
DtFloat64 |
level | ) |
|
| DtU32 DtVrfSensorFieldOfView::color |
( |
| ) |
const |
| void DtVrfSensorFieldOfView::setColor |
( |
DtU32 |
c | ) |
|
| virtual bool DtVrfSensorFieldOfView::createPublisher |
( |
| ) |
|
|
protectedvirtual |
Creates a new publisher on the current exercise connection.
| virtual bool DtVrfSensorFieldOfView::initSensorFieldOfView |
( |
| ) |
|
|
protectedvirtual |
Initializes the sensor field of view SR.
Member Data Documentation
| DtString DtVrfSensorFieldOfView::mySensorFieldOfViewId |
|
protected |
The documentation for this class was generated from the following file: