#include <Sensor.h>
Public Types | |
enum | ImageType { NONE, COLOR, MONO, DEPTH, COLOR_DEPTH, MONO_DEPTH } |
Public Types inherited from hrp::Sensor | |
enum | SensorType { COMMON = 0, FORCE, RATE_GYRO, ACCELERATION, PRESSURE, PHOTO_INTERRUPTER, VISION, TORQUE, RANGE, NUM_SENSOR_TYPES } |
Public Member Functions | |
VisionSensor () | |
Public Member Functions inherited from hrp::Sensor | |
virtual void | clear () |
virtual void | operator= (const Sensor &org) |
virtual void | putInformation (std::ostream &os) |
Sensor () | |
virtual | ~Sensor () |
Public Attributes | |
std::vector< unsigned char > | depth |
double | far |
double | fovy |
double | frameRate |
int | height |
std::vector< unsigned char > | image |
ImageType | imageType |
bool | isEnabled |
bool | isUpdated |
double | near |
double | nextUpdateTime |
int | width |
Public Attributes inherited from hrp::Sensor | |
int | id |
Link * | link |
Vector3 | localPos |
Matrix33 | localR |
std::string | name |
int | type |
Static Public Attributes | |
static const int | TYPE = VISION |
Static Public Attributes inherited from hrp::Sensor | |
static const int | TYPE = COMMON |
Additional Inherited Members | |
Static Public Member Functions inherited from hrp::Sensor | |
static Sensor * | create (int type) |
static void | destroy (Sensor *sensor) |
Definition at line 135 of file hrplib/hrpModel/Sensor.h.
Enumerator | |
---|---|
NONE | |
COLOR | |
MONO | |
DEPTH | |
COLOR_DEPTH | |
MONO_DEPTH |
Definition at line 138 of file hrplib/hrpModel/Sensor.h.
VisionSensor::VisionSensor | ( | ) |
Definition at line 174 of file hrplib/hrpModel/Sensor.cpp.
std::vector<unsigned char> hrp::VisionSensor::depth |
Definition at line 146 of file hrplib/hrpModel/Sensor.h.
double hrp::VisionSensor::far |
Definition at line 143 of file hrplib/hrpModel/Sensor.h.
double hrp::VisionSensor::fovy |
Definition at line 143 of file hrplib/hrpModel/Sensor.h.
double hrp::VisionSensor::frameRate |
Definition at line 143 of file hrplib/hrpModel/Sensor.h.
int hrp::VisionSensor::height |
Definition at line 142 of file hrplib/hrpModel/Sensor.h.
std::vector<unsigned char> hrp::VisionSensor::image |
Definition at line 145 of file hrplib/hrpModel/Sensor.h.
ImageType hrp::VisionSensor::imageType |
Definition at line 144 of file hrplib/hrpModel/Sensor.h.
bool hrp::VisionSensor::isEnabled |
Definition at line 148 of file hrplib/hrpModel/Sensor.h.
bool hrp::VisionSensor::isUpdated |
Definition at line 148 of file hrplib/hrpModel/Sensor.h.
double hrp::VisionSensor::near |
Definition at line 143 of file hrplib/hrpModel/Sensor.h.
double hrp::VisionSensor::nextUpdateTime |
Definition at line 147 of file hrplib/hrpModel/Sensor.h.
Definition at line 139 of file hrplib/hrpModel/Sensor.h.
int hrp::VisionSensor::width |
Definition at line 142 of file hrplib/hrpModel/Sensor.h.