#include <Camera.h>
Enumerator |
---|
NO_IMAGE |
|
COLOR_IMAGE |
|
GRAYSCALE_IMAGE |
|
Camera::Camera |
( |
const Camera & |
org, |
|
|
bool |
copyStateOnly = false |
|
) |
| |
void Camera::clearState |
( |
| ) |
|
|
virtual |
Device * Camera::clone |
( |
| ) |
const |
|
virtual |
const Image& cnoid::Camera::constImage |
( |
| ) |
const |
|
inline |
void Camera::copyStateFrom |
( |
const Camera & |
other | ) |
|
void Camera::copyStateFrom |
( |
const DeviceState & |
other | ) |
|
|
virtual |
double cnoid::Camera::delay |
( |
| ) |
const |
|
inline |
Time [s] consumed in shooting the current image
double cnoid::Camera::farClipDistance |
( |
| ) |
const |
|
inline |
double cnoid::Camera::fieldOfView |
( |
| ) |
const |
|
inline |
void Camera::forEachActualType |
( |
boost::function< bool(const std::type_info &type)> |
func | ) |
|
|
virtual |
double cnoid::Camera::frameRate |
( |
| ) |
const |
|
inline |
const Image& cnoid::Camera::image |
( |
| ) |
const |
Image & Camera::image |
( |
| ) |
|
bool cnoid::Camera::isImageStateClonable |
( |
| ) |
const |
|
inline |
double cnoid::Camera::nearClipDistance |
( |
| ) |
const |
|
inline |
Image & Camera::newImage |
( |
| ) |
|
bool cnoid::Camera::on |
( |
| ) |
const |
|
inline |
void cnoid::Camera::on |
( |
bool |
on | ) |
|
|
inline |
const double * Camera::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.
int cnoid::Camera::resolutionX |
( |
| ) |
const |
|
inline |
int cnoid::Camera::resolutionY |
( |
| ) |
const |
|
inline |
void cnoid::Camera::setDelay |
( |
double |
time | ) |
|
|
inline |
void cnoid::Camera::setFarClipDistance |
( |
double |
d | ) |
|
|
inline |
void cnoid::Camera::setFieldOfView |
( |
double |
f | ) |
|
|
inline |
void cnoid::Camera::setFrameRate |
( |
double |
r | ) |
|
|
inline |
void Camera::setImage |
( |
boost::shared_ptr< Image > & |
image | ) |
|
Move semantics. If the use_count() of the given shared image 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::Camera::setImageStateClonable |
( |
bool |
on | ) |
|
|
inline |
void cnoid::Camera::setImageType |
( |
ImageType |
type | ) |
|
|
inline |
void cnoid::Camera::setNearClipDistance |
( |
double |
d | ) |
|
|
inline |
void cnoid::Camera::setResolution |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
|
inline |
void cnoid::Camera::setResolutionX |
( |
int |
x | ) |
|
|
inline |
void cnoid::Camera::setResolutionY |
( |
int |
y | ) |
|
|
inline |
boost::shared_ptr<const Image> cnoid::Camera::sharedImage |
( |
| ) |
const |
|
inline |
int Camera::stateSize |
( |
| ) |
const |
|
virtual |
Size of the double-precision floating numbers for representing the state.
Implements cnoid::DeviceState.
const char * Camera::typeName |
( |
| ) |
|
|
virtual |
double * Camera::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.
The documentation for this class was generated from the following files: