#include <RangeSensor.h>
RangeSensor::RangeSensor |
( |
| ) |
|
RangeSensor::RangeSensor |
( |
const RangeSensor & |
org, |
|
|
bool |
copyStateOnly = false |
|
) |
| |
void RangeSensor::clearState |
( |
| ) |
|
|
virtual |
Device * RangeSensor::clone |
( |
| ) |
const |
|
virtual |
const RangeData& cnoid::RangeSensor::constRangeData |
( |
| ) |
const |
|
inline |
void RangeSensor::copyStateFrom |
( |
const RangeSensor & |
other | ) |
|
void RangeSensor::copyStateFrom |
( |
const DeviceState & |
other | ) |
|
|
virtual |
double cnoid::RangeSensor::delay |
( |
| ) |
const |
|
inline |
Time [s] consumed in the measurement
void RangeSensor::forEachActualType |
( |
boost::function< bool(const std::type_info &type)> |
func | ) |
|
|
virtual |
double cnoid::RangeSensor::frameRate |
( |
| ) |
const |
|
inline |
bool cnoid::RangeSensor::isRangeDataStateClonable |
( |
| ) |
const |
|
inline |
double cnoid::RangeSensor::maxDistance |
( |
| ) |
const |
|
inline |
double cnoid::RangeSensor::minDistance |
( |
| ) |
const |
|
inline |
bool cnoid::RangeSensor::on |
( |
| ) |
const |
|
inline |
void cnoid::RangeSensor::on |
( |
bool |
on | ) |
|
|
inline |
double cnoid::RangeSensor::pitchRange |
( |
| ) |
const |
|
inline |
int cnoid::RangeSensor::pitchResolution |
( |
| ) |
const |
|
inline |
double RangeSensor::pitchStep |
( |
| ) |
const |
const RangeData& cnoid::RangeSensor::rangeData |
( |
| ) |
const |
|
inline |
- Note
- You must check if the range data is not empty before accessing the data
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.
void cnoid::RangeSensor::setDelay |
( |
double |
time | ) |
|
|
inline |
void RangeSensor::setFrameRate |
( |
double |
r | ) |
|
void RangeSensor::setMaxDistance |
( |
double |
d | ) |
|
void RangeSensor::setMinDistance |
( |
double |
d | ) |
|
void RangeSensor::setPitchRange |
( |
double |
angle | ) |
|
void RangeSensor::setPitchResolution |
( |
double |
n | ) |
|
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.
void cnoid::RangeSensor::setRangeDataStateClonable |
( |
bool |
on | ) |
|
|
inline |
void RangeSensor::setYawRange |
( |
double |
angle | ) |
|
void RangeSensor::setYawResolution |
( |
int |
n | ) |
|
boost::shared_ptr<RangeData> cnoid::RangeSensor::sharedRangeData |
( |
| ) |
const |
|
inline |
int RangeSensor::stateSize |
( |
| ) |
const |
|
virtual |
Size of the double-precision floating numbers for representing the state.
Implements cnoid::DeviceState.
const char * RangeSensor::typeName |
( |
| ) |
|
|
virtual |
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.
double cnoid::RangeSensor::yawRange |
( |
| ) |
const |
|
inline |
int cnoid::RangeSensor::yawResolution |
( |
| ) |
const |
|
inline |
double RangeSensor::yawStep |
( |
| ) |
const |
The documentation for this class was generated from the following files: