Choreonoid
1.5
|
#include <RangeCamera.h>
Public Types | |
typedef std::vector< Vector3f > | PointData |
![]() | |
enum | ImageType { NO_IMAGE, COLOR_IMAGE, GRAYSCALE_IMAGE } |
Public Member Functions | |
RangeCamera () | |
RangeCamera (const RangeCamera &org, bool copyStateOnly=false) | |
virtual const char * | typeName () |
void | copyStateFrom (const RangeCamera &other) |
virtual void | copyStateFrom (const DeviceState &other) |
virtual DeviceState * | cloneState () const |
virtual Device * | clone () const |
virtual void | forEachActualType (boost::function< bool(const std::type_info &type)> func) |
virtual void | clearState () |
int | numPoints () const |
const PointData & | points () const |
const PointData & | constPoints () const |
PointData & | points () |
PointData & | newPoints () |
bool | isOrganized () const |
void | setOrganized (bool on) |
boost::shared_ptr< const PointData > | sharedPoints () const |
void | setPoints (boost::shared_ptr< PointData > &points) |
![]() | |
Camera () | |
Camera (const Camera &org, bool copyStateOnly=false) | |
void | copyStateFrom (const Camera &other) |
virtual int | stateSize () const |
virtual const double * | readState (const double *buf) |
virtual double * | writeState (double *out_buf) const |
void | setImageStateClonable (bool on) |
bool | isImageStateClonable () const |
ImageType | imageType () const |
void | setImageType (ImageType type) |
bool | on () const |
void | on (bool on) |
double | nearClipDistance () const |
void | setNearClipDistance (double d) |
double | farClipDistance () const |
void | setFarClipDistance (double d) |
double | fieldOfView () const |
void | setFieldOfView (double f) |
void | setResolution (int x, int y) |
void | setResolutionX (int x) |
void | setResolutionY (int y) |
int | resolutionX () const |
int | resolutionY () const |
void | setFrameRate (double r) |
double | frameRate () const |
const Image & | image () const |
const Image & | constImage () const |
Image & | image () |
Image & | newImage () |
boost::shared_ptr< const Image > | sharedImage () const |
void | setImage (boost::shared_ptr< Image > &image) |
double | delay () const |
void | setDelay (double time) |
![]() | |
virtual | ~Device () |
void | setIndex (int index) |
void | setId (int id) |
void | setName (const std::string &name) |
void | setLink (Link *link) |
bool | hasStateOnly () const |
const int | index () const |
const int | id () const |
const std::string & | name () const |
const Link * | link () const |
Link * | link () |
Isometry3 & | T_local () |
const Isometry3 & | T_local () const |
Isometry3::ConstLinearPart | R_local () const |
Isometry3::LinearPart | R_local () |
Isometry3::ConstLinearPart | localRotation () const |
Isometry3::LinearPart | localRotaion () |
template<typename Derived > | |
void | setLocalRotation (const Eigen::MatrixBase< Derived > &R) |
Isometry3::ConstTranslationPart | p_local () const |
Isometry3::TranslationPart | p_local () |
Isometry3::ConstTranslationPart | localTranslation () const |
Isometry3::TranslationPart | localTranslation () |
template<typename Derived > | |
void | setLocalTranslation (const Eigen::MatrixBase< Derived > &p) |
double | cycle () const |
void | setCycle (double msec) |
SignalProxy< void()> | sigStateChanged () |
void | notifyStateChange () |
![]() | |
virtual | ~DeviceState () |
![]() | |
virtual | ~Referenced () |
void | addRef () |
void | releaseRef () |
Additional Inherited Members | |
![]() | |
Device () | |
Device (const Device &org, bool copyStateOnly=false) | |
![]() | |
DeviceState () | |
DeviceState (const DeviceState &org) | |
![]() | |
Referenced () | |
Referenced (const Referenced &org) | |
int | refCount () const |
typedef std::vector<Vector3f> cnoid::RangeCamera::PointData |
RangeCamera::RangeCamera | ( | ) |
RangeCamera::RangeCamera | ( | const RangeCamera & | org, |
bool | copyStateOnly = false |
||
) |
|
virtual |
Reimplemented from cnoid::Camera.
|
virtual |
Reimplemented from cnoid::Camera.
|
virtual |
Reimplemented from cnoid::Camera.
|
inline |
void RangeCamera::copyStateFrom | ( | const RangeCamera & | other | ) |
|
virtual |
Reimplemented from cnoid::Camera.
|
virtual |
Reimplemented from cnoid::Camera.
|
inline |
RangeCamera::PointData & RangeCamera::newPoints | ( | ) |
|
inline |
|
inline |
RangeCamera::PointData & RangeCamera::points | ( | ) |
void RangeCamera::setOrganized | ( | bool | on | ) |
void RangeCamera::setPoints | ( | boost::shared_ptr< PointData > & | points | ) |
Move semantics. If the use_count() of the given shared point 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.
|
inline |
|
virtual |
Reimplemented from cnoid::Camera.