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