#include <RangeSensor.h>
§ RangeData
§ RangeSensor() [1/2]
| RangeSensor::RangeSensor |
( |
| ) |
|
§ RangeSensor() [2/2]
| RangeSensor::RangeSensor |
( |
const RangeSensor & |
org, |
|
|
bool |
copyStateOnly = false |
|
) |
| |
§ clearState()
| void RangeSensor::clearState |
( |
| ) |
|
|
virtual |
§ clone()
| Device * RangeSensor::clone |
( |
| ) |
const |
|
virtual |
§ cloneState()
§ constRangeData()
| const RangeData& cnoid::RangeSensor::constRangeData |
( |
| ) |
const |
|
inline |
§ copyStateFrom() [1/2]
| void RangeSensor::copyStateFrom |
( |
const RangeSensor & |
other | ) |
|
§ copyStateFrom() [2/2]
| void RangeSensor::copyStateFrom |
( |
const DeviceState & |
other | ) |
|
|
virtual |
§ delay()
| double cnoid::RangeSensor::delay |
( |
| ) |
const |
|
inline |
Time [s] consumed in the measurement
§ forEachActualType()
| void RangeSensor::forEachActualType |
( |
boost::function< bool(const std::type_info &type)> |
func | ) |
|
|
virtual |
§ frameRate()
| double cnoid::RangeSensor::frameRate |
( |
| ) |
const |
|
inline |
§ isRangeDataStateClonable()
| bool cnoid::RangeSensor::isRangeDataStateClonable |
( |
| ) |
const |
|
inline |
§ maxDistance()
| double cnoid::RangeSensor::maxDistance |
( |
| ) |
const |
|
inline |
§ minDistance()
| double cnoid::RangeSensor::minDistance |
( |
| ) |
const |
|
inline |
§ newRangeData()
§ on() [1/2]
| bool cnoid::RangeSensor::on |
( |
| ) |
const |
|
inline |
§ on() [2/2]
| void cnoid::RangeSensor::on |
( |
bool |
on | ) |
|
|
inline |
§ pitchRange()
| double cnoid::RangeSensor::pitchRange |
( |
| ) |
const |
|
inline |
§ pitchResolution()
| int cnoid::RangeSensor::pitchResolution |
( |
| ) |
const |
|
inline |
§ pitchStep()
| double RangeSensor::pitchStep |
( |
| ) |
const |
§ rangeData() [1/2]
| const RangeData& cnoid::RangeSensor::rangeData |
( |
| ) |
const |
|
inline |
- Note
- You must check if the range data is not empty before accessing the data
§ rangeData() [2/2]
§ readState()
| const double * RangeSensor::readState |
( |
const double * |
buf | ) |
|
|
virtual |
- Returns
- The position in the buf after reading. The value is used when the super class's readState is called by the inherited class.
Implements cnoid::DeviceState.
§ setDelay()
| void cnoid::RangeSensor::setDelay |
( |
double |
time | ) |
|
|
inline |
§ setFrameRate()
| void RangeSensor::setFrameRate |
( |
double |
r | ) |
|
§ setMaxDistance()
| void RangeSensor::setMaxDistance |
( |
double |
d | ) |
|
§ setMinDistance()
| void RangeSensor::setMinDistance |
( |
double |
d | ) |
|
§ setPitchRange()
| void RangeSensor::setPitchRange |
( |
double |
angle | ) |
|
§ setPitchResolution()
| void RangeSensor::setPitchResolution |
( |
double |
n | ) |
|
§ setRangeData()
| void RangeSensor::setRangeData |
( |
boost::shared_ptr< RangeData > & |
rangeData | ) |
|
Move semantics. If the use_count() of the given shared range data pointer is one, the data is moved to the Camera object and the ownership of the given pointer is released. Otherwise, the data is copied.
§ setRangeDataStateClonable()
| void cnoid::RangeSensor::setRangeDataStateClonable |
( |
bool |
on | ) |
|
|
inline |
§ setYawRange()
| void RangeSensor::setYawRange |
( |
double |
angle | ) |
|
§ setYawResolution()
| void RangeSensor::setYawResolution |
( |
int |
n | ) |
|
§ sharedRangeData()
| boost::shared_ptr<RangeData> cnoid::RangeSensor::sharedRangeData |
( |
| ) |
const |
|
inline |
§ stateSize()
| int RangeSensor::stateSize |
( |
| ) |
const |
|
virtual |
Size of the double-precision floating numbers for representing the state.
Implements cnoid::DeviceState.
§ typeName()
| const char * RangeSensor::typeName |
( |
| ) |
|
|
virtual |
§ writeState()
| double * RangeSensor::writeState |
( |
double * |
out_buf | ) |
const |
|
virtual |
- Returns
- The position in the buf after reading. The value is used when the super class's readState is called by the inherited class.
Implements cnoid::DeviceState.
§ yawRange()
| double cnoid::RangeSensor::yawRange |
( |
| ) |
const |
|
inline |
§ yawResolution()
| int cnoid::RangeSensor::yawResolution |
( |
| ) |
const |
|
inline |
§ yawStep()
| double RangeSensor::yawStep |
( |
| ) |
const |
The documentation for this class was generated from the following files: